From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 06:38:32 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 A469E16A401 for ; Fri, 27 Apr 2007 06:38:32 +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 8662913C455 for ; Fri, 27 Apr 2007 06:38:32 +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 544801A4D87; Thu, 26 Apr 2007 23:38:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A5BA6513C5; Fri, 27 Apr 2007 02:38:31 -0400 (EDT) Date: Fri, 27 Apr 2007 02:38:31 -0400 From: Kris Kennaway To: Scott Bennett Message-ID: <20070427063831.GA21999@xor.obsecurity.org> References: <200704270430.l3R4UK4q025284@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <200704270430.l3R4UK4q025284@mp.cs.niu.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, kris@obsecurity.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 06:38:32 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2007 at 11:30:20PM -0500, Scott Bennett wrote: > On Thu, 26 Apr 2007 23:13:40 -0400 Kris Kennaway > wrote: >=20 > >Mime-Version: 1.0 > >Content-Disposition: inline > >User-Agent: Mutt/1.4.2.2i > > > > > >--BOKacYhQ+x31HxR3 > >Content-Type: text/plain; charset=3Dus-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 ena= bled > >> and 1 GB of memory). > >>=3D20 > >> 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 por= ts > >> 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 >=20 > portinstall/portupgrade had failed to install/upgrade certain ports = or > packages to satisfy the dependencies in the ports I was trying to install= or > upgrade. I really did want to install or upgrade several ports, and so I= had > begun attempting to install the required (or later) versions of the > prerequisites as packages in order to get around the build failures. It sounds like you may not have succeeded in first bringing your system back to a sane state. Anyway, if you have problems please be more explicit here. > >them and leave your system in an inconsistent state, as yours > >apparently has become. >=20 > That sounds to me like an attempt to skate past my observation that > "Apparently, pkg_add and pkg_delete do not refer to the same indicators of > whether a particular package is actually installed." Well, they don't...please paste an appropriate transcript if you think there is a bug. > BTW, it is recommended that plain, ASCII text be posted to mailing > lists, so as not to send lots of garbage to people who may or may not be > using MIME-oriented mail interfaces or using MIME-oriented mail interfaces > whose version of MIME is incapatible with that of the sender's mail inter= face. Uh thanks. Read up on "PGP signatures" sometime. Kris --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGMZpnWry0BWjoQKURAvJ3AKCgd4icbHqQDCTALWZiIhyV7i1KRwCdEvHx hprMUzPT62J6QjsEnpC4PhA= =IBUj -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--