[Bug 1015329] Re: dpkg: error: file triggers record mentions illegal package name `libgtk2.0-0' (for interest in file `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules'): ambiguous package name 'libgtk2.0-0' with more than one installed instance
Anders Kaseorg
andersk at mit.edu
Tue Jun 19 23:03:22 UTC 2012
I was able to get past the dpkg error by manually editing /var/lib/dpkg/triggers/File, then running
dpkg --add-architecture amd64
dpkg --add-architecture i386
apt-get -f install
but I’m not sure everything is quite right yet so I don’t yet recommend this.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1015329
Title:
dpkg: error: file triggers record mentions illegal package name
`libgtk2.0-0' (for interest in file `/usr/lib/x86_64-linux-
gnu/gtk-2.0/2.10.0/immodules'): ambiguous package name 'libgtk2.0-0'
with more than one installed instance
Status in “dpkg” package in Ubuntu:
Triaged
Bug description:
Upgrading my quantal system’s dpkg from 1.16.1.2ubuntu8 to
dpkg_1.16.3ubuntu1 broke it such that every dpkg operation aborts with
this error:
dpkg: error: file triggers record mentions illegal package name
`libgtk2.0-0' (for interest in file `/usr/lib/x86_64-linux-
gnu/gtk-2.0/2.10.0/immodules'): ambiguous package name 'libgtk2.0-0'
with more than one installed instance
Here’s the log from the upgrade.
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
db4.8-util debhelper dpkg-dev gimp-resynthesizer haskell-platform
haskell-platform-prof libblas3gf libc-bin libc-dev-bin libc6 libc6-dbg
libc6-dev libc6-dev-i386 libc6-i386 libdpkg-perl libghc-blaze-builder-dev
libghc-cairo-dev libghc-cairo-prof libghc-diagrams-dev libghc-diagrams-doc
libghc-gio-dev libghc-gio-prof libghc-glut-dev libghc-glut-prof
libghc-hashable-dev libghc-hashable-prof libghc-http-dev libghc-http-prof
libghc-mtl-dev libghc-mtl-prof libghc-network-dev libghc-network-prof
libghc-parsec3-dev libghc-parsec3-prof libghc-regex-base-dev
libghc-regex-base-prof libghc-stm-dev libghc-stm-prof libghc-syb-dev
libghc-syb-prof libghc-text-dev libghc-text-prof libghc-transformers-dev
libghc-transformers-prof libghc-xhtml-dev libghc-xhtml-prof libghc-xml-dev
liblapack3gf libnm-glib-vpn1 lilypond-data nmh xz-utils
The following packages will be upgraded:
debsums dpkg liblzma5 libsyncdaemon-1.0-1 multiarch-support
python-ubuntuone-client ubuntuone-client
7 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.
Need to get 2,294 kB of archives.
After this operation, 44.0 kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal/main dpkg amd64 1.16.3ubuntu1 [1,834 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ quantal/main liblzma5 amd64 5.1.1alpha+20120614-1 [89.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ quantal/main multiarch-support amd64 2.15-0ubuntu14 [4,476 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ quantal/universe debsums all 2.0.52 [43.7 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ quantal/main libsyncdaemon-1.0-1 amd64 3.99.0-0ubuntu1 [45.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ quantal/main ubuntuone-client all 3.99.0-0ubuntu1 [47.0 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ quantal/main python-ubuntuone-client all 3.99.0-0ubuntu1 [230 kB]
Fetched 2,294 kB in 2s (794 kB/s)
(Reading database ... 447277 files and directories currently installed.)
Preparing to replace dpkg 1.16.1.2ubuntu8 (using .../dpkg_1.16.3ubuntu1_amd64.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
dpkg: error: file triggers record mentions illegal package name `libgtk2.0-0' (for interest in file `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules'): ambiguous package name 'libgtk2.0-0' with more than one installed instance
dpkg-query: error: file triggers record mentions illegal package name `libgtk2.0-0' (for interest in file `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules'): ambiguous package name 'libgtk2.0-0' with more than one installed instance
debsums: dpkg-query --admindir=/var/lib/dpkg --showformat=${Package}
${PackageSpec}
${binary:Package}
${Version}
${Status}
${Conffiles}
${Replaces}
--show failed (exit status 2)
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (2)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1015329/+subscriptions
More information about the foundations-bugs
mailing list