當我嘗試使用「sudo yum update」更新我的2014.03 Amazon ec2實例時,出現以下錯誤輸出。任何關於解決這個問題的建議都會增加。yum更新glibc依賴分辨率錯誤
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
2141 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.107.43.amzn1 will be updated
--> Processing Dependency: glibc-headers = 2.12-1.107.43.amzn1 for package: glibc-devel-2.12-1.107.43.amzn1.x86_64
---> Package glibc-headers.x86_64 0:2.17-36.81.amzn1 will be an update
---> Package kernel-headers.x86_64 0:3.4.73-64.112.amzn1 will be updated
---> Package kernel-headers.x86_64 0:3.10.35-43.137.amzn1 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.12-1.107.43.amzn1.x86_64 (@amzn-main)
Requires: glibc-headers = 2.12-1.107.43.amzn1
Removing: glibc-headers-2.12-1.107.43.amzn1.x86_64 (@amzn-main)
glibc-headers = 2.12-1.107.43.amzn1
Updated By: glibc-headers-2.17-36.81.amzn1.x86_64 (amzn-updates)
glibc-headers = 2.17-36.81.amzn1
Available: glibc-headers-2.17-36.80.amzn1.x86_64 (amzn-main)
glibc-headers = 2.17-36.80.amzn1
You could try using --skip-broken to work around the problem
** Found 13 pre-existing rpmdb problem(s), 'yum check' output follows:
audit-2.2-2.17.amzn1.x86_64 has missing requires of audit-libs = ('0', '2.2', '2.17.amzn1')
audit-2.3.2-3.19.amzn1.x86_64 is a duplicate with audit-2.2-2.17.amzn1.x86_64
aws-amitools-ec2-1.5.1-0.0.amzn1.noarch is a duplicate with aws-amitools-ec2-1.4.0.9-2.0.amzn1.noarch
aws-amitools-ec2-1.5.2-0.0.amzn1.noarch is a duplicate with aws-amitools-ec2-1.5.1-0.0.amzn1.noarch
glibc-2.17-36.81.amzn1.i686 has installed conflicts audit < ('0', '2.3.0', None): audit-2.2-2.17.amzn1.x86_64
glibc-2.17-36.81.amzn1.x86_64 has installed conflicts audit < ('0', '2.3.0', None): audit-2.2-2.17.amzn1.x86_64
glibc-devel-2.12-1.107.43.amzn1.x86_64 has missing requires of glibc = ('0', '2.12', '1.107.43.amzn1')
glibc-devel-2.12-1.132.45.amzn1.x86_64 is a duplicate with glibc-devel-2.12-1.107.43.amzn1.x86_64
glibc-devel-2.12-1.132.45.amzn1.x86_64 has missing requires of glibc = ('0', '2.12', '1.132.45.amzn1')
glibc-devel-2.12-1.132.45.amzn1.x86_64 has missing requires of glibc-headers = ('0', '2.12', '1.132.45.amzn1')
glibc-devel-2.17-36.81.amzn1.x86_64 is a duplicate with glibc-devel-2.12-1.132.45.amzn1.x86_64
glibc-devel-2.17-36.81.amzn1.x86_64 has missing requires of glibc-headers = ('0', '2.17', '36.81.amzn1')
glibc-headers-2.12-1.107.43.amzn1.x86_64 has missing requires of glibc = ('0', '2.12', '1.107.43.amzn1')
也許這會在ServerFault上得到更好的解答。如果是這樣,我的道歉,因爲我沒有意識到,該網站直到幾個小時前才存在。 –