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

Re: apt and priorities



On Fri, May 28, 2004 at 11:56:57PM -0500, Casey Boone wrote:
> ok i have sources.list set up like such:
> rpm http://rpm.livna.org/ fedora/2/i386 stable unstable testing
> rpm-src http://rpm.livna.org/ fedora/2/i386 stable unstable testing
> 
> rpm http://ftp.silug.org/pub/apt fedora/2/i386 os updates
> rpm-src http://ftp.silug.org/pub/apt fedora/2/i386 os updates
> 
> rpm http://apt.kspei.com fedora/2/i386 kspei
> rpm-src http://apt.kspei.com fedora/2/i386 kspei

You're missing fedora.us stable in there.  That could all be
simplified to the following:

rpm http://rpm.livna.org fedora/2/i386 stable unstable testing
rpm-src http://rpm.livna.org fedora/2/i386 stable unstable testing

rpm http://apt.kspei.com fedora/2/i386 os updates stable kspei
rpm-src http://apt.kspei.com fedora/2/i386 os updates stable kspei

> i know that there aren't any fc2 packages in the kspei repository yet, but 
> how do i set it so that kspei packages are of a lower priority than other 
> packages, particularly core os packages?

Not that it is ever going to be a problem (with my packages at least),
but you probably want /etc/apt/preferences looking like this:

Package: *
Pin: release c=os
Pin-Priority: 993

Package: *
Pin: release c=stable
Pin-Priority: 992

Package: *
Pin: release c=kspei
Pin-Priority: 991

(That's actually what I have on my system right now.)

More importantly, that makes my packages take precedence over any
other third-party repositories (like freshrpms).  :-)

If you are going to use livna's unstable and testing, you should
probably add a c=testing at 991 and bump the rest of the Pin-Priority
lines up one.

Oh, and the kspei repository will have packages fairly soon.  I'm
going to rebuild everything when I get some time.  I'm deploying a
"production" FC2 box next week...

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.