/var/cache/apt/archives/sun-java6-jre_6-10-0ubuntu2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Asked by captsri on 2008-12-06

Binary package hint: gnome-terminal

Selecting previously deselected package unrar.
Unpacking unrar (from .../unrar_1%3a3.8.2-1_i386.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/sun-java6-jre_6-10-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.24.1.1-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.27-9-generic i686

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-12-06
Last reply:
2008-12-11
captsri (captsri) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Remove the error package
sudo dpkg -r sun-java6-jre_6-10-0ubuntu2_all.deb
and then reinstall
sudo aptitude reinstall

or

sudo apt-get install sun-java6-jre_6-10-0ubuntu2_all.deb

That should fix the problem
Thanks

Can you help with this problem?

Provide an answer of your own, or ask captsri for more information if necessary.

To post a message you must log in.