Lubuntu-desktopパッケージをインストールしようとしています。
user@Host:~$ Sudo apt-get install lubuntu-desktop
このエラーで失敗します:
The following packages have unmet dependencies.
lubuntu-desktop : Depends: gdebi but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
だから私は
user@Host:~$ Sudo apt-get install gdebi
につながる
The following packages have unmet dependencies.
gdebi : Depends: gdebi-core (= 0.9.5.3ubuntu2) but 0.9.5.3ubuntu1 is to be installed
Recommends: libgtk2-Perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
そこで、このlibgtk2--Perlパッケージを入手してから、gdebiを再度インストールしてみてください:
user@Host:~$ Sudo apt-get install gdebi
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.
gdebi : Depends: gdebi-core (= 0.9.5.3ubuntu2) but 0.9.5.3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
何がおかしいのか、主に、これをどうやって修正するのか?
編集:要求された情報を追加する
GDEBI
user@Host:~$ Sudo apt-cache policy gdebi
gdebi:
Installed: (none)
Candidate: 0.9.5.3ubuntu2
Version table:
0.9.5.3ubuntu2 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-proposed/universe AMD64 Packages
0.9.5.3ubuntu1 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/universe AMD64 Packages
0.9.5.3 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty/universe AMD64 Packages
GDEBI-CORE
user@Host:~$ Sudo apt-cache policy gdebi-core
gdebi-core:
Installed: 0.9.5.3ubuntu1
Candidate: 0.9.5.3ubuntu1
Version table:
*** 0.9.5.3ubuntu1 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/main AMD64 Packages
100 /var/lib/dpkg/status
0.9.5.3 0
500 http://it.archive.ubuntu.com/ubuntu/ trusty/main AMD64 Packages
システム全体の更新を実行して、再試行してください。
Sudo apt-get update && Sudo apt-get upgrade && Sudo apt-get dist-upgrade