On 09/21/2017 11:25 PM, Clint Adams wrote:
On Wed, Sep 20, 2017 at 12:16:13AM +0200, Sacha Delanoue wrote:
I tried to install libghc-xmonad-contrib-dev by doing
`apt install libghc-xmonad-contrib-dev` on an up-to-date 9.1 Debian.
The install failed with the following information:

The following packages have unmet dependencies:
  libghc-xmonad-contrib-dev : Depends: libghc-x11-xft-dev-0.3.1-c557c
E: Unable to correct problems, you have held broken packages.

I am no expert in Debian, but a search on the Internet lead me to this:
https://unix.stackexchange.com/a/392888 stating that this kind of errors
in expected in Sid. But since I am using stable I reported it.

Please reply with the output of

dpkg -s libghc-x11-xft-dev | grep -e '^Status' -e '^Version' -e '^Provides'


Hello,

Here is the output of the command:


dpkg-query: package 'libghc-x11-xft-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.


So I figured I should install it with `sudo apt-get install libghc-x11-xft-dev`

Status: install ok installed
Version: 0.3.1-11+b1
Provides: libghc-x11-xft-dev-0.3.1-c557c

With is exactly the version that was asked for 2 days ago. So I did `sudo apt-get install libghc-xmonad-contrib-dev` and now it worked. I do not know if any `apt update` did the trick. I also found in between that I was missing `deb http://security.debian.org/ stretch/updates main contrib` in my source.list I hope I did not do anything wrong and made you lose your time. But if it was indeed broken it seems fixed now.

Regards,

Sacha

Reply via email to