uim-common package error during installation

Bug #64111 reported by Parthan SR
2
Affects Status Importance Assigned to Milestone
uim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: uim-common

I have upgraded from dapper drake to edgy beta a couple of days back. The entire upgradation went smooth other than the 'uim-common' package showing some errors during installation.

This is one of the packages included for SCIM input method. Though this package showed errors during installation, am still able to satisfactorily use SCIM input method for inputing in 'Tamil' language.

I have tried uninstalling the package, removing it from /var/cache/apt/archives, downloading a fresh package and try. But its still giving errors. I have also tried reinstalling SCIM and other related packages.

The errors which I get during the installation is as follows,

Preparing to replace uim-common 1:1.0.0-1ubuntu1 (using .../uim-common_1%3a1.2.1-3_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)

Revision history for this message
Jonty (jonnty) wrote :

I've had this excact problem as well. It's a serious problem - I now can't use apt-get as it always complains uim-qt depends on uim-common, which can't be installed.

Revision history for this message
Jonty (jonnty) wrote :

Right, the problem is it wants libuim0, which was in Dapper but has been replaced by something else in Edgy. It seems the prerm script needs this, and as it's been removed, it fails. So, go to /var/lib/dpkg/info/uim-common.prerm, put exit 0 right after the comments (lines beginning with '#').

You are now able to remove uim-common and them apt-get install it again, replacing it with the updated and working version, or replace it by apt-get update-ing it. It will replace the prerm script, and I'm guessing, though I can't be sure, not excecuting the prerm script is ok so long as the package is replaced, so do this at you own risk, but it worked fine for me.

Revision history for this message
Jonty (jonnty) wrote :

If it helps, libuim0 has been replaced by libuim3, or so it seems.

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.