Page MenuHomePhabricator

Resolve unmet dependencies in Dockerfile for Qurator_CuriousFacts
Closed, ResolvedPublic

Description

The build for Qurator_CuriousFacts suddenly became problematic.
libcurl4-openssl-dev conflicts with libcurl4-gnutls-dev:

sudo apt-get install -y  git-core libcairo2-dev libcurl4-openssl-dev libgit2-dev libicu-dev libssl-dev libxml2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
git is already the newest version (1:2.17.1-1ubuntu0.8).
git set to manually installed.
libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1).
libcairo2-dev set to manually installed.
libicu-dev is already the newest version (60.2-3ubuntu3.1).
libicu-dev set to manually installed.
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.9).
libxml2-dev is already the newest version (2.9.4+dfsg1-6.1ubuntu1.3).
libgit2-dev is already the newest version (0.26.0+dfsg.1-1.1ubuntu0.2).
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:
 libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but 7.58.0-2ubuntu3.13 is to be installed
 libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but 7.58.0-2ubuntu3.13 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Event Timeline

  • Tested with WMDE Engineering;
  • the Dockerfile was corrupted;
  • build fixed.