yum 更新檔案錯誤

yum 更新檔案錯誤
[root@ ec2-user]# yum update file*
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
Resolving Dependencies
--> Running transaction check
---> Package file.i686 0:5.30-11.34.amzn1 will be updated
---> Package file.x86_64 0:5.34-3.37.amzn1 will be an update
--> Processing Dependency: libmagic.so.1()(64bit) for package: file-5.34-3.37.amzn1.x86_64
---> Package file-libs.i686 0:5.30-11.34.amzn1 will be updated
---> Package file-libs.i686 0:5.34-3.37.amzn1 will be an update
--> Running transaction check
---> Package file-libs.x86_64 0:5.34-3.37.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================
 Package                                     Arch                                     Version                                           Repository                                      Size
=============================================================================================================================================================================================
Updating:
 file                                        x86_64                                   5.34-3.37.amzn1                                   amzn-updates                                    74 k
 file-libs                                   i686                                     5.34-3.37.amzn1                                   amzn-updates                                   670 k
Installing for dependencies:
 file-libs                                   x86_64                                   5.34-3.37.amzn1                                   amzn-updates                                   672 k

Transaction Summary
=============================================================================================================================================================================================
Install             ( 1 Dependent package)
Upgrade  2 Packages

Total size: 1.4 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
ERROR with transaction check vs depsolve:
file-libs = 5.30-11.34.amzn1 is needed by (installed) file-5.30-11.34.amzn1.i686

我嘗試了很多方法來繞過這個,但都不起作用,請您幫忙。

答案1

試著調查為什麼他也不更新file.i686到版本5.34-3.37.amzn1。如果您確保 yum 也能找到該更新,則更新應該會通過。

相關內容