Upgrade
安裝 lib32-libcanberra 時升級 manjaro 系統失敗
我曾經
pacman -Syu
升級我的 Manjaro 系統,但是由於依賴關係,一些新的庫喜歡lib32-libcanberra-pulse
並且libcanberra-pulse
無法安裝。無論是否要更換庫,我已經嘗試了兩次,但兩次嘗試都失敗了。詳情如下所示。
如何安裝這些庫並繼續升級系統?
$ sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... :: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] Y :: Replace libcanberra-pulse with extra/libcanberra? [Y/n] Y :: Replace qca with extra/qca-qt5? [Y/n] Y resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer :: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer $ sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... :: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] n :: Replace libcanberra-pulse with extra/libcanberra? [Y/n] n :: Replace qca with extra/qca-qt5? [Y/n] n resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer :: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-pulse :: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer :: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-pulse
您需要閱讀公告
由於某些 libcanberra 軟體包,您在使用 pacman 時可能會被阻止更新。只需刪除這些軟體包:sudo pacman -Rdd lib32-libcanberra-pulse lib32-libcanberra-gstreamer libcanberra-pulse libcanberra-gstreamer。無論如何,我們建議使用 pamac,它會自動執行此操作:pamac update