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 this

Repos.

Postby Surreal Killa on Sat Apr 19, 2008 7:50 am

Does it matter which order repos are listed in sources.list? For example if the same version of a package is found in two different repos which does it download from? The first or the last listed?

Also, how does one go about setting up their own repo?
Surreal Killa
Level 1
Level 1
 
Posts: 24
Joined: Sat Mar 01, 2008 9:15 am
Location: Melbourne, Victoria, Australia.

Linux Mint is funded by ads and donations.
 

Re: Repos.

Postby Husse on Sat Apr 19, 2008 8:23 am

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
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Repos.

Postby cmost on Sat Apr 19, 2008 9:25 pm

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.)
cmost
Level 4
Level 4
 
Posts: 398
Joined: Tue Sep 18, 2007 7:36 am
Location: Newport, Kentucky

Re: Repos.

Postby Husse on Sun Apr 20, 2008 7:02 am

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
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Newbie Questions

Who is online

Users browsing this forum: franceis, petrapetra, tdockery97 and 34 guests