package sun-java5-jdk None [modified: /var/lib/dpkg/info/sun-java5-jdk.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1

Bug #520268 reported by aykc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(1) lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

(2) apt-cache policy sun-java5-jdk
sun-java5-jdk:
  Installed: (none)
  Candidate: 1.5.0-19-0ubuntu0.8.10
  Version table:
     1.5.0-19-0ubuntu0.8.10 0
        500 http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
     1.5.0-16-3 0
        500 http://us.archive.ubuntu.com intrepid/multiverse Packages

(3) try to install this package
(4) it gives me the error:
sudo apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libclucene0ldbl python-zopeinterface python-encutils librdf0 librasqal0
  python-serial ttf-liberation redland-utils python-pam python-openssl blt
  python-avahi python-mutagen python-pyopenssl libpigment0.3-5 python-dateutil
  python-cssutils libstreamanalyzer0 tcl8.4 tcl8.5 python-setuptools tk8.4
  tk8.5 libstreams0 libraptor1 raptor-utils python-gpod python-twisted-bin
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  sun-java5-bin sun-java5-demo sun-java5-jre
Suggested packages:
  sun-java5-doc sun-java5-source sun-java5-plugin ia32-sun-java5-plugin
  sun-java5-fonts
The following NEW packages will be installed:
  sun-java5-bin sun-java5-demo sun-java5-jdk
The following packages will be upgraded:
  sun-java5-jre
1 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0B/44.9MB of archives.
After this operation, 116MB of additional disk space will be used.
Do you want to continue [Y/n]? y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ...
dpkg: serious warning: files list file for package `sun-java5-jre' missing, assuming package has no files currently installed.
171766 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-19-0ubuntu0.8.10_i386.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/sun-java5-bin_1.5.0-19-0ubuntu0.8.10_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace sun-java5-jre 1.5.0-19-0ubuntu0.8.10 (using .../sun-java5-jre_1.5.0-19-0ubuntu0.8.10_all.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/sun-java5-jre_1.5.0-19-0ubuntu0.8.10_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Selecting previously deselected package sun-java5-demo.
Unpacking sun-java5-demo (from .../sun-java5-demo_1.5.0-19-0ubuntu0.8.10_i386.deb) ...
Selecting previously deselected package sun-java5-jdk.
Unpacking sun-java5-jdk (from .../sun-java5-jdk_1.5.0-19-0ubuntu0.8.10_i386.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/sun-java5-jdk_1.5.0-19-0ubuntu0.8.10_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/sun-java5-bin_1.5.0-19-0ubuntu0.8.10_i386.deb
 /var/cache/apt/archives/sun-java5-jre_1.5.0-19-0ubuntu0.8.10_all.deb
 /var/cache/apt/archives/sun-java5-jdk_1.5.0-19-0ubuntu0.8.10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess pre-installation script returned error exit status 1
Package: sun-java5-jdk None [modified: /var/lib/dpkg/info/sun-java5-jdk.list]
SourcePackage: sun-java5
Title: package sun-java5-jdk None [modified: /var/lib/dpkg/info/sun-java5-jdk.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Uname: Linux 2.6.27-17-generic i686

Revision history for this message
aykc (alexforcina) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 349469, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in sun-java5 (Ubuntu):
status: New → Confirmed
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.