22.04: Как разрешить «libdbus-1-dev: зависит: libdbus-1-3 (= 1.12.20-2ubuntu4), но необходимо установить 1.12.20-3~devacom»?

Я пытался скомпилировать пару вещей (ffmpeg, smooth) и столкнулся с этой ошибкой dbus. Кажется, это связано с Ubuntu 22.04, потому что у меня не было проблем с компиляцией ffmpeg в 18.04 или 20.04.

      $ apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt install libsdl2-dev 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt install libdbus-1-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.

2 ответа

Как зависимость для libdbus-1-devявляется libdbus-1-3 (= 1.12.20-2ubuntu4)что означает , что именно версия "1.12.20-2ubuntu4" не может работать с версией "1.12.20-3~devacom".

Смотреть в /etc/apt/sources.list.dоткуда берутся версии "девакома" и удалить.

Я предполагаю, что у вас все еще настроена панель запуска, связанная с «девакомом» из Ubuntu 20.04. Возможно это: https://launchpad.net/~devacom

добавить «libdbus-1-dev: зависит: libdbus-1-3 (= 1.12.20-2), но необходимо установить 1.12.24-0+deb10u1» в /etc/apt/sources.list

Другие вопросы по тегам