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. |
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 |
Thanks tredegar, I will begin the process of restoration...pray for me.
|
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. |
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.
|
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.
|
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 11:04 PM. |