PDA

View Full Version : [all variants] How do I add packages to source list?



hardysummer
December 12th, 2008, 02:19 AM
I got the Server version installed, but would like to install some packages from other Ubuntu distributions. I have added the distribution with "sudo apt-cdrom add" and it shows up in my /etc/apt/source.list.

However, when I try to install some packages that are in the CD, apt is not locating it.

albinootje
December 12th, 2008, 02:41 AM
Perhaps you forgot to do : sudo apt-get update

hardysummer
December 12th, 2008, 10:39 PM
I did that and it still tells me that there is "no such package but referred to by another" and "no installation candidate" or something like that.

albinootje
December 12th, 2008, 11:33 PM
Can you show us the output of :
sudo apt-get install mc

The error-message you've just posted look like error-messages about packages that don't exist on the cdrom.

hardysummer
December 12th, 2008, 11:41 PM
Reading package lists...
Building dependency tree...
Reading state information...
E: Couldn't find package mc