Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 20:24:24 -0500 (CDT)
From:      Conrad Sabatier <conrads@cox.net>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        Akinori MUSHA <knu@FreeBSD.ORG>, freebsd-ports@FreeBSD.ORG
Subject:   Re: portupgrade suggestion
Message-ID:  <XFMail.20020622202424.conrads@cox.net>
In-Reply-To: <3D138D4C.F57EEECF@liwing.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 21-Jun-2002 Jens Rehsack wrote:
> 
> Conrad Sabatier wrote:
> 
> Do you use the /usr/local/etc/pkgtools.conf to specify the packages to
> hold?

Well, yes, of course.  That's what I was referring to, "held" packages.

> Than look:
> 
> -f | --force                Force the upgrade of a package even if it is

Right, but I assumed that, say, portsclean wouldn't touch a held package. 
I was wrong.

> Ever save your configuration before using portupgrade.

Granted, part of this was just "bad housekeeping" on my part.  I should
have made sure to save my customizations somewhere before doing anything.

>> Is there any chance of adding a switch or some other sort of
>> functionality that will tell portupgrade and friends that "I *really*
>> want this package held; don't touch it under any circumstances"?
> 
> Yes: "portupgrade x" instead "portupgrade -f x", because -f tells
> portupgrade to force your wish against everything else it knows ...

Right, I understand all of the above.  I *still* think it would be nice to
be able to tell portupgrade not to do *anything* with certain packages,
even with the -f switch.

Bit of background: the way one of these unfortunate incidents occurred was
when I did a "portupgrade -f" on an auto-generated list of installed
packages whose names had changed (for example from foo-gtk-gnome to just
foo-gnome).  One of my held packages was included in the list, and bingo! 
All my changes gone.  Grrrr!

-- 
Conrad Sabatier <conrads@cox.net>

Distinctive, adj.:
        A different color or shape than our competitors.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020622202424.conrads>