From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 03:13:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBCB116A400 for ; Fri, 27 Apr 2007 03:13:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A85A913C457 for ; Fri, 27 Apr 2007 03:13:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 64A741A3C19; Thu, 26 Apr 2007 20:14:08 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D737551441; Thu, 26 Apr 2007 23:13:40 -0400 (EDT) Date: Thu, 26 Apr 2007 23:13:40 -0400 From: Kris Kennaway To: Scott Bennett Message-ID: <20070427031340.GA18571@xor.obsecurity.org> References: <200704270151.l3R1poiC022378@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <200704270151.l3R1poiC022378@mp.cs.niu.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: annoying problems after upgrading to 6.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 03:13:41 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2007 at 08:51:50PM -0500, Scott Bennett wrote: > I've encountered three annoying problems since doing the upgrade from > 6.1-RELEASE to 6.2-RELEASE using the upgrade option when booting from the > installation CD. This is on a Dell Inspiron XPS (3.4 GHz P4 w/HTT enabled > and 1 GB of memory). >=20 > 1) The ports and packages subsystems are as fragile as ever (no big > surprise). I was able to add packages for less than a day before > it broke. Sometimes I can still add or delete a package, but > in at least one case, I can't because pkg_add says that an earlier > version of the package is already installed, while an attempt to > remove the earlier version using pkg_delete gets a message saying > that no such package is installed. Apparently, pkg_add and > pkg_delete do not refer to the same indicators of whether a > particular package is actually installed. Attempting to build ports > fails while trying to build dependency ports, which was what led > to attempt to remove libtool and then add the newer version. I'll > try to get a PR together and submitted soon. It is recommended to use an upgrade tool like portupgrade instead of trying to use pkg_add/pkg_delete "by hand". It is too easy to misuse them and leave your system in an inconsistent state, as yours apparently has become. Kris --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGMWpkWry0BWjoQKURAkkVAJ9wvha6XJpjYLVfEL2yv5MhPh/YmwCgxPCg Uxfqmp633xMmPXCnamZtNZQ= =rCHk -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--