我对 Trusty 也存在同样的问题。
我可以收到命令来解决我的问题吗?
我无法安装 Skype、wine 和所有带有 386 库的软件。(总是存在依赖问题)。
对不起,我的英语水平还不够好,我才刚刚开始学习这门语言。
例如对于 wine 安装:
bruno@bruno:~$
sudo apt-get install wine
[sudo] password for bruno:
Reading Package Lists... Done Building Dependency Tree reading of
information of state... Fact Some packages can not be installed.
This may mean that you have asked the impossible, or, if you use the
unstable distribution, that some packages have not yet been created
or are not out of Incoming.
The following information should help you to resolve the situation:
The following packages contain dependencies not satisfied:
wine: Depends: wine1.6 but will not be installed
E: impossible to correct the problems, bad packets are in mode
"keep in the State".
对于 Skype 来说:
bruno@bruno:~$
sudo apt-get build-dep -a i386 skype
Reading Package Lists... Done Building Dependency Tree
reading of information of state... Done
The following packages contain dependencies not met:
libqtwebkit-dev:i386: Depends: libqtwebkit4:i386 (= 2.3.2-0Ubuntu7) but
will not be installed
E: to build dependencies for Skype can not be met.
答案1
我已经尝试过 aptitude 并且我发现:
...The following packages have nonsatisfied dependences: libcgmanager0: Breakage: libcgmanager0: i386 (! = 0.39-2ubuntu2~ubuntu14.04.1) but 0.24-0ubuntu7.5 must be installed. libcgmanager0: i386: Breakage: libcgmanager0 (! = 0.24-0ubuntu7.5) but 0.39-2ubuntu2~ubuntu14.04.1 is installed. The following actions will make it possible to solve these dependences: To preserve the following packages in their current version: 1) libcgmanager0: i386 [Not installed] 2) libgl1-mesa-glx-lts-vivid: i386 [Not installed] 3) libqt4-opengl: i386 [Not installed] 4) libqtwebkit4: i386 [Not installed] 5) libudev1: i386 [Not installed] 6) skype [Not installed]
然后,我做了:
bruno@bruno:〜$ sudo aptitude libcgmanager0
installation: i386 E: Impossible to obtain the /var/lib/dpkg/lock bolt - open (11: Resource temporarily nonavailable) E: Impossible to lock the repertoire of administration (/var/lib/dpkg/). It is possible that another process uses it. W: Impossible to lock the file hides: that is in general due to a simultaneous installation of packages with dpkg or another tool like APT. Opening in reading mode alone: NONE the modifications of the state of the packages which you will be able to make will be preserved. E: Impossible to obtain the /var/lib/dpkg/lock bolt - open (11: Resource temporarily nonavailable) E: Impossible to lock the repertoire of administration (/var/lib/dpkg/). It is possible that another process uses it.