From owner-freebsd-questions@FreeBSD.ORG Sun Sep 26 17:59:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD931065670 for ; Sun, 26 Sep 2010 17:59:53 +0000 (UTC) (envelope-from glimp@live.com) Received: from blu0-omc4-s8.blu0.hotmail.com (blu0-omc4-s8.blu0.hotmail.com [65.55.111.147]) by mx1.freebsd.org (Postfix) with ESMTP id 853B48FC08 for ; Sun, 26 Sep 2010 17:59:53 +0000 (UTC) Received: from BLU0-SMTP126 ([65.55.111.135]) by blu0-omc4-s8.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Sep 2010 10:59:53 -0700 X-Originating-IP: [151.49.239.47] X-Originating-Email: [glimp@live.com] Message-ID: Received: from genki.collidiamo.net ([151.49.239.47]) by BLU0-SMTP126.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Sep 2010 10:59:50 -0700 Date: Sun, 26 Sep 2010 19:54:53 +0200 From: dan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100920 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> <20100926172659.GA42113@orange.esperance-linux.co.uk> <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com> In-Reply-To: <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Sep 2010 17:59:51.0895 (UTC) FILETIME=[9E1D9670:01CB5DA4] Subject: Re: Problems upgrading p5-IO-Compress 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: Sun, 26 Sep 2010 17:59:53 -0000 On 26.09.2010 19:31, Ron wrote: > > On Sep 26, 2010, at 10:26 AM, Frank Shute wrote: > >> On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: >>> >>> I went to upgrade my ports this morning and saw this: >>> >>> p5-Compress-Zlib-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Base-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Bzip2-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Zlib-2.015_1< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> >>> After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: >>> >>> ===> Checking if archivers/p5-IO-Compress already installed >>> ===> An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) >>> 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 archivers/p5-IO-Compress >>> 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/archivers/p5-IO-Compress. >>> *** Error code 1 >>> >>> Stop in /usr/ports/archivers/p5-IO-Zlib. >>> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make >>> ** Fix the problem and try again. >>> ---> Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) >>> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >>> ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10) (unknown build error) >>> * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) >>> >>> If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. >>> >>> How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: >>> >>> 20100921: >>> AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* >>> AUTHOR: mm@FreeBSD.org >>> >>> The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and >>> p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. >>> Users of Perl 5.10 and higher do not need to install this module >>> because it is already included in the standard perl distribution. >>> >>> I tried following the instructions above about running make deinstall and now I get: >>> >>> [Updating the pkgdb in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] >>> Stale dependency: p5-Archive-Tar-1.68 --> p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. >>> >>> I've tried running pkgdb -F, but it is just asking my a lot of questions like: >>> >>> Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 >>> Unregister any of them? [no] >> >> The answer is to run pgdb -F and unregister: >> >> p5-Compress-Zlib >> p5-IO-Compress-Base >> p5-IO-Compress-Bzip2 >> p5-IO-Compress-Zlib >> >> and you should be in the clear. >> >>> >>> and I have no idea what the right answer is. >>> >>> I am running perl 5.8.9 and Freebsd 7.1 >>> >>> Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. >>> >>> Ron >>> >> > > Excellent, this seems to have fixed it! Thanks! > > Ron > >> Regards, >> >> -- >> >> Frank >> >> Contact info: http://www.shute.org.uk/misc/contact.html >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Oh, here, I actually did not de-register anything. I first run pkgdb -F. It fixed something and I answer no to "unregister ...?". Then, after reading /usr/ports/UPDATING " 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: mm@FreeBSD.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. " I manually checked any dependencies of the cited ports (p5-...) and de-installed the cited ports that were actually installed here and not required by any other port. Later pkgdb did not make complaints anymore. Is this procedure probably... wrong ? :-) As of my opinion unregister means "discarding information" but the ports are still installed and probably not used anymore. BUt just my opinion... d