Sub-Process /usr/bin/dpkg returned an error code (1)
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I run the apt-get install openjdk-7-jre I get the same error as below, any ideas?
Code:
apt-get -f install openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-7-jre is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ...
Downloading...
--2012-07-24 11:24:17-- http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.3.12.147, 23.3.12.121
Connecting to download.oracle.com (download.oracle.com)|23.3.12.147|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2012-07-24 11:24:17-- https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.51.50.174
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.51.50.174|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2012-07-24 11:24:17-- http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|23.3.12.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'
0K ..... 100% 1.69M=0.003s
2012-07-24 11:24:17 (1.69 MB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]
Download done.
sha256sum mismatch jdk-7u3-linux-i586.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
The dpkg --configure --pending didnt work. Is there a way that I could remove the openjdk-7-jre and install openjdk-6-jre with out it snagging on this line:
Code:
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
Not entirely related to these posts but do you know how to log into the minecraft server?
Hmmm, not sure what you mean. Perhaps you are talking about how to run the client program?
Anyway best that you start a new thread if you have questions about running minecraft.
$ xdvi something.dvi
The program 'xdvi' is currently not installed. You can install it by typing:
sudo apt-get install texlive-binaries
OK, I tried that:
Code:
$ sudo apt-get install texlive-binaries
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
tex-common
The following NEW packages will be installed:
tex-common texlive-binaries
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 8,164kB of archives.
After this operation, 18.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu.media.mit.edu/ubuntu/ lucid-updates/main tex-common 2.06ubuntu0.1 [727kB]
Get:2 http://ubuntu.media.mit.edu/ubuntu/ lucid-updates/main texlive-binaries 2009-5ubuntu0.2 [7,437kB]
Fetched 8,164kB in 5s (1,517kB/s)
Preconfiguring packages ...
Selecting previously deselected package tex-common.
(Reading database ... 607705 files and directories currently installed.)
Unpacking tex-common (from .../tex-common_2.06ubuntu0.1_all.deb) ...
Selecting previously deselected package texlive-binaries.
Unpacking texlive-binaries (from .../texlive-binaries_2009-5ubuntu0.2_i386.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up tex-common (2.06ubuntu0.1) ...
Running mktexlsr. This may take some time... done.
No packages found matching texlive-base.
dpkg: error processing tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-binaries:
texlive-binaries depends on tex-common (>= 2.00); however:
Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
tex-common
texlive-binaries
E: Sub-process /usr/bin/dpkg returned an error code (1)
And then I was stuck!
Evo2 wrote,
Quote:
In general, deleting things in /var/lib/dpkg/info/ is the *WRONG* thing to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.