libkf5coreaddons-dev-bin breaks libkf5coreaddons-bin-dev
Closed, ResolvedPublic

Description

Note: I am on Kubuntu 17.10 with Backports PPA enabled.

While trying to get my build environment setup for KDE, I was instructed to install "sudo apt install libkf5.*-dev". The search returned two conflicting packages, libkf5coreaddons-dev-bin, and libkf5coreaddons-bin-dev. Bin-dev is older.

The following packages have unmet dependencies:
 libkf5coreaddons-dev-bin : Breaks: libkf5coreaddons-bin-dev
          Breaks: libkf5coreaddons-bin-dev:i386

Omitting libk5fcoreaddons-bin-dev from the install list provided a successful install of the necessary dependencies.

acrouthamel updated the task description. (Show Details)
rikmills added a subscriber: rikmills.EditedFeb 19 2018, 8:47 PM

I was instructed to install "sudo apt install libkf5.*-dev".

What/who instructed you to do that? That is not a sensible command. especially on a system where apt will see -dev packages from both the PPA and the ubuntu archive. Some of which due to renames or file moves, may deliberately have their dependencies set to break/replace/conflict, to ensure that the two cannot be co-installed, and that a system upgrading replaces the package with the old name with the new smoothly. The breaks/replaces are quite deliberate, and what we need for that.

rikmills closed this task as Resolved.Feb 19 2018, 9:17 PM

OK. I have added a paragraph to that link

The "libkf5.*-dev" wildcard may also sometimes fail in situations where you are using mixed repositories, where some packages have been renamed and break/replace/conflict with versions that apt can still find in the other older base repository. For example, using development packages from the Kubunu backports PPA on top of the main ubuntu archive. In these cases you should determine the development packages you require, and install the latest versions only.