LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Updating software in Ubuntu 11.1 --make this CD-ROM recognized by APT (https://www.linuxquestions.org/questions/linux-software-2/updating-software-in-ubuntu-11-1-make-this-cd-rom-recognized-by-apt-916059/)

unome 11-28-2011 02:52 PM

Updating software in Ubuntu 11.1 --make this CD-ROM recognized by APT
 
The following error messages occur when I run the update manager, how do i find and use apt-cdrom in 11.10? Looks like I need the system to recognize my CD, I've searched Around and cannot find info.

"Failed to download repository information"

DETAILS:
W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)/dists/oneiric/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, E:Some index files failed to download. They have been ignored, or old ones used instead.

kasl33 11-28-2011 07:00 PM

If you're trying to update Ubuntu, the CD won't help you unless you are updating from a previous version - however you'd be better off updating through the network.

Anyhow, if you are just trying to do normal system updates, follow these steps:

Code:

sudo nano -w /etc/apt/sources.list
Comment out (using the # symbol) any line that has CD ROM in it (usually at the top of the list)

After that, update your sources and update your software:

Code:

sudo apt-get update; sudo apt-get upgrade


All times are GMT -5. The time now is 04:29 PM.