Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 22:32:12 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        conrads@cox.net
Cc:        freebsd-ports@freebsd.org, Akinori MUSHA <knu@freebsd.org>
Subject:   Re: portupgrade suggestion
Message-ID:  <3D138D4C.F57EEECF@liwing.de>
References:  <XFMail.20020621142455.conrads@cox.net>

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


Conrad Sabatier wrote:
> 
> OK, on two occasions now, I've been burned by portupgrade.  First when
> doing a "portsclean -C", when I assumed that held packages would not have

Do you use the /usr/local/etc/pkgtools.conf to specify the packages to hold?
Than look:

-f | --force                Force the upgrade of a package even if it is to be
                            a downgrade or just a reinstall of the same ver-
                            sion, or the port is held by user using the
                            HOLD_PKGS variable in pkgtools.conf.

> their work dirs cleaned, and then again, when I did a "portupgrade -f" on a
> number of packages, and a held package was included in the list
> accidentally, both times resulting in the loss of some customizations I had
> done.

Ever save your configuration before using portupgrade.

> 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 ...

Jens

> Seems this would be a useful thing to have.
> 
> --
> Conrad Sabatier <conrads@cox.net>
> 
> Klein bottle for sale ... inquire within.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message

-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                  gggg    06112 Halle
                                     g
                                 g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/

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?3D138D4C.F57EEECF>