From owner-freebsd-ports Fri Jun 21 13:34:16 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by hub.freebsd.org (Postfix) with ESMTP id EB99337B408 for ; Fri, 21 Jun 2002 13:34:07 -0700 (PDT) Received: (qmail 72660 invoked from network); 21 Jun 2002 20:44:57 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 21 Jun 2002 20:44:57 -0000 Message-ID: <3D138D4C.F57EEECF@liwing.de> Date: Fri, 21 Jun 2002 22:32:12 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: conrads@cox.net Cc: freebsd-ports@freebsd.org, Akinori MUSHA Subject: Re: portupgrade suggestion References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 > > 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: 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