[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: duplicate packages found via sources.list



On Mar 28 14:40, Ron Peterson wrote:
> What happens if multiple URI's in sources.list can be used to find a
> particular package?  Does the first one win?  What if you find the same
> package twice, but different versions?  Is there a way to say 'apt-get
> install <package> most-recent'?
> 
> In my case, I want to install the most recent kdebase.  I have URI's to
> both the debian and kde packages in my sources.list.  Ivan's kde
> packages are more recent, and are the ones I want to use.  Do I need to
> comment out everything but the KDE URI in sources.list?  What's the
> 'proper' way to handle this situation?
> 

The newest version will always be preferred and if the same version 
of the package is found in several URI's, the URI that comes first
in the sources.list file will be used.

-- 
* John Ericson john@john.pp.se
* ICQ: 7325429 JID: high@jabber.org
* web: http://john.pp.se



Reply to: