Results 1 to 7 of 7

Thread: help with rsync .iso

  1. #1
    Join Date
    May 2007
    Location
    Townsville, Australia
    Beans
    1,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    Question help with rsync .iso

    i downloaded an iso of karmic 9.10 386 iso a few days ago and now i want to rsyc it to get the latest files

    so i followed the instructions here

    https://help.ubuntu.com/community/RsyncCdImage

    basically i fired up shell and went to the directory i have got the iso saved in to and ran copy/paste this

    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso


    when i do this i get this out put

    receiving file list ...
    1 file to consider
    -rw-rw-r-- 731252736 2009/09/30 05:40:02 karmic-desktop-i386.iso

    sent 115 bytes received 82 bytes 43.78 bytes/sec
    total size is 697.38M speedup is 3711942.82

    now what???
    is that it??
    is there any thing else for me to do or is it all up to date?
    Ubuntu user # 16304 www.nocleanfeed.com
    If someone asks you to sudo rm -rf anything, don't do it, and don't run any command with rm in it unless you know exactly what you're doing.things i have learnt changing from Xp pro to Ubuntu

  2. #2
    Join Date
    Jun 2006
    Beans
    2,930

    Re: help with rsync .iso

    I would check the md5sum, but that should be all. Like the page says, rsync only updates the changes and the changes are pretty small between updates.
    Support 7z in default installs!!!: Click Here

    How to use code blocks to post command output: Click Here
    Official Ubuntu Documentation

  3. #3
    Join Date
    May 2007
    Location
    Townsville, Australia
    Beans
    1,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: help with rsync .iso

    Quote Originally Posted by lavinog View Post
    I would check the md5sum, but that should be all. Like the page says, rsync only updates the changes and the changes are pretty small between updates.
    the md5 sum is different

    if i type this in to shell i get
    md5sum karmic-desktop-i386.iso

    9115da558cb90b0c0ba994b02cc51b65

    if i look at the md5sum for the iso from the web site i get this
    c07bc8085ab72e25b9372db4a2f6f784 *karmic-desktop-i386.iso
    Ubuntu user # 16304 www.nocleanfeed.com
    If someone asks you to sudo rm -rf anything, don't do it, and don't run any command with rm in it unless you know exactly what you're doing.things i have learnt changing from Xp pro to Ubuntu

  4. #4
    Join Date
    May 2007
    Location
    Townsville, Australia
    Beans
    1,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: help with rsync .iso

    out of interest i created a new directory and if i go in to the directory via shell and run this

    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso


    i get this output

    receiving file list ...
    1 file to consider
    -rw-rw-r-- 731252736 2009/09/30 05:40:02 karmic-desktop-i386.iso

    sent 115 bytes received 82 bytes 43.78 bytes/sec
    total size is 697.38M speedup is 3711942.82


    so clearly the rsync command is doing nothing to update my pc. surely there is more to it then this
    Ubuntu user # 16304 www.nocleanfeed.com
    If someone asks you to sudo rm -rf anything, don't do it, and don't run any command with rm in it unless you know exactly what you're doing.things i have learnt changing from Xp pro to Ubuntu

  5. #5
    Join Date
    Jun 2008
    Beans
    301
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: help with rsync .iso

    hey again, if you read the website carefully you will see there is a subtle difference.

    here is there command:
    Code:
    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso .
    here is your command:
    Code:
    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso
    almost identical, the problem with yours is you are missing the . on the end of the command, now in this case that is actually the destination for the saved file, because as you may know "." means your current directory so.
    Code:
    cd ~/Desktop/
    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso .
    the first will change to the desktop, and the second will download the iso to the folder . which you can find what . is by using
    Code:
    pwd
    and it will tell you(for me):
    Code:
    $ pwd
    /home/nick/Desktop
    you can equally put:
    Code:
    rsync -zhhP rsync://cdimage.ubuntu.com/cdimage/daily-live/current/karmic-desktop-i386.iso ~/Desktop/
    if you find the . notation unclear.

    so basically: you forgot the destination parameter so when rsync gets the information off the server about which files it needs to copy, it gets that and then finishes because there is no more locations to download them to.

    ps: congrats on getting the evolution thing to work hopefully it wont cause you anymore issues

  6. #6
    Join Date
    May 2007
    Location
    Townsville, Australia
    Beans
    1,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: help with rsync .iso

    ah ha!!!

    just a small

    .


    makes the world of difference!!

    THANKS!!

    ps...

    im glad i got my evolution email sorted too

    i was damn near in tears last night cos the backup was not working and giving me issues i thought i had 2 hdd's dies at once

    lucky it wasnt the case
    Ubuntu user # 16304 www.nocleanfeed.com
    If someone asks you to sudo rm -rf anything, don't do it, and don't run any command with rm in it unless you know exactly what you're doing.things i have learnt changing from Xp pro to Ubuntu

  7. #7
    Join Date
    Nov 2009
    Beans
    21

    Re: help with rsync .iso

    I was having problems with the rsync command as well. I setup a folder for the images I wanted to test I would cd to that directory and try the command without the trailing .

    will this work for updating ubuntu-9.10-desktop-amd64.iso with the daily lucid images? or do I need to download a different iso if so which iso?

Bookmarks

Posting Permissions

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