June 13, 2008

Ubuntu DVD as Repositories Source

few days ago I've Upgraded my 'ubuntu Gutsy' to new 'ubuntu Heron' form DVD,
but I face a problem that the system ask me to insert the DVD when I install some applications,
unfortunately my DVD lost and I've no way install my Application without it, But There was a solution I've know just now.

and that is it:

------- FROM bash ----------------
1. su - (to login as adminstrator, you will need to have root password)
2. nano /etc/apt/sources.list
3. Find the Line with "deb cdrom:[<Distro Desc>]"
if this line commented, then you currently not use the DVD as Repositories Source

(In My Case, It wasn't commented, so I add '#' before it to disable DVD as Source)

------- FROM Synaptic ---------------
1. Setting => Repositories
2. from tab "Ubuntu Software" you can Select the CD-DVD listed in the lower box to Enable the Use of CD-DVD as repository source and press close
3. Press 'Ctrl+R' to reload the packages Information and apply you changes


Hope this help you , and Thanks Naquip