0712-2888027 189-8648-0214
微信公眾號

孝感風(fēng)信網(wǎng)絡(luò )科技有限公司微信公眾號

當前位置:主頁(yè) > 技術(shù)支持 > PHP > CentOS解決cannot install both libpcap-14:1.9.1-5.el8.x86_64 and libpcap-14:1.9.1-4.el8.x86_64的方法

CentOS解決cannot install both libpcap-14:1.9.1-5.el8.x86_64 and libpcap-14:1.9.1-4.el8.x86_64的方法

時(shí)間:2024-07-22來(lái)源:風(fēng)信官網(wǎng) 點(diǎn)擊: 5523次

維護更新CentOS 8 Linux系統運行命令報錯如下:

[root@iZwz92jeancylpcm6qlws1Z yum.repos.d]# yum upgrade


Repository extras is listed more than once in the configuration
Repository epel is listed more than once in the configuration
Last metadata expiration check: 0:00:14 ago on Thu 28 Oct 2021 02:02:47 PM CST.
Error:
Problem: cannot install both libpcap-14:1.9.1-5.el8.x86_64 and libpcap-14:1.9.1-4.el8.x86_64
- package libpcap-devel-14:1.9.1-4.el8.x86_64 requires libpcap = 14:1.9.1-4.el8, but none of the providers can be installed
- cannot install the best update candidate for package libpcap-14:1.9.1-4.el8.x86_64
- problem with installed package libpcap-devel-14:1.9.1-4.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

出現上述--skip-broken的原因并不在于緩存問(wèn)題,而是libpcap軟件包沒(méi)有卸載完導致,我們可以通過(guò)查詢(xún)相關(guān)的rpm包刪除干凈,再進(jìn)行系統的更新。

[root@iZwz92jeancylpcm6qlws1Z yum.repos.d]# rpm -qa | grep libpcap |xargs rpm -e --nodeps

現在可以使用yum upgrade命令更新系統啦,風(fēng)信網(wǎng)絡(luò )建站專(zhuān)業(yè)的技術(shù)服務(wù)為您提供互聯(lián)網(wǎng)全技術(shù)棧的解決方案,針對一套管理后臺,可同時(shí)管理PC端、移動(dòng)端、APP端、各種小程序端互聯(lián)網(wǎng)應用,實(shí)現多端跨平臺運行,服務(wù)熱線(xiàn):189-8648-0214。

熱門(mén)關(guān)鍵詞: CentOS libpcap
欄目列表
推薦內容
熱點(diǎn)內容
展開(kāi)