When I try to install new package with apt-get install
, it doesn't work. apt-get update
doesn't work too.
Do you know how to reinstall it to work again?
Output from sudo dpkg --configure -a :
dpkg: dependency problems prevent configuration of tvbrowser:
tvbrowser depends on sun-java6-jre | sun-java5-jre; however:
Package sun-java6-jre is not installed.
Package sun-java5-jre is not installed.
dpkg: error processing tvbrowser (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tvbrowser
Output from sudo apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
This pastebin has the output of find /etc/apt/ -name '*.list' -ls -exec cat {} \; > repositories.txt
.
LC_ALL=C sudo apt-get install [package-name]
(replace[package-name]
with the package you're trying to install) and report the error messages. – Lekensteyn Apr 07 '11 at 13:48LC_ALL=C
before a program sets the environment variableLC_ALL
toC
. This makes a command using the English language (assuming you're not using an English system). – Lekensteyn Apr 07 '11 at 14:01sun-java6-jre
package can be found in the partner repository. Can you post your repository sources? – Lekensteyn Apr 07 '11 at 14:13tvbrowser
is not part of the Ubuntu repository by default. – Lekensteyn Apr 07 '11 at 14:33cat /etc/apt/sources.list
is not enough, you might have added some addition stuff in/etc/apt/sources.list.d
– Lekensteyn Apr 07 '11 at 16:36