I am trying to install a package from my company's private Debian package repository, which is a Nexus artifact repository. This repository contains a package called ceres with two available versions: 1.13.0-dittobuild1 and 1.13.0-dittobuild2. That is, these packages have the same upstream version, but differ in the Debian version. 1.13.0-dittobuild2 is a newer (internal) build of the package.
I have another package, ditto-ar, that lists ceres=1.13.0-dittobuild1 as a dependency. That is, it depends on the older version of the ceres package.
When I try to install the ditto-ar package use apt-get (apt-get install ditto-ar
), the installation fails with this output:
Reading package lists... Done
Building dependency tree
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:
ditto-ar : Depends: ceres (= 1.13.0-dittobuild1) but 1.13.0-dittobuild2 is to be installed
E: Unable to correct problems, you have held broken packages.
Why does it say that 1.13.0-dittobuild2 of the ceres package is to be installed, when ditto-ar specifically pins 1.13.0-dittobuild1, and why can't I install this package?
I am using Ubuntu 16.04.