Edgy failed to upgrade: uim-common and uim-m17nlib crashes during upgrade from dapper

Bug #68536 reported by Lynda Metref
2
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

After "sudo update-manager -c" uim-common and uim-m17nlib crashes during install and can not be recovered by "apt-get install -f". No possibilities to fix it because it also happen when removing concerned packages.

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
  uim-common uim-m17nlib
Suggested packages:
  uim-gtk2.0 uim-xim
The following packages will be upgraded:
  uim-common uim-m17nlib
2 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
1 not fully installed or removed.
Need to get 0B/835kB of archives.
After unpacking 188kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 139080 files and directories currently installed.)
Preparing to replace uim-common 1:1.0.0-1ubuntu1 (using .../uim-common_1%3a1.2.1-3ubuntu2_all.deb) ...
ERROR: unbound variable (errobj is-set-ugid?)

*backtrace*
>>(is-set-ugid?)
>>(if (is-set-ugid?) (list (string-append (sys-pkglibdir) "/plugin")) (filter string? (append (list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) (if (getenv "LD_LIBRARY_PATH") (string-split (getenv "LD_LIBRARY_PATH") ":") ()))))
>>(define uim-plugin-lib-load-path (if (is-set-ugid?) (list (string-append (sys-pkglibdir) "/plugin")) (filter string? (append (list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) (if (getenv "LD_LIBRARY_PATH") (string-split (getenv "LD_LIBRARY_PATH") ":") ())))))
>>(require "plugin.scm")
>>(require "init.scm")
>>(*catch (quote errobj) (require "init.scm"))
>>(eq? (quote *init.scm-loaded*) (*catch (quote errobj) (require "init.scm")))

ERROR: unbound variable (errobj custom-reload-customs)

ERROR: unbound variable (errobj custom-choice-rec-sym)

ERROR: unbound variable (errobj plugin-alist)

ERROR: wta to car (errobj t)

here I hit ctrl-c tehn:
dpkg: error processing /var/cache/apt/archives/uim-m17nlib_1%3a1.2.1-3ubuntu2_i386.deb (--unpack):
 dpkg: warning - old post-removal script killed by signal (Interrupt)

postrm called with unknown argument `abort-upgrade'
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/uim-common_1%3a1.2.1-3ubuntu2_all.deb
 /var/cache/apt/archives/uim-m17nlib_1%3a1.2.1-3ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Dat Chu (dattanchu) wrote :

I also have the same problem. This time dpkg spits out an error on uim-common_1%3a1.2.1-3ubuntu2_all.deb and my system cannot log in to the UI (greeter application appears to be crashing).

Someone please help.

Revision history for this message
Parthan SR (parth-technofreak) wrote :

I also have been suffering the same right from day 1 of upgrading dapper drake to edgy beta, and it still continues even after the release of RC and v6.10.

What might be happening in the case of Dat Chu is that the dpkg will be hanging in the middle, as it wouldn't have continued the installation/upgradation. And hence, something corresponding to the splash screen or the desktop might have also got affected.

I found a work around for this, for my own itches, which seemed to be effective to atleast update other packages which got downloaded.

1. sudo dpkg --force-remove-reinstreq --purge <package-name>

2. If there is some error in the prerm script, then you have to open the prerm script in a editor and add "exit 0" right after the first hashbang (#!) line.

3. The command (1) will remove the package completely. Now either you can try installing the new version of the package or carry out the installation of the other packages which apt/dpkg downloaded

sudo apt-get -f install

This will install all the other packages that had been downloaded and waiting for installation. Hope the bug related to the uim-common package gets solved soon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.