Public bug reported:
Binary package hint: dpkg
$ apt-cache policy dpkg
dpkg:
Installed: 1.15.4ubuntu2
Candidate: 1.15.4ubuntu2
Version table:
*** 1.15.4ubuntu2 0
500 http://gb.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status
Upgrading to 9.10 (on AMD64 machine) I hit a few problems and the
upgrade allegedly failed. Fortunately it rebooted OK and then this
morning it suggested software upgrades (to OpenSSL).
The upgrade manager system crashed and looking at the problem I see that
it was trying to upgrade "Iced Tea Plugin" and openjdk-re and the
problem was in /usr/sbin/update-alternatives
There was a Perl diagnostic relating to line 1017 in that file "Trying
to call slave method on undefined value" in the postrm script.
I tried removing it with the force option but it still didn't work
I worked around the problem by moving /usr/sbin/update-alternatives
aside and just making it say "exit 0;" running the remove on icedtea-
plugin and then replacing /usr/sbin/update-alternatives and moving it
back.
All updates have now seemingly been installed OK and the system is
working satisfactorily.
Possibly the "alternatives" directory is a bit mangled as I had a string
of problems a while back with half-working Java runtimes.
Here is what the bit of /etc/alternatives which relates to java says
right now - I see jexec and javaws are a bit different and ancient but
the links are to things which seem to exist.
lrwxrwxrwx 1 root root 31 2009-09-14 09:52 jar ->
/usr/lib/jvm/java-6-sun/bin/jar
lrwxrwxrwx 1 root root 41 2009-09-14 09:52 jar.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/jar.1.gz
lrwxrwxrwx 1 root root 37 2009-09-14 09:52 jarsigner ->
/usr/lib/jvm/java-6-sun/bin/jarsigner
lrwxrwxrwx 1 root root 47 2009-09-14 09:52 jarsigner.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/jarsigner.1.gz
lrwxrwxrwx 1 root root 32 2009-03-29 11:38 java ->
/usr/lib/jvm/java-6-sun/bin/java
lrwxrwxrwx 1 root root 50 2009-03-29 11:19 java.1.gz ->
/usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz
lrwxrwxrwx 1 root root 33 2009-09-14 09:52 javac ->
/usr/lib/jvm/java-6-sun/bin/javac
lrwxrwxrwx 1 root root 43 2009-09-14 09:52 javac.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 35 2009-09-14 09:52 javadoc ->
/usr/lib/jvm/java-6-sun/bin/javadoc
lrwxrwxrwx 1 root root 45 2009-09-14 09:52 javadoc.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 33 2009-09-14 09:52 javah ->
/usr/lib/jvm/java-6-sun/bin/javah
lrwxrwxrwx 1 root root 43 2009-09-14 09:52 javah.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 33 2009-09-14 09:52 javap ->
/usr/lib/jvm/java-6-sun/bin/javap
lrwxrwxrwx 1 root root 43 2009-09-14 09:52 javap.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 39 2009-09-14 09:52 java_vm ->
/usr/lib/jvm/java-6-sun/jre/bin/java_vm
lrwxrwxrwx 1 root root 27 2009-03-31 09:23 javaws ->
/opt/jre1.6.0_14/bin/javaws
lrwxrwxrwx 1 root root 27 2010-01-14 08:42 javaws.dpkg-tmp ->
/opt/jre1.6.0_14/bin/javaws
lrwxrwxrwx 1 root root 36 2009-09-14 09:52 jconsole ->
/usr/lib/jvm/java-6-sun/bin/jconsole
lrwxrwxrwx 1 root root 46 2009-09-14 09:52 jconsole.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/jconsole.1.gz
lrwxrwxrwx 1 root root 40 2009-09-14 09:52 jcontrol ->
/usr/lib/jvm/java-6-sun/jre/bin/jcontrol
lrwxrwxrwx 1 root root 31 2009-09-14 09:52 jdb ->
/usr/lib/jvm/java-6-sun/bin/jdb
lrwxrwxrwx 1 root root 41 2009-09-14 09:52 jdb.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/jdb.1.gz
lrwxrwxrwx 1 root root 26 2009-03-30 19:34 jexec -> /opt/jre1.6.0_14/lib/jexec
lrwxrwxrwx 1 root root 46 2009-03-29 11:04 jexec-binfmt ->
/usr/lib/jvm/java-6-openjdk/jre/lib/jar.binfmt
ProblemType: Bug
Architecture: amd64
Date: Thu Jan 14 09:40:48 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: dpkg 1.15.4ubuntu2 [modified: usr/bin/update-alternatives]
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: dpkg
Uname: Linux 2.6.31-17-generic x86_64
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
Perl error report in /usr/sbin/update-alternatives
https://bugs.launchpad.net/bugs/507396
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs