Content
Unmet dependencies Ubunty 16.04
Added by Patrick Regan over 8 years ago
Hi,
I’m receiving the following error when installing on Ubuntu 16.04:
root Ceres:/etc/apt# sudo apt-get install openproject
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:
@ openproject : Depends: libevent-extra-2.0-5 but it is not going to be installed@
@ Depends: libmagickwand-6.q16-2 but it is not installable@
E: Unable to correct problems, you have held broken packages.
I’ve reverted to the default sources.list in Ubuntu, ran apt-get update and apt-get upgrade, and then followed the installation instructions at https://www.openproject.org/open-source/download/packaged-installation-guide/. Still get the same error. Is the OpenProject repository specified correctly above?
The result of apt-get update that I ran before trying to install OpenProject returned:
root
Ceres:/etc/apt# sudo apt-get update@
Ign:1 http://us.archive.ubuntu.com/ubuntu trusty InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu trusty-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu trusty-backports InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu trusty Release
Ign:7 https://deb.packager.io/gh/opf/openproject-ce xenial InRelease
Get:8 https://deb.packager.io/gh/opf/openproject-ce xenial Release [2,482 B]
Get:9 https://deb.packager.io/gh/opf/openproject-ce xenial Release.gpg [473 B]
Get:10 https://deb.packager.io/gh/opf/openproject-ce xenial/stable/6 amd64 Packages [1,684 B]
Fetched 4,639 B in 3s (1,308 B/s)
Reading package lists... Done
W: https://deb.packager.io/gh/opf/openproject-ce/dists/xenial/Release.gpg: Signature by key
6257DF9972462F57A20FFB2AB6D583CCBD33EEB8 uses weak digest algorithm (SHA1)
Replies (7)
You seem to have held packages related to some of the dependencies of OpenProject.
Can you post the output of
dpkg --get-selections | grep hold
?Best,
Oliver
Good question, Oliver. I should have also specified:
dpkg --get-selections | grep hold
returns nothingWhat happens when you excplicitly try to install
apt-get -V install libmagickwand-6.q16-2
?Explicity install onf libmagickwand returns no installation candidate:
root
Ceres:/etc/apt# apt-get -V install libmagickwand-6.q16-2@Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmagickwand-6.q16-2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
@ @
E: Package 'libmagickwand-6.q16-2' has no installation candidate
Explicit install of libevent-extra returns held broken packages:
root
Ceres:/etc/apt# apt-get -V install libevent-extra-2.0-5@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:
@ libevent-extra-2.0-5 : Depends: libevent-core-2.0-5 (= 2.0.21-stable-1ubuntu1.14.04.1) but 2.0.21-@
stable-2 is to be installed
E: Unable to correct problems, you have held broken packages.
Weird. I have no further clues on why that happens. I’ve rolled a new 16.04 VM and can install 6.0.5. just fine. :-/
Hello,
I have just met similar problem on my fresh Debian 9.1 Stretch.
In my case it seems that package libmagickwand-6.q16-2 but it is not installable.
apt-cache search libmagickwand
returns among otherlibmagickwand-6.q16-3
to be available. Probably adding some apt options to get older packages would solve my issue or maybe you have apt repositories dedicated to Debian 9?Quoting #debian on Freenode. I’m about to deploy new VM with Jessie specifically for OpenProject needs but it would be extremely nice if your Debian repository maintainer supported the latest stable release of Debian and Ubuntu. :-)