[X2Go-User] x2golxdebindings for squeeze relies on 'update-icon-caches' being available in it's postinst script

Holger Krause Holger.Krause at med.uni-duesseldorf.de
Thu Aug 15 17:36:35 CEST 2013


Dear all,

I just wanted to update x2golxdebindings from version 
1.0.1.3-0~x2go1+squeeze~main~30~build1 to 
1.0.2.1-0~x2go1+squeeze~main~41~build1 on a squeeze system. Unfortunately, 
this results in an error:

----
root at perrin:~# aptitude install x2golxdebindings
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5652 B of archives. After unpacking 0 B will be used.
Selecting previously deselected package x2golxdebindings.
(Reading database ... 76698 files and directories currently installed.)
Preparing to replace x2golxdebindings 1.0.2.1-0~x2go1+squeeze~main~41~build1 
(using .../x2golxdebindings_1.0.2.1-0~x2go1+squeeze~main~41~build1_all.deb) 
...
Unpacking replacement x2golxdebindings ...
/var/lib/dpkg/info/x2golxdebindings.postrm: 35: update-icon-caches: not found
dpkg: warning: subprocess old post-removal script returned error exit status 
127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 35: update-icon-caches: not found
dpkg: error processing 
/var/cache/apt/archives/x2golxdebindings_1.0.2.1-0~x2go1+squeeze~main~41~build1_all.deb 
(--unpack):
 subprocess new post-removal script returned error exit status 127
configured to not write apport reports
                                      /var/lib/dpkg/tmp.ci/postrm: 35: update-
icon-caches: not found
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 127
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
 /var/cache/apt/archives/x2golxdebindings_1.0.2.1-0~x2go1+squeeze~main~41~build1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
----

I noticed the postinst script doesn't check for availability/executability of 
'update-icon-caches'. The previous version (1.0.1.3) had been installed 
without any complains. Should I report this to the x2go bug tracker? As a 
workaround I installed 'libgtk2.0-bin', which contains '/usr/sbin/update-icon-
caches'. (Perhaps x2golxdebindings should depend on this package?)

Thanks for providing x2go!

Holger



More information about the x2go-user mailing list