我正在尝试安装yum-utils软件包以解决安装损坏的问题,但由于冲突而失败:
sudo yum install yum-utils --skip-broken
返回
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.30-6.11.amzn1 will be installed
--> Processing Conflict: yum-utils-1.1.30-6.11.amzn1.noarch conflicts system-release <= 2011.09-1.33
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
yum-utils-1.1.30-6.11.amzn1.noarch from amzn-updates
我发现自己处于陷阱状态,我不知道如何解决它。由于安装中断,无法安装任何yum包(它建议运行yum-utils中的yum-complete-transaction),但安装yum-utils也会失败。
非常感谢任何帮助。
谢谢, 中号
答案 0 :(得分:2)
好的,我遇到了同样的问题 - yum遭到轰炸,我无法安装yum-complete-transaction。
最后,我做的是从另一个亚马逊实例复制/ usr / sbin / yum-complete-transaction,然后运行它,在完成剩余的事务后安装'yum-utils'包。
我知道这可能不是解决问题的“最正确”的方法,但它很有效,坦率地说,如果它很愚蠢但有效,那不是愚蠢的:)