Synaptic でエラーが発生します。
acroread:
Depends: acroread-l10n-en but it is not going to be installed or acroread-l10n
Depends: acroread-debian-files but it is not going to be installed
Depends: acroread-data but it is not going to be installed
Depends: ia32-libs-xulrunner but it is not going to be installed
Synapticは一般的に依存関係を自動的に解決するので、これは私にとってまれです。 acroreadは非常に人気のあるパッケージです。
この問題を解決する方法を知りたいです。
私はDeb 6 64ビットを使用しています。
から派生したacroread deb http://www.debian-multimedia.org squeeze main non-free
。
可能な関連情報については、以下を参照してください。ストレージのソースに対するセキュリティバリアの有効化。
編集(@enzotib):
# Debian packages for stable
deb http://mirror.transact.net.au/debian/ stable main contrib non-free
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.transact.net.au/debian/ stable main contrib non-free
# Security updates for stable
# deb http://security.debian.org/ stable/updates main contrib non-free
deb http://www.debian-multimedia.org squeeze main non-free
#contains Adobe Reader
@ギルス
peter@peter-deb:~$ apt-cache policy acroread acroread-debian-files ia32-libs-xulrunner
acroread-debian-files:
Installed: (none)
Candidate: 9.4.2
Version table:
9.4.2 0
500 http://www.debian-multimedia.org/ squeeze/main amd64 Packages
acroread:
Installed: (none)
Candidate: 9.4.2-0.0
Version table:
9.4.2-0.0 0
500 http://www.debian-multimedia.org/ squeeze/non-free amd64 Packages
ia32-libs-xulrunner:
Installed: (none)
Candidate: 1.8.1.3-0.5
Version table:
1.8.1.3-0.5 0
500 http://www.debian-multimedia.org/ squeeze/main amd64 Packages
@ギルス:
peter@peter-deb:~$ sudo aptitude install acroread
The following NEW packages will be installed:
acroread acroread-data{a} acroread-debian-files{a}
acroread-dictionary-en{a} acroread-l10n-en{a} ia32-libs{a}
ia32-libs-gtk{a} ia32-libs-xulrunner{a} lib32asound2{ab} lib32bz2-1.0{a}
lib32gcc1{a} lib32ncurses5{a} lib32stdc++6{a} lib32v4l-0{a} lib32z1{a}
libc6-i386{a}
0 packages upgraded, 16 newly installed, 0 to remove and 8 not upgraded.
Need to get 4,955 kB/102 MB of archives. After unpacking 254 MB will be used.
The following packages have unmet dependencies:
lib32asound2: Depends: libasound2 (= 1.0.23-2.1) but 1.0.24.1-2 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) acroread [Not Installed]
2) acroread-data [Not Installed]
3) acroread-debian-files [Not Installed]
4) acroread-dictionary-en [Not Installed]
5) acroread-l10n-en [Not Installed]
6) ia32-libs [Not Installed]
7) ia32-libs-gtk [Not Installed]
8) ia32-libs-xulrunner [Not Installed]
9) lib32asound2 [Not Installed]
Accept this solution? [Y/n/q/?] Y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
追加のエラーメッセージ:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Unable to lock the download directory
ベストアンサー1
問題分析は上記と同じです。投稿を引用するには:
The following packages have unmet dependencies:
lib32asound2: Depends: libasound2 (= 1.0.23-2.1) but 1.0.24.1-2 is installed.
The following actions will resolve these dependencies:
これは依存関係がlib32asound2
あることを意味しますlibasound2
。ただし、インストールされているバージョン(1.0.24.1-2)のバージョン番号は、必要なバージョン(1.0.23-2.1)よりもlibasound2
高くなります。lib32asound2
特別なプロンプトがないと、パッケージを低いバージョンにダウングレードしないため、パッケージマネージャ(適性)にエラーが発生します。
公開されているように、バージョン情報は次のとおりです。
libasound2:
Installed: 1.0.24.1-2
Candidate: 1.0.24.1-2
Version table:
*** 1.0.24.1-2 0 500 http://mirror.transact.net.au/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
安定したバージョンが欠けているようです。私は持っています
$ apt-cache policy libasound2
libasound2:
Installed: 1.0.23-2.1
Candidate: 1.0.23-2.1
Version table:
1.0.24.1-3 0
50 http://debian.lcs.mit.edu/debian/ unstable/main amd64 Packages
*** 1.0.23-2.1 0
500 http://debian.lcs.mit.edu/debian/ squeeze/main amd64 Packages
100 /var/lib/dpkg/status
即時の解決策は、テストソースを削除し、リストにないことをlibasound2
確認することです。apt-get purge libasound2
投稿には何も表示されませんが、apt-cache
キャッシュが最新であると仮定すると、プライベートソースに関する情報は表示されません。したがって、apt-get update
キャッシュが最新であることを確認するために実行してください。また、セキュリティアップデートを有効にして信頼性を維持します。