1

I have been installing software packages from USC and I am getting the following error message. Worked fine one minute then the message below. Tried to search but couldn't find a solution Previously I was installing the sun-java6-jre package in terminal and had an connection outage and it didnt complete. I attempted an apt-get -f install with no success. i dont know what to try next. I'm relatively new to Linux. The answer provided with a similar question on this site didnt resolve the issue for meClick on this link

An unhandlable error occured There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.

Details

File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper return depends, self._cache.required_download, \

File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package.

Terminal Output Link http://dl.dropbox.com/u/48466855/Terminal%20output.odt

stephenmyall
  • 9,855

1 Answers1

1

ok - you are using a PPA that when installing producing the following screen.

enter image description here

I looks like you closed this screen unexpectedly causing the package manager issues.

Restart the package installation via

sudo apt-get install -f

When you get to this screen, press the TAB key or possibly the arrow keys to navigate to the OK button. Press ENTER

This will allow your installation to complete successfully.

Note - this is not the recommended method to install Java.

The links below will explain the community accepted Java installation methods.

If you follow this, then first clean up your installation by removing the PPA.

sudo apt-get install ppa-purge
sudo ppa-purge ppa:ferramroberto/java
sudo apt-get update && sudo apt-get upgrade

This should now report no more errors.

N.B. if you definitely want JRE 6 - just substitue the 1.7 reference with 1.6 in my answer.


Linked Question2:

  1. How do I install Java?
  2. How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?
fossfreedom
  • 172,746