java error during upgrade or installation of package


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu java error during upgrade or installation of package
# 1  
Old 06-26-2012
java error during upgrade or installation of package

Hi, everytime I do "sudo apt-get " and install package or just upgrade I get the following error:

Code:
sha256sum mismatch jdk-7u3-linux-x64.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
Errors were encountered while processing:
 oracle-java7-installer
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

how can I solve it?
# 2  
Old 07-18-2012
Try this:
Code:
sudo apt-get -f install

This will usually attempt to fix any broken packages. Otherwise, I'd remove oracle-java7-installer as that particular PPA might be broken. You can then either use openjdk or install Oracle's java manually. There's some tips on Ubuntu's java page.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Package installation in Solaris 11

I have Solaris-11 and installed few non global zones inside it. I saw many of the packages are not installed in non global zone after installing it. root@pos_ddr01 # pkg list | wc -l 479 root@pos_ddr01 # root@pos_ddr01-zkmq01:~# pkg list | wc -l 206 root@pos_ddr01-zkmq01:~# I can... (1 Reply)
Discussion started by: solaris_1977
1 Replies

2. Ubuntu

Upgrade a package on Ubuntu

Hi, I want to upgrade a package to a specified version on Ubuntu, can you please shed some light? I know we can do it with but jere i want to upgrade the package to a specified version. Can someone please assist? Thanks (1 Reply)
Discussion started by: prash358
1 Replies

3. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

4. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

5. Solaris

Package installation dates

Hi All, I have a solaris machine, in which I wanted to find the Oracle Installation date and Solaris Installation date.Any ways of finding out the package installation dates. Kindly let me know Thanks Rj (1 Reply)
Discussion started by: jegaraman
1 Replies

6. Solaris

Upgrade sudo package

Can anyone tell me detailed step by step procedure on how to upgrade sudo (sudo package) from 1.6.x to 1.7.1 or 1.7.2 versions on solaris 9 and 10 boxes. (1 Reply)
Discussion started by: saintsnwarriors
1 Replies

7. Red Hat

RPM package installation

Hi, can someone help me with this? How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version? Thanks (1 Reply)
Discussion started by: naan
1 Replies

8. UNIX for Advanced & Expert Users

Package Installation HELP!

To all, I have just installed a newer software package on one of our Performance testing AIX machine A. I later found out that this package didn't need to be installed on this machine cause it was a client and not a server package. I want to back out with pkgrm but the old package doesn't... (1 Reply)
Discussion started by: liketheshell
1 Replies

9. Solaris

Solaris Package Installation

Hi Friends,, I got a doubt about installing packages after the installation of Solaris 10. Suppose if we want to get smc tool by installing some packages from cd-3,, then how can we know the packages that has to be installed to get the smc tool. Can anyone help to solve this small... (1 Reply)
Discussion started by: sdspawankumar
1 Replies

10. Solaris

Upgrade scenarios of a package in Solaris

Hi, I am upgrading a package on Solaris. After upgradation, it changes it name to a <name>.2 eg. XYZ -> XYZ.2 XYZ no longer exists in pkginfo Working on Solaris 8 sparc Any idea's what's happening here? Thanks (10 Replies)
Discussion started by: vibhor_agarwali
10 Replies
Login or Register to Ask a Question