Posts Tagged ‘collisions’

0

IO-Compress collisions with serveral perl packages

Wednesday, May 12, 2010
posted by otioti

I’d surprised when i saw this error updating my servers:

>>> Emerging (1 of 5) perl-core/IO-Compress-2.021
>>> Installing (1 of 5) perl-core/IO-Compress-2.021
>>> Failed to install perl-core/IO-Compress-2.021, Log file:
>>>  '/var/tmp/portage/perl-core/IO-Compress-2.021/temp/build.log'
...

 * This package will overwrite one or more files that may belong to other
 * packages (see list below).
 * perl-core/IO-Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/RawDeflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Extra.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Gunzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/RawInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Unzip.pm
 *
 * perl-core/Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix
 *
 * perl-core/IO-Compress-Bzip2-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 *
 * perl-core/IO-Compress-Base-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyUncompress.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Base.pm
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *  * Detected file collision(s):
 *
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
* perl-core/IO-Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Deflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/RawDeflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Constants.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Extra.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Identity.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Gunzip.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Inflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/RawInflate.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Unzip.pm
 *
 * perl-core/Compress-Zlib-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix
 *
 * perl-core/IO-Compress-Bzip2-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 *
 * perl-core/IO-Compress-Base-2.015
 * 	/usr/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyUncompress.pm
 * 	/usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Base.pm
 *
 * Package 'perl-core/IO-Compress-2.021' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

Well, i couldn’t find solution for this error, but bad-practises could be used for this kind of work 

I tried to unmerge IO-Compress-Base, IO-Compress-Bzip2 and IO-Compress-Zlib:

emerge -C IO-Compress-Base IO-Compress-Bzip2 IO-Compress-Zlib

And later, reinstall IO-Compress lib:

emerge -q IO-Compress

Uso de cookies

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información. ACEPTAR

Aviso de cookies