Putting Repository DVD's on sources.list

I ordered eight DVD's with Ubuntu 10.4,
and now I can not add them to the sources.list, can you help please?

Thanks in advance for the help.


Putting Repository DVDs on Sources.list

There are several ways to add a DVD/CD to your repository list:

"KPackageKit" and "Adept"

Kubuntu's built-in package managers seem to have difficulties with adding CD/DVD ROMs to the list of available system packages. Try using the "Terminal" solution.


Open Synaptic Package Manager (System > Administration > Synaptic Package Manager). Enter the administrative password. From the menu: Settings > Repositories. Click the Third Party Software tab. Click the Add CD-ROM... button and follow the clearly written instructions in each dialog box. Repeat until all your media (DVDs, CDs) have been entered.

If Synaptic fails, try the following.

"It's Terminal"

Open a Terminal (Applications > Accessories > Terminal) and enter the following command:

sudo apt-cdrom add

Insert the first disc and follow the instructions (it will ask you to name each disc). When apt-cdrom is finished with the disc, eject it with


(yeah, just type it in and hit Enter) and insert the next and use the same command. Repeat the process per disc.

Once the last disc is done, enter this code in the Terminal:

sudo apt-get update

followed by

sudo apt-get upgrade

which will update your system if any newer files are available. You can now open Synaptic Package Manager to use tens of thousands of packages.

-- taken from:
How to make your own Ubuntu Repository DVDs