sudo apt get upgrade在ubuntu 18.04上提供了一个错误:i386
我正在使用Ubuntu 18.04。当我尝试sudo apt get upgrade在ubuntu 18.04上提供了一个错误:i386,ubuntu,upgrade,ubuntu-18.04,dpkg,Ubuntu,Upgrade,Ubuntu 18.04,Dpkg,我正在使用Ubuntu 18.04。当我尝试 sudo apt-get upgrade 我得到以下错误: dpkg: dependency problems prevent configuration of ibverbs-providers:i386: ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libcxgb3-1 and is installed. ibverbs-providers:i386 (17.1-1ubuntu0.2)
sudo apt-get upgrade
我得到以下错误:
dpkg: dependency problems prevent configuration of ibverbs-providers:i386:
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libcxgb3-1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libcxgb3-1.
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libipathverbs1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libipathverbs1.
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libmlx4-1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libmlx4-1.
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libmlx5-1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libmlx5-1.
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libmthca1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libmthca1.
ibverbs-providers:amd64 (17.1-1ubuntu0.2) breaks libnes1 and is installed.
ibverbs-providers:i386 (17.1-1ubuntu0.2) provides libnes1.
dpkg: error processing package ibverbs-providers:i386 (--configure):
dependencNo apport report written because the error message indicates its a followup error from a previous failure.
y problems - leaving unconfigured
Errors were encountered while processing:
ibverbs-providers:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
我无法升级任何东西。看起来您的
ibverbs提供程序:i386
软件包有一个新版本,它会破坏您安装的几个软件包。它似乎正在破坏的软件包是它自己的64位版本,不幸的是,这是非常常见和恼人的
作为临时解决方案,您可以使用apt的hold选项来不升级包,也不更新包
sudo-apt-mark-hold-ibverbs提供程序:i386
你可以从ubuntu的网站上找到更多关于hold的信息
但是,我建议您尝试解决此依赖性问题,尝试使用更现代/用户友好的工具,如apt
,或者如果无法使用aptitude
(您必须安装aptitude)。apt-get是dpkg的一个低级抽象,并不真正适合人类使用(尽管包括我在内的许多人都有使用它的习惯,因为它永远都是debian的默认值)apt
是一个更高级别的管理器,可以尝试解决依赖关系和错误,而aptitude是一个成熟的软件包管理器,具有终端GUI和许多“智能”功能
根据我的经验,天资将解决这个问题,apt可以解决这个问题 我通过删除ibverbs提供程序解决了这个问题,然后
apt autoremove
删除未使用的依赖项,然后重新安装它。如果任何其他包依赖于它们,它们将不会被删除。