Linux yum更新時報錯,依賴關係有問題

2021-10-03 05:29:12 字數 2699 閱讀 5500

在linux  更新 yum 的時候 , 有時候會報錯

yum update
報錯如下:

--> 完成依賴關係計算

錯誤:package: matahari-net-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidcommon.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidcommon.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

錯誤:package: matahari-service-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidcommon.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidcommon.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

錯誤:package: matahari-net-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidclient.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidclient.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

錯誤:package: matahari-host-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidclient.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidclient.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

錯誤:package: matahari-service-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidclient.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidclient.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

錯誤:package: matahari-host-0.4.0-5.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

requires: libqpidcommon.so.5()(64bit)

正在刪除: qpid-cpp-client-0.10-3.el6.x86_64 (@anaconda-centos-201111250358.x86_64/6.1)

libqpidcommon.so.5()(64bit)

updated by: qpid-cpp-client-0.14-22.el6_3.x86_64 (base)

not found

you could try using --skip-broken to work around the problem

you could try running: rpm -va --nofiles --nodigest

這種錯誤一般處理如下:

執行下面 三個命令

yum clean all

rpm --rebuilddb

yum update

但是有可能執行到第三個命令的時候還是報錯,這時候就換執行另乙個命令

yum  -y update --skip-broken
然後就可以了

使用update更新ntext欄位時報錯

在使用update語句對sqlserver中的ntext欄位進行直接更新時,使用了 結果報如下錯誤 運算元資料型別 ntext 對於 add 運算子無效。經過在網上查詢,解釋為ntext,image,text為大資料型別,不支援這樣的更新,如果要更新,則需要在更新前進行轉換。具體的解決方法如下 1 ...

編譯uboot時報錯

編譯u boot時出現 configuring for smdk6400 board ln 正在建立指向 arch arm include asm 的符號鏈結 asm 不支援的操作 make xx config 錯誤 1 然後再執行 make config的時候出現 could not find l...

pip install時報錯問題

使用pip安裝requests包時,發生報錯,起初以為是防火牆的問題,結果發現是python中配置檔案的問題。報錯內容如下 usr local lib python2.7 dist packages pip req req set.py line 129,in prep for dist self....