Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Download 13.2 iso when it appears in the repo.

  1. #1

    Default Download 13.2 iso when it appears in the repo.

    Hi all,
    I know most of you already have the iso for 13.2 but for the rest of us that do not have the iso here is an example of downloading it without user intervention. ( i hope )

    First you need to start the atd daemon if it is not running.
    Run the command as root or using your favorite sudo utility.

    Code:
    systemctl start atd.service
    Install ariac2 if it is not installed.
    Code:
    zypper in aria2c
    As a normal user download the script

    Code:
    curl -s http://paste.opensuse.org/view/raw/46748854 > "$HOME/bin/myscript"
    Make it executable

    Code:
    chmod u+x "$HOME/bin/myscript
    Check http://counter.opensuse.org and adjust the time according to your time zone.

    Code:
    at -f "$HOME/bin/myscript" now +10 hours
    That at command will run myscript 10 hours from now, it is wise not make the exact time for release since the script itself will continue to check the availability of the iso in the repo ( assuming my repo link for the iso is correct though ) give it an hour advance ie if the release is in 10 hours give it 9 hours.

    The script will create a directory in ~/Downloads and will put that iso in that directory.
    You can check the progress once it is started by running tail on the logfile

    Code:
    tail -f "$HOME/13.2/log.txt"
    For KDE users a dialog box should appear on the Desktop once the dowload is done. I know some torrent client can do what i am trying to achieve but i use aria2c to download the iso. Also since it is a one time run only i did not use cron for the job.

    I hope some folks might find it useful.
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,373
    Blog Entries
    3

    Default Re: Download 13.2 iso when it appears in the repo.

    Quote Originally Posted by jetchisel View Post
    I know most of you already have the iso for 13.2 ...
    Actually, I think most people don't have it.

    Apparently forum moderators were given an early download link.

    People who were monitoring OpenQA and made a good guess might have found the link.

    Most people here are in neither of those categories.

    ... but for the rest of us that do not have the iso here is an example of downloading it without user intervention.
    LOL.

    I'll just start a download manually. I don't need to automate it.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3

    Default Re: Download 13.2 iso when it appears in the repo.

    > I'll just start a download manually. I don't need to automate it.

    Well the rest of us does not have time to check every minute/hour if the iso is already available, or if the release will be 01:00 in the morning in your timezone.
    Lucky you i guess
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,373
    Blog Entries
    3

    Default Re: Download 13.2 iso when it appears in the repo.

    If I'm not available to start the download, then I'm also not available to make use of it after downloading. And I'll have plenty of other things to do in the period between downloading and using the downloaded iso.

    On my laptop, I'll need to first backup then repartition, because my "/boot" is a bit on the small side.

    And if I'm a day late downloading -- well, life goes on.
    openSUSE Leap 15.1; KDE Plasma 5;

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,652

    Default Re: Download 13.2 iso when it appears in the repo.

    Quote Originally Posted by jetchisel View Post
    > I'll just start a download manually. I don't need to automate it.

    Well the rest of us does not have time to check every minute/hour if the iso is already available, or if the release will be 01:00 in the morning in your timezone.
    Lucky you i guess
    Do you really NEED it the moment it is released. LOL So sad Have to have the shinny shinny

  6. #6
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Download 13.2 iso when it appears in the repo.

    Quote Originally Posted by nrickert View Post
    LOL.

    I'll just start a download manually. I don't need to automate it.
    Yep. Same here. No need to try to download it the instant it comes out, it can wait a half day or a day or two.

    Besides, if everybody were to automate it to the same time-frame, it would probably bog the servers down drastically.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  7. #7

    Default Re: Download 13.2 iso when it appears in the repo.

    Quote Originally Posted by gogalthorp View Post
    Do you really NEED it the moment it is released. LOL So sad Have to have the shinny shinny
    yes i do need it. shinny shinny

    And sorry if i have offended some of you with my script, shinny shinny ....
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Download 13.2 iso when it appears in the repo.

    On 2014-11-04 06:36, Fraser Bell wrote:
    >
    > nrickert;2672704 Wrote:
    >>
    >> LOL.


    LOL, yes. I do like the idea, if only for the shake of using "at" for
    something useful :-)


    >> I'll just start a download manually. I don't need to automate it.

    >
    > Yep. Same here. No need to try to download it the instant it comes
    > out, it can wait a half day or a day or two.


    It takes two days at least, for me to complete the download, with my
    internet connection.


    > Besides, if everybody were to automate it to the same time-frame, it
    > would probably bog the servers down drastically.


    They should be prepared :-P

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  9. #9

    Default Re: Download 13.2 iso when it appears in the repo.

    On 11/03/2014 10:26 PM, nrickert wrote:
    >
    > If I'm not available to start the download, then I'm also not available
    > to make use of it after downloading. And I'll have plenty of other
    > things to do in the period between downloading and using the downloaded
    > iso.
    >
    > On my laptop, I'll need to first backup then repartition, because my
    > "/boot" is a bit on the small side.
    >
    > And if I'm a day late downloading -- well, life goes on.
    >
    >


    +1

    Ken

  10. #10
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Download 13.2 iso when it appears in the repo.

    Quote Originally Posted by jetchisel View Post
    yes i do need it. shinny shinny

    And sorry if i have offended some of you with my script, shinny shinny ....
    You haven't, I think...

    Cool script. But, there is always the need to poke fun, correct?
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •