How To Configure Apt Sources.List - For Complete Newbies
How To Configure Apt Sources.List - For Complete NewbiesSo you were playing with your Apt sources.list and somehow ruined it. No matter how hard you try you cannot get it back. Every time you try to install a package you get error messages. Now what? Don't despair ... I've been there and found an easy answer: The Aptitude Source-O-Matic: http://www.ubuntu-nl.org/source-o-matic/ All you have to do is go there, fill out three boxes and a new sources.list will be created for you. Here is how to use it. Copy the new sources.list to your clipboard. Back up your current sources.list, make a new one and start editing.
sudo mv /etc/apt/sources.list /etc/apt/sources.list.old Hit i (for insert). Right click with your mouse button and the contents of your clipboard should appear. [ESC]wq to save your changes. Update your sources afterwards: sudo apt-get update Hopefully all will now go well. Of course you could always download your new sources.list and ftp, ssh, scp ... it to your box but sometimes an SSH shell from a windows box is what we have to work with.
|






Recent comments
3 hours 33 min ago
4 hours 48 min ago
5 hours 31 min ago
5 hours 59 min ago
13 hours 25 min ago
16 hours 55 min ago
19 hours 45 min ago
1 day 21 min ago
1 day 1 hour ago
1 day 2 hours ago