From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 19:22:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84DB416A4CE for ; Wed, 30 Jun 2004 19:22:42 +0000 (GMT) Received: from server.tcslea.org (server.tcslea.org [205.238.132.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22D1343D1F for ; Wed, 30 Jun 2004 19:22:42 +0000 (GMT) (envelope-from bsdnewbie@coolarrow.com) X-ExtScanner: Niversoft's FindAttachments (free) X-Antivirus: clamav via cgpav Received: from [205.238.178.46] (HELO system) by server.tcslea.org (CommuniGate Pro SMTP 4.2b6) with ESMTP id 362207 for freebsd-questions@freebsd.org; Wed, 30 Jun 2004 14:22:16 -0500 Message-ID: <200406301422070520.23DED6BA@coolarrow.com> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Wed, 30 Jun 2004 14:22:07 -0500 From: "Chris" To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: port upgrades X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 19:22:42 -0000 *This message was transferred with a trial version of CommuniGate(tm) Pro* 5.2.1-RELEASE I've started using 'portupgrade' to update several ports to the latest= versions, but have an odd problem when it comes to certain ports. For example: server# pkg_version -v | grep Spam bsdpan-Mail-SpamAssassin-2.63 < needs updating (port has 2.63_2) server# portupgrade bsdpan-Mail-SpamAssassin ---> Skipping 'mail/p5-Mail-SpamAssassin' because it is held by user= (specify -f to force) server# portupgrade -f bsdpan-Mail-SpamAssassin So I use the -f flag to force, and get several errors like: =3D=3D=3D> p5-MIME-Base64-3.01 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of= converters/p5-MIME-Base64 without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/converters/p5-MIME-Base64. *** Error code 1 Stop in /usr/ports/security/p5-Digest. *** Error code 1 Stop in /usr/ports/security/p5-Digest-SHA1. *** Error code 1 Stop in /usr/ports/security/p5-Digest-HMAC. *** Error code 1 Stop in /usr/ports/dns/p5-Net-DNS. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. ** Command failed [exit code 1]: /usr/bin/script -qa= /tmp/portupgrade64155.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! mail/p5-Mail-SpamAssassin (bsdpan-Mail-SpamAssassin-2.63)= (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed I can successfully "install Mail::SpamAssassin" using cpan, but it never= seems to show up as the latest version (always seems to need upgrading= when looking at pkg_version). Are there are two different ways to install (for example) SpamAssassin (and= other perl related ports)? I can use cpan OR the pkg_add / portupgrade commands but not both? Thanks, Chris _________________________________________________________ Email harvesters eat this: sendjunkmailhere@coolarrow.com