Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 11:58:46 +0100
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Brent <brent@kearneys.ca>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: upgrading ports packages
Message-ID:  <19991121115846.D48139@daemon.ninth-circle.org>
In-Reply-To: <Pine.BSF.4.21.9911202327110.5602-100000@ThePalace.kearneys.ca>
References:  <Pine.BSF.4.21.9911202327110.5602-100000@ThePalace.kearneys.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [19991121 10:52], Brent (brent@kearneys.ca) wrote:
>
>If I CVSup'd my ports tree, and there are new versions of software I have
>installed, what is the best way to upgrade?  Will "make install" just
>overwrite the old version?  
>
>"make deinstall" won't work, because the versions are different.

ls /var/db/pkg will show the registered packages.

pkg_delete [name from /var/db/pkg]  will deinstall the package.

Then you can install the new one.

-- 
Jeroen Ruigrok van der Werven/Asmodai                  asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
Network/Security Specialist        BSD: Technical excellence at its best
Learn e-mail netiquette: http://www.lemis.com/email.html
Quoth the raven, "Nevermore!"


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




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