l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Jan 15 11:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Apt vs. Compiling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Apt vs. Compiling

Quoting Robert G. Scofield (scofield@omsoft.com):

> This looks like a fun and easy solution.  But here's a question.  What
> do I do after Step 4 to keep other unstable packages from non-free and
> contrib from being installed?  Is that problem taken care of by
> /etc/apt/preferences?  Or should I remove preferences and then delete
> the references to "unstable" in the sources.list?

It's taken care of by /etc/apt/preferences.  That trickly little stanza
that I suggested for the is, as mentioned, one use of apt's "pinning"
feature, and in particular says "assign priority level 50 to
unstable-branch packages".  Priority 100 is normal, so the net effect of
such a low number is that unstable-branch packages (plus their 
specific dependencies) get pulled down only when you specify 
"-t unstable" explicitly.

I've personally used that trick with great success on my main server,
among other things.  Your machine follows the "testing" track, with only
explicitly specified, as-needed pulls from the "unstable" one.

Debian developers tend to frown when I mention that specific use of
"pinning", since I'm sort of using it in a bass-ackwards fashion,
relative to the usual.  However, it works.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.