LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Update Manager Help with Ubuntu 8.04 (http://www.linuxquestions.org/questions/ubuntu-63/update-manager-help-with-ubuntu-8-04-a-708776/)

MikRose 03-03-2009 03:24 AM

Update Manager Help with Ubuntu 8.04
 
I am dual booting on two hard drives, 8.04 as the primary and XP Home as secondary. I signed up for DSL service about 2 months ago but just realized my Update Manager in Ubuntu is not connecting. Currently it is 65 days old and each time I try to update it gives me the message:

Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/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 (20080423)]/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.

I see some of the other posts with "Failure" messages but not sure how to proceed. Been using Ubuntu for about a year, still a newbie.

tredegar 03-03-2009 09:40 AM

You need to fix up your /etc/apt/sources.list file so apt knows where to look for and fetch updates from.
Here's mine:
Code:

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

deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://gb.archive.ubuntu.com/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://gb.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy universe
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://gb.archive.ubuntu.com/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://gb.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://gb.archive.ubuntu.com/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://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://gb.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://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

## needed to get codecs etc.
deb http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy free non-free

## Ipod stuff
http://ppa.launchpad.net/ipod-touch/ubuntu hardy main

##This is wicd stuff
##http://wicd.sourceforge.net/download.php
deb http://apt.wicd.net hardy extras

# See http://news.softpedia.com/news/Alternative-Installation-Methods-for-Hardy-86977.shtml
# this is the repository for liveusb
deb http://ppa.launchpad.net/probono/ubuntu hardy main


MikRose 03-03-2009 03:37 PM

Thanks tredegar, I will begin the process of restoration...pray for me.

tredegar 03-03-2009 07:01 PM

I don't need (thankfully) to "pray" for you.
Just replace your /etc/apt/sources.list with mine.
Then reboot or restart apt-whatever-gets-the-updates.

MikRose 03-06-2009 05:56 PM

OK, hope the thought of praying didn't offend you! To a relative Newbie like me, your 3130 character solution seems a little dizzying at first glance. If it meant copying and pasting to the /etc/apt/sources.list file, great, but I get a little gun shy. So first I decided to simply re-start Linux and click on the Recovery Mode for my kernel, which took care of the issue. If this is what would have happened with your solution...Thanks again, you're in my prayers.

MikRose 03-10-2009 03:46 AM

Thanks tredegar...I thought my restart worked but wrong again! I deleted my /etc/apt/sources.list file and copied and pasted yours, but still nothing. Then I looked in Package Manager and changed my repositories from US Only to Main Server and that let all the updates load. Not sure what or why, but now updates says UPDATED and not 72 days old! Why did the file get corrupted in the first place...is it because I changed from dial-up to dsl? Thanks again.

tredegar 03-10-2009 01:56 PM

I don't know how your file became corrupted, but you seem to have it working now.


All times are GMT -5. The time now is 06:16 PM.