【安装失败】sudo apt-get -y install doca-tools doca-ofed mlnx-fw-updater
原因sudoapt-get-yinstalldoca-tools doca-ofed mlnx-fw-updater安装失败报错airanspark-49a3:~$sudoapt-get-yinstalldoca-tools doca-ofed mlnx-fw-updater Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selectingdoca-runtimeinstead ofdoca-toolsSome packages could not be installed. This may mean that you have requested an impossible situation orifyou are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information mayhelpto resolve the situation: The following packages have unmet dependencies: libdbus-1-dev:Depends: libdbus-1-3(1.14.10-4ubuntu4)but1.14.10-4ubuntu4.1 is to be installed E: Unable to correct problems, you have held broken packages.检查aptpolicy libdbus-1-dev libdbus-1-3打印airanspark-49a3:~$aptpolicy libdbus-1-dev libdbus-1-3 libdbus-1-dev: Installed:(none)Candidate:1.14.10-4ubuntu4 Version table:1.14.10-4ubuntu4500500http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages libdbus-1-3: Installed:1.14.10-4ubuntu4.1 Candidate:1.14.10-4ubuntu4.1 Version table: ***1.14.10-4ubuntu4.1100100/var/lib/dpkg/status1.14.10-4ubuntu4500500http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages airanspark-49a3:~$实际显示airanspark-49a3:~$grep-Rnoble-updates/etc/apt/grep-Rnoble-security/etc/apt/ grep: /etc/apt/auth.conf.d/90ubuntu-advantage: Permission denied /etc/apt/sources.list.d/dgx.sources:Suites: noble noble-updates /etc/apt/sources.list.d/ubuntu.sources:Suites: noble noble-updates noble-backports /etc/apt/sources.list.d/ubuntu.sources.save:Suites: noble noble-updates noble-backports /etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Suites: noble noble-updates noble-backports /etc/apt/sources.list.d/dgx.sources.save:Suites: noble noble-updates grep: /etc/apt/auth.conf.d/90ubuntu-advantage: Permission denied /etc/apt/sources.list.d/ubuntu.sources:Suites: noble-security noble /etc/apt/sources.list.d/ubuntu.sources.save:Suites: noble-security /etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Suites: noble-security解决编辑sudonano/etc/apt/sources.list.d/ubuntu.sources写成Types: deb URIs: http://ports.ubuntu.com/ubuntu-ports Suites: noble noble-updates noble-backports noble-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg运行sudoaptcleansudoaptupdate