Skip site navigation (1)Skip section navigation (2)
Date:      27 May 1999 21:49:42 +0200
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: Right way to upgrade a port
Message-ID:  <7ik7km$c6l$1@mips.rhein-neckar.de>
References:  <XFMail.990526152048.cpiazza@home.net> <19990526171236.F917@fisicc-ufm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Oscar Bonilla <obonilla@fisicc-ufm.edu> wrote:

> I know! I've been bitten by it in the past. That's why I was posting.
> Maybe there should be an option (upgrade?) in the package/ports system
> that would do both, i mean deleting the old package without worring
> about dependencies and installing the new version... just a thought.

Move the /var/db/pkg/<port>/+REQUIRED_BY file to a safe place,
pkg_delete the port, install the new version, move +REQUIRED_BY back.

Note that if the port has sufficiently changed, the other ports
depending on it will then be *broken*.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de
  >H Deutsche Transhumanismus-Mailingliste
    echo 'subscribe trans-de' | mail majordomo@lists.rhein-neckar.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?7ik7km$c6l$1>