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

Re: Two suggestions for woody release

On Wed, Jan 30, 2002 at 10:44:04AM -0600, Steve Langasek wrote:
> Yes, of course there's apt pin support, but the people we're most
> concerned about not accidentally running unstable are the ones least
> capable of figuring out pin support on their own.  

I don't really understand where you get this idea.  /etc/apt/preferences
is a very simple file.  For example, I want the IMA packages first and
foremost, then testing, then stable, and lastly unstable.  I want to
track galeon/unstable, so I pin up that package plus those that it
depends on.  There may be an easier way to do this.

    Package: *
    Pin: release o=IMA
    Pin-Priority: 750

    Package: *
    Pin: release a=testing
    Pin-Priority: 700

    Package: *
    Pin: release a=stable
    Pin-Priority: 600

    Package: *
    Pin: release a=unstable
    Pin-Priority: 70

    Package: galeon
    Pin: release a=unstable
    Pin-Priority: 998

    Package: mozilla-browser
    Pin: release a=unstable
    Pin-Priority: 998

    Package: libnspr4
    Pin: release a=unstable
    Pin-Priority: 998

    Package: mozilla-psm
    Pin: release a=unstable
    Pin-Priority: 998

    Package: libnss3
    Pin: release a=unstable
    Pin-Priority: 998

If I want to do a one-time install, I remove the specific package pins
and leave the wildcards, then execute the appropriate apt-get line:

    bash$ sudo apt-get install -y \
    > {galeon,mozilla-browser,mozilla-psm,libnspr,libnss3}/unstable

I'm guaranteed to leave unstable alone unless I specifically request
packages.  Apt will continue to fail until I get the depenedencies
right.  If libc6 popped up as a required upgrade, I'd stop.

Of course, I'm a knowledgable Debian user.  This isn't necessarily the
easiest thing for a newbie to do, but do we want newbies screwing around
with this if they can't figure out how to RTFM?  I'd say, "No."

Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie@wookimus.net)

Attachment: pgpNQ5M59OFAz.pgp
Description: PGP signature

Reply to: