Hi,
today I tried to install the package
media-plugins/kipi-plugins, ~x86 version.
One of the dependancy is
media-libs/lcms and paludis tried to upgrade it from version 1.14-r1 to ~1.15.
When the process arrived to "unmerge old package" stage, I got this error:
Code: Select all
...
--- [!empt] /usr/lib/python2.4/site-packages
--- [!empt] /usr/lib/python2.4
--- [!empt] /usr/lib/pkgconfig
--- [!empt] /usr/lib
--- [!empt] /usr/bin
--- [!empt] /usr
!!! ERROR in media-libs/lcms-1.14-r1:
!!! In builtin_unmerge at line 77
!!! unmerge failed
!!! Call stack:
!!! * builtin_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:77)
!!! * ebuild_f_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:100)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:296)
!!! * main (/usr/libexec/paludis/ebuild.bash:308)
die trap: exiting with error.
Unhandled exception:
* In program paludis -i media-plugins/kipi-plugins:
* When performing install action from command line:
* When executing install task:
* When uninstalling 'media-libs/lcms-1.14-r1' from 'installed':
* Uninstall error: Uninstall failed for 'media-libs/lcms-1.14-r1::installed' (N7paludis27PackageUninstallActionErrorE)
Now I have two versions of
lcms installed and I cannot unmerge any of them:
Code: Select all
# paludis -q lcms
* media-libs/lcms
gentoo: 1.14-r1 1.15 {:0}
installed: 1.14-r1 1.15* {:0}
Homepage: http://www.littlecms.com/
Description: A lightweight, speed optimized color management engine
License: ( LGPL-2.1 )
Source origin: media-libs/lcms-1.15::gentoo
Installed time: Sun Dec 10 09:03:51 2006
Use flags: (jpeg) (python) (tiff) (zlib)
paludis -u =media-libs/lcms-1.15
Code: Select all
# paludis -u =media-libs/lcms-1.15
Building unmerge list... done
These packages will be uninstalled:
* media-libs/lcms-1.15::installed
Total: 1 package
Updating world file
Uninstalling media-libs/lcms-1.15::installed
>>> Starting pkg_prerm
>>> Done pkg_prerm
>>> Starting builtin_unmerge
--- [!type] /usr/bin/icc2ps
--- [!type] /usr/bin/icclink
--- [!type] /usr/bin/icctrans
--- [!type] /usr/bin/jpegicc
--- [!type] /usr/bin/tiffdiff
--- [!type] /usr/bin/tifficc
--- [!type] /usr/bin/wtpt
--- [!type] /usr/include/icc34.h
--- [!type] /usr/include/lcms.h
--- [!type] /usr/lib/liblcms.a
--- [!type] /usr/lib/liblcms.la
--- [!type] /usr/lib/liblcms.so
--- [!type] /usr/lib/liblcms.so.1
--- [!type] /usr/lib/liblcms.so.1.0.15
--- [!type] /usr/lib/pkgconfig/lcms.pc
--- [!type] /usr/lib/python2.4/site-packages/_lcms.a
--- [!type] /usr/lib/python2.4/site-packages/_lcms.la
--- [!type] /usr/lib/python2.4/site-packages/_lcms.so
--- [!type] /usr/lib/python2.4/site-packages/lcms.py
--- [!type] /usr/share/doc/lcms-1.15/AUTHORS.gz
--- [!type] /usr/share/doc/lcms-1.15/INSTALL.gz
--- [!type] /usr/share/doc/lcms-1.15/LCMSAPI.TXT.gz
--- [!type] /usr/share/doc/lcms-1.15/NEWS.gz
--- [!type] /usr/share/doc/lcms-1.15/README.1ST.gz
--- [!type] /usr/share/doc/lcms-1.15/TUTORIAL.TXT.gz
unmerge@1165738494: [WARNING] Malformed VDB entry 'obj /usr/share/lcms/profiles/sRGB Color Space Profile.icm 1d3fda2edb4a89ab60a23c5f7c7d81dd 1165737830'
--- [!type] /usr/share/lcms/profiles/sRGBSpac.icm
--- [!type] /usr/share/man/man1/icc2ps.1
--- [!type] /usr/share/man/man1/icclink.1
--- [!type] /usr/share/man/man1/jpegicc.1
--- [!type] /usr/share/man/man1/tifficc.1
--- [!type] /usr/share/man/man1/wtpt.1
--- [!empt] /usr/share/man/man1
--- [!empt] /usr/share/man
--- [!empt] /usr/share/lcms/profiles
--- [!empt] /usr/share/lcms
--- [!type] /usr/share/doc/lcms-1.15
--- [!empt] /usr/share/doc
--- [!empt] /usr/share
--- [!empt] /usr/lib/python2.4/site-packages
--- [!empt] /usr/lib/python2.4
--- [!empt] /usr/lib/pkgconfig
--- [!empt] /usr/lib
--- [!empt] /usr/include
--- [!empt] /usr/bin
--- [!empt] //usr
!!! ERROR in media-libs/lcms-1.15:
!!! In builtin_unmerge at line 77
!!! unmerge failed
!!! Call stack:
!!! * builtin_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:77)
!!! * ebuild_f_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:100)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:296)
!!! * main (/usr/libexec/paludis/ebuild.bash:308)
!!! This package failed inside the test phase. You should read
!!! http://paludis.berlios.de/KnownIssues.html
!!! for more information on packages with test phase failures.
/usr/libexec/paludis/ebuild.bash: line 73: kill: (4474) - No such process
Uninstall error:
* In program paludis -u =media-libs/lcms-1.15:
* When performing uninstall action from command line:
* When executing uninstall task:
* When uninstalling 'media-libs/lcms-1.15' from 'installed':
* Uninstall error: Uninstall failed for 'media-libs/lcms-1.15::installed'
paludis -u =media-libs/lcms-1.14-r1
Code: Select all
Building unmerge list... done
These packages will be uninstalled:
* media-libs/lcms-1.14-r1::installed
Total: 1 package
Updating world file
Uninstalling media-libs/lcms-1.14-r1::installed
>>> Starting pkg_prerm
>>> Done pkg_prerm
>>> Starting builtin_unmerge
--- [!type] /usr/bin/wtpt
--- [!type] /usr/bin/jpegicc
--- [!type] /usr/bin/icctrans
--- [!type] /usr/bin/tifficc
--- [!type] /usr/bin/icc2ps
--- [!type] /usr/bin/icclink
--- [!type] /usr/lib/liblcms.a
--- [!type] /usr/lib/pkgconfig/lcms.pc
--- [!type] /usr/lib/liblcms.so.1
--- [!type] /usr/lib/liblcms.so.1.0.14
--- [!type] /usr/lib/python2.4/site-packages/lcms.py
--- [!type] /usr/lib/python2.4/site-packages/_lcms.a
--- [!type] /usr/lib/python2.4/site-packages/_lcms.la
--- [!type] /usr/lib/python2.4/site-packages/_lcms.so
--- [!type] /usr/lib/liblcms.la
--- [!type] /usr/lib/liblcms.so
--- [!type] /usr/share/doc/lcms-1.14-r1/LCMSAPI.TXT.gz
--- [!type] /usr/share/doc/lcms-1.14-r1/README.1ST.gz
--- [!type] /usr/share/doc/lcms-1.14-r1/NEWS.gz
--- [!type] /usr/share/doc/lcms-1.14-r1/INSTALL.gz
--- [!type] /usr/share/doc/lcms-1.14-r1/AUTHORS.gz
--- [!type] /usr/share/doc/lcms-1.14-r1/TUTORIAL.TXT.gz
--- [!type] /usr/share/man/man1/jpegicc.1.gz
--- [!type] /usr/share/man/man1/wtpt.1.gz
--- [!type] /usr/share/man/man1/tifficc.1.gz
--- [!type] /usr/share/man/man1/icc2ps.1.gz
--- [!type] /usr/share/man/man1/icclink.1.gz
--- [!type] /usr/share/lcms/profiles/sRGBSpac.icm
unmerge@1165738578: [WARNING] Malformed VDB entry 'obj /usr/share/lcms/profiles/sRGB Color Space Profile.icm 1d3fda2edb4a89ab60a23c5f7c7d81dd 1157305483'
--- [!type] /usr/include/lcms.h
--- [!type] /usr/include/icc34.h
--- [!empt] /usr/include
--- [!empt] /usr/share/lcms/profiles
--- [!empt] /usr/share/lcms
--- [!empt] /usr/share/man/man1
--- [!empt] /usr/share/man
--- [!type] /usr/share/doc/lcms-1.14-r1
--- [!empt] /usr/share/doc
--- [!empt] /usr/share
--- [!empt] /usr/lib/python2.4/site-packages
--- [!empt] /usr/lib/python2.4
--- [!empt] /usr/lib/pkgconfig
--- [!empt] /usr/lib
--- [!empt] /usr/bin
--- [!empt] /usr
!!! ERROR in media-libs/lcms-1.14-r1:
!!! In builtin_unmerge at line 77
!!! unmerge failed
!!! Call stack:
!!! * builtin_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:77)
!!! * ebuild_f_unmerge (/usr/libexec/paludis/builtin_unmerge.bash:100)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:296)
!!! * main (/usr/libexec/paludis/ebuild.bash:308)
die trap: exiting with error.
Uninstall error:
* In program paludis -u =media-libs/lcms-1.14-r1:
* When performing uninstall action from command line:
* When executing uninstall task:
* When uninstalling 'media-libs/lcms-1.14-r1' from 'installed':
* Uninstall error: Uninstall failed for 'media-libs/lcms-1.14-r1::installed'
I think this message might be useful to understand the problem:
unmerge@1165738494: [WARNING] Malformed VDB entry 'obj /usr/share/lcms/profiles/sRGB Color Space Profile.icm 1d3fda2edb4a89ab60a23c5f7c7d81dd 1165737830'
How do I proceed now?
Is this either a Paludis bug or a buggy ebuild bug?
You might answer that it is a
test bug because of the message:
but it is not, since in my bashrc file I have:
Another thing to notice is that Paludis does not detect this inconsistency of VDB database.
If I simply ignore the problem and try again
paludis -i media-plugins/kipi-plugins I get:
Code: Select all
# paludis -i media-plugins/kipi-plugins
Building target list...
Building dependency list... done
These packages will be installed:
* media-libs/libkexif-0.2.2 [N] arts -debug -xinerama
* media-plugins/kipi-plugins-0.1.2 [N] arts -debug gphoto2 opengl -xinerama
Total: 2 packages (2 new)
Installing media-libs/libkexif-0.2.2::gentoo
>>> Starting builtin_fetch
>>> Need to fetch libkexif-0.2.2.tar.bz2
wget -T 30 -t 1 -O /var/paludis/repositories/gentoo/distfiles/libkexif-0.2.2.tar.bz2 http://distfiles.gentoo.org/distfiles/libkexif-0.2.2.tar.bz2
--09:35:50-- http://distfiles.gentoo.org/distfiles/libkexif-0.2.2.tar.bz2
=> `/var/paludis/repositories/gentoo/distfiles/libkexif-0.2.2.tar.bz2'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 442,833 (432K) [application/x-tar]
100%[============================================================ \
=============================================================>] 442,833 42.47K/s ETA 00:00
09:36:01 (41.64 KB/s) - `/var/paludis/repositories/gentoo/distfiles/libkexif-0.2.2.tar.bz2' saved [442833/442833]
* Checking MD5 for libkexif-0.2.2.tar.bz2 ... [ ok ]
* Checking RMD160 for libkexif-0.2.2.tar.bz2 ... [ ok ]
* Checking SHA256 for libkexif-0.2.2.tar.bz2 ... [ ok ]
>>> Done builtin_fetch
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting pkg_setup
>>> Done pkg_setup
>>> Starting src_unpack
>>> Unpacking libkexif-0.2.2.tar.bz2 to /var/tmp/paludis/media-libs/libkexif-0.2.2/work
tar jxf /var/paludis/repositories/gentoo/distfiles/libkexif-0.2.2.tar.bz2 --no-same-owner
>>> Done src_unpack
>>> Starting src_compile
* Running elibtoolize in: libkexif-0.2.2/admin
* Applying portage-1.5.10.patch ...
As you can see Paludis proceeds with the installation considering lcms as successfully installed
I think that this is a dangerous misbehavior, since in my opinion the installation of the package shouldn't be considered completed in this case and Paludis should print out an error until the problem is somehow fixed.
Thanks in advance.
mod edit: inserted line break for page formatting --Earthwings