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
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-
Version table:
1.
500 http://
1.5.0-16-3 0
500 http://
(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-
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-
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/
(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-
debconf: DbDriver "config": /var/cache/
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Preparing to replace sun-java5-jre 1.5.0-19-
debconf: DbDriver "config": /var/cache/
dpkg: error processing /var/cache/
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/
Selecting previously deselected package sun-java5-demo.
Unpacking sun-java5-demo (from .../sun-
Selecting previously deselected package sun-java5-jdk.
Unpacking sun-java5-jdk (from .../sun-
debconf: DbDriver "config": /var/cache/
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
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/
SourcePackage: sun-java5
Title: package sun-java5-jdk None [modified: /var/lib/
Uname: Linux 2.6.27-17-generic i686
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.