Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 01:35:19 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        karl agee <kdagee@attglobal.net>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: removing old versions of packages
Message-ID:  <20020728013147.U75491-100000@earl-grey.cloud9.net>
In-Reply-To: <1027803115.317.8.camel@enterprise.workgroup>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Jul 2002, karl agee wrote:
> let's say I have two versions of a package, like acrobat reader installed.  Can I simply use pkg_delete to remove the old one w/o affecting the new one????
> --karl

I've often wondered about this too, since with FreeBSD it doesn't seem
intuitive how to upgrade and not have extra stuff around.  You know that
pkg_add [-r] also installs dependencies, so I'd imagine pkg_delete would
know about them.  You may want to use pkg_info first, pkg_delete the old
one exactly by name, then if the one you intend to keep is harmed in any
way, simply `pkg_add -rf` to re-add the package forcibly.

Also, if it's just a binary, sometimes it's as simple as doing a `rm -rf
directory_name_here` but that might leave behind conf and .rc files and
stuff in your /etc/ folder for all I know.

Cheers,
--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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?20020728013147.U75491-100000>