From owner-freebsd-ports Wed Jan 16 1: 6:13 2002 Delivered-To: freebsd-ports@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 89DC437B419 for ; Wed, 16 Jan 2002 01:06:07 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g0G966p63776 for freebsd-ports@freebsd.org; Wed, 16 Jan 2002 10:06:06 +0100 (CET) (envelope-from stijn) Date: Wed, 16 Jan 2002 10:06:06 +0100 From: Stijn Hoop To: freebsd-ports@freebsd.org Subject: portupgrade remarks Message-ID: <20020116100606.D19145@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I was just upgrading my ports with portupgrade, and ran into the following weirdness: while upgrading security/sudo to 1.6.4.1, I saw an error flash by at install time. Luckily I ran portupgrade like this: portupgrade -sRa -L log. -l log.RESULTS so I thought I would have some log of this error. Not so. In log.security::sudo I only found build logs, nothing more. Even weirder, when I manually did cd /usr/ports/security/sudo make install it installed correctly! Now, my hunch is that things went wrong because 'sudo' was temporarily deinstalled, and with me specifying the '-s' switch portupgrade tried to use 'sudo' to install. That's a nice way to shoot yourself in the foot though. Remarks: - I think portupgrade shouldn't upgrade sudo when -s is specified - I also think portupgrade's logging needs to be fixed - I'd have hoped to see something along the line of 'sudo not found' in the log. - While I'm on the subject, I also think portupgrade is *much* too verbose. Logs should be as verbose as possible, but the output to the screen could be less unless a -v switch is specified, IMHO. This message is meant to be constructive criticism, not a flame - I love the tool, and it's been making my life simpler since it was invented. So please don't take this the wrong way. HTH, --Stijn --=20 ] Nothing safer than a 'cat /dev/wallet | grep $price > real-person; \ ] mv $thing-to-buy $my-case I'd prefer 'mv $thing-to-buy $my-case && cat /dev/wallet | \ grep $price > real-person -- Anonymous, freebsd-questions@freebsd.org, in message <200108020628.IAA11775@hugo10.ka.punkt.de> --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8RUJ+Y3r/tLQmfWcRArPXAJ9Q0Kin1R0VgrJ0NEFebLp2r4KKfwCfQRSU cawOfKOlLN9jA5IJOFFOrws= =Vh7B -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message