Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2010 10:31:33 -0700
From:      Ron <rg.lists@rzweb.com>
To:        Frank Shute <frank@shute.org.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems upgrading p5-IO-Compress
Message-ID:  <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com>
In-Reply-To: <20100926172659.GA42113@orange.esperance-linux.co.uk>
References:  <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> <20100926172659.GA42113@orange.esperance-linux.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 26, 2010, at 10:26 AM, Frank Shute wrote:

> On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote:
>>=20
>> I went to upgrade my ports this morning and saw this:
>>=20
>> p5-Compress-Zlib-2.015      <  needs updating (port has 2.030) (=3D> =
'archivers/p5-IO-Compress')
>> p5-IO-Compress-Base-2.015   <  needs updating (port has 2.030) (=3D> =
'archivers/p5-IO-Compress')
>> p5-IO-Compress-Bzip2-2.015  <  needs updating (port has 2.030) (=3D> =
'archivers/p5-IO-Compress')
>> p5-IO-Compress-Zlib-2.015_1  <  needs updating (port has 2.030) (=3D> =
'archivers/p5-IO-Compress')
>>=20
>> After reading CHANGES and UPDATING I did a portupgrade p5-* since =
there were no specific instructions and I get this:
>>=20
>> =3D=3D=3D>  Checking if archivers/p5-IO-Compress already installed
>> =3D=3D=3D>   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
>>=20
>> Stop in /usr/ports/archivers/p5-IO-Compress.
>> *** Error code 1
>>=20
>> 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=3Dportupgrade =
UPGRADE_PORT=3Dp5-IO-Zlib-1.10 UPGRADE_PORT_VER=3D1.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)
>>=20
>> 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.=20
>>=20
>> How do I upgrade?  Did I miss some obvious instructions?  All =
UPDATING says is:
>>=20
>> 20100921:
>>  AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-*
>>  AUTHOR: mm@FreeBSD.org
>>=20
>>  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.
>>=20
>> I tried following the instructions above about running make deinstall =
and now I get:
>>=20
>> [Updating the pkgdb <format:bdb_btree> 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.
>>=20
>> I've tried running pkgdb -F, but it is just asking my a lot of =
questions like:
>>=20
>> 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]
>=20
> The answer is to run pgdb -F and unregister:
>=20
> p5-Compress-Zlib
> p5-IO-Compress-Base
> p5-IO-Compress-Bzip2
> p5-IO-Compress-Zlib
>=20
> and you should be in the clear.
>=20
>>=20
>> and I have no idea what the right answer is.
>>=20
>> I am running perl 5.8.9 and Freebsd 7.1
>>=20
>> 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.
>>=20
>> Ron
>>=20
>=20

Excellent, this seems to have fixed it!   Thanks!

Ron

> Regards,
>=20
> --=20
>=20
> Frank
>=20
> Contact info: http://www.shute.org.uk/misc/contact.html
>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AF6072-A015-4FDD-81B8-00F2C8DD0727>