web-dev-qa-db-ja.com

E:エラー、pkgProblemResolver ::生成されたブレークを解決します。これは、保持されているパッケージが原因である可能性があります

昨日、エレメンタリーOS0.21にwineをインストールしようとしました。そうしている間、私はこの出力に出くわしました:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 adduser : Depends: passwd (>= 1:4.0.12)
 libqtgui4:i386 : Depends: libaudio2:i386 but it is not going to be installed
 libsm6 : Depends: libuuid1 (>= 2.16) but it is not going to be installed
 libuuid1:i386 : Depends: passwd:i386
                 Recommends: uuid-runtime:i386
 openssh-client : Depends: passwd
 procps : Depends: initscripts
 upstart : Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
           Depends: libnih1 (>= 1.0.0) but it is not going to be installed
           Depends: initscripts
           Depends: mountall
           Depends: ifupdown (>= 0.6.10ubuntu5)
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Sudo apt-get update、Sudo apt-getupgradeなどを試してこれを解決しようとしました。これまでのところ何も役に立たず、いくつかのパッケージを削除する必要があるかもしれませんが、問題を解決するためにどのパッケージを削除する必要があるかわかりません。

7
Haggar

試してみてください

Sudo dpkg --configure -a

印刷されたパッケージをSudo dpkg --remove [package-name]で削除します。

6
kmaci

ワインをインストールするには、apt-getの代わりにaptitudeを使用します。例えば:

Sudo aptitude install <packagename>
1
Nikesh Nayak