当我尝试使用安装新软件包时apt-get install
,它不起作用。apt-get update
也行不通。
您知道如何重新安装它才能再次工作吗?
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
从输出命令和apt-get安装太阳的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
此pastebin的输出为find /etc/apt/ -name '*.list' -ls -exec cat {} \; > repositories.txt
。
我从您的错误输出中注意到的是:
dpkg: dependency problems prevent configuration of tvbrowser:
尝试:
sudo apt-get -f install
这应该满足在Ubuntu中安装.deb文件时不满足的依赖关系。最终可能会询问您是否可以下载这些依赖项。
希望这会有所帮助(如果有帮助的话)。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句