PDA

View Full Version : [SOLVED] Add Live CD repositories via terminal?



avatarmonkeykirby
February 22nd, 2011, 02:42 AM
I regularly break my Ubuntu installations, and usually find ways to fix them by booting into the live disk. This time I broke the gui and don't have any network. How do I add the CD repositories so I can "apt-get" from the live disk?

mikewhatever
February 22nd, 2011, 02:47 AM
Try sudo apt-cdrom add - more info on what it does in 'man apt-cdrom'.

avatarmonkeykirby
February 22nd, 2011, 03:05 AM
sudo apt-cdrom add -a
sudo aptitude update


thanks mike =]