Depends which distro you're using (and which package manager at that). For Debian-based distributions, the apt-get repositories list is in /etc/apt/sources.list. Simply add urls that you want (you can find some at www.apt-get.org) .
If you're not using apt-get, well you'll just have to elaborate. ;)
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
OK, what you'll want to do is add a few repositories from apt-get.org, however the site seems to be down at the moment.
In the meantime, check out the packages at http://www.debian.org/distrib/packages and download any .debs if you want to install a particular package. To install a .deb file, simply use the following syntax on the command line:
dpkg --install file.deb
Hope this helps
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
Alright, I think this all helps... but what about the synaptic pkg manager? Doesn't that update my repositories itself? OR could it?
Synaptic Package Manager is basically a fancy GUI for apt-get. It does everything that apt-get can do, but you might want to try it and see if it automatically updates everything. And yes itcan update repostiories.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
google for "sources.list ubuntu" (or whatever dist you have) theres loads of sample ones on the net you can cut and paste
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
i have debian etch i can give you a sources.list (set up for UK based mirrors with all debian repositories and security updates). Hint, dont use synaptic to modify sources.list, edit it by hand and it will get less mashed up
here is my sources.list
after copying this sources.list to /etc/apt you must do apt-get update and check for errors
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
yeah sorry i had some trouble booting the machine i was going to get the sources.list from - yours looks good thats pretty much the standard file. but where it says:
main contrib
you may want to change it to:
main contrib non-free
this will allow non GPL things like Nvidia Drivers and Java
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
i noticed an error here, etch (testing) now has its own security updates. change stable to testing in this line - you should add "non-free" so it looks like this
deb http://security.debian.org/ stable/updates main contrib non-free
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600