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

Thread: Can't do Update

  1. #1
    Join Date
    May 2007
    Beans
    59

    Can't do Update

    I am running ubuntu V8.04 and in an update tray there are some updates available, but it wouldn't do it. I got the error message below.

    Note: I don't have a network problem, and can browse the Internet fine.




    Could not download all repository indexes

    The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.




    Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/dists/hardy/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/dists/hardy/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Some index files failed to download, they have been ignored, or old ones used instead.

  2. #2
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't do Update

    Try changing Servers

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  3. #3
    Join Date
    May 2007
    Beans
    59

    Re: Can't do Update

    I tried some other sources, but didn't work either. Can't figure it out.

    Thanks,

  4. #4
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't do Update

    Post your /etc/apt/sources.list.

  5. #5
    Join Date
    May 2007
    Beans
    59

    Re: Can't do Update

    I apologize, but what do you mean. Do you want me post the source where updates get downloaded. If it is then see below


    http://ftp.utexas.edu/ubuntu

  6. #6
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't do Update

    Click on Applications>Accessories>Terminal to open a terminal, then type

    Code:
    cat /etc/apt/sources.list
    Please post the output here.

  7. #7
    Join Date
    Jun 2007
    Location
    Melbourne, Australia
    Beans
    1,171

    Re: Can't do Update

    Quote Originally Posted by azhar-teza View Post
    I apologize, but what do you mean. Do you want me post the source where updates get downloaded. If it is then see below


    http://ftp.utexas.edu/ubuntu
    Post the file /etc/apt/sources.list. In other words, the output from
    Code:
    cat /etc/apt/sources.list

  8. #8
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Can't do Update

    It looks like you didn't have the installation CD inserted when you tried to do the update. Either insert the CD from the original installation or open synaptic > Settings > Repositories, Ubuntu software and uncheck the Cdrom in the window at the bottom.

  9. #9
    Join Date
    May 2007
    Beans
    59

    Re: Can't do Update

    Below is the requested information.


    cat /etc/apt/sources.list
    #
    deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted

    deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://ftp.utexas.edu/ubuntu/ hardy main restricted
    deb-src http://ftp.utexas.edu/ubuntu/ hardy main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://ftp.utexas.edu/ubuntu/ hardy-updates main restricted
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://ftp.utexas.edu/ubuntu/ hardy universe
    deb-src http://ftp.utexas.edu/ubuntu/ hardy universe
    deb http://ftp.utexas.edu/ubuntu/ hardy-updates universe
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://ftp.utexas.edu/ubuntu/ hardy multiverse
    deb-src http://ftp.utexas.edu/ubuntu/ hardy multiverse
    deb http://ftp.utexas.edu/ubuntu/ hardy-updates multiverse
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    # deb http://archive.canonical.com/ubuntu hardy partner
    # deb-src http://archive.canonical.com/ubuntu hardy partner

    deb http://ftp.utexas.edu/ubuntu/ hardy-security main restricted
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-security main restricted
    deb http://ftp.utexas.edu/ubuntu/ hardy-security universe
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-security universe
    deb http://ftp.utexas.edu/ubuntu/ hardy-security multiverse
    deb-src http://ftp.utexas.edu/ubuntu/ hardy-security multiverse
    aali@HOMEPCUBU:~$

  10. #10
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't do Update

    I agree with drs305. Since you have a working internet connection, you probably don't need to be looking for packages off a cdrom. Therefore,
    Code:
    gksu gedit /etc/apt/sources.list
    Put a pound sign (#) in front of the two lines containing the word 'cdrom', so they look like this:

    Code:
    #deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted
    
    #deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted
    Save and exit. Then, to make apt aware of the change,

    Code:
    sudo apt-get update
    Then see if updating packages works.

Page 1 of 2 12 LastLast

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
  •