Repos.

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Husse
Level 23
Level 23
Posts: 18677
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Repos.

Post by Husse »

This is what I found
The order of repositories in sources.list is only important if you have two reositories with the same packages. Then the first one is used.
Never thought of that....
Perhaps this gives some insight into setting up your own repo
http://ianlawrence.info/random-stuff/se ... repository
Remember you only have a need for this if you want to supply people with some software
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

cmost
Level 4
Level 4
Posts: 435
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Repos.

Post by cmost »

Actually, the order in which the repositories are listed in your sources.list file is irrelevant. If packages are found in more than one repository, then the highest version is preferred (assuming that's how you've configured Apt.)

Husse
Level 23
Level 23
Posts: 18677
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Repos.

Post by Husse »

Thanks cmost - I've never before given it a thought and what I found and mentioned in my answer was for Debian and I assumed it to be the same here (and I don't really know how old that page I found was)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

Post Reply

Return to “Newbie Questions”