Can't install libgloox-dev due to libtasn1-6-dev dependency issue

4 Antworten [Letzter Beitrag]
soy comic
Offline
Beigetreten: 12/17/2016

It looks like I cannot install libgloox-dev. When I try to see what went wrong it might be due to libtasn1-6-dev version number conflict.

Any ideas?

$ sudo apt install libgloox-dev
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:
libgloox-dev : Depends: libgnutls28-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install libgnutls28-dev
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:
libgnutls28-dev : Depends: libtasn1-6-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install libtasn1-6-dev
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:
libtasn1-6-dev : Depends: libtasn1-6 (= 4.13-2) but 4.13-2+8.0trisquel1 is to be installed
Recommends: libtasn1-doc (= 4.13-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ dpkg -l | grep libtasn
ii libtasn1-6:amd64 4.13-2+8.0trisquel1 amd64 Manage ASN.1 structures (runtime)
$ grep DESCRIPTION /etc/lsb-release
DISTRIB_DESCRIPTION="Trisquel GNU/Linux 9.0, Etiona"

Ark74

I am a member!

I am a translator!

Offline
Beigetreten: 07/15/2009

Please check your sources.list seems like you have mixed sources and that is preventing the correct installation.

See 4.13-2+8.0trisquel1 << package from 8.0

Remove/comment all repositories from 8.0

As etiona can install libgloox-dev without issues.

Regards.

soy comic
Offline
Beigetreten: 12/17/2016

Thank you! This pointed me in the right direction. I found that the following was needed:

$ sudo apt-get install libtasn1-6:amd64=4.13-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
libtasn1-6
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 4 not upgraded.
Need to get 36.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://ftp.acc.umu.se/mirror/trisquel/packages etiona/main amd64 libtasn1-6 amd64 4.13-2 [36.2 kB]
Fetched 36.2 kB in 1s (26.8 kB/s)
dpkg: warning: downgrading libtasn1-6:amd64 from 4.13-2+8.0trisquel1 to 4.13-2
(Reading database ... 357672 files and directories currently installed.)
Preparing to unpack .../libtasn1-6_4.13-2_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.13-2) over (4.13-2+8.0trisquel1) ...
Setting up libtasn1-6:amd64 (4.13-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...

After this, install of libgloox-dev succeeded.

soy comic
Offline
Beigetreten: 12/17/2016

I found other similar packages and "downgraded" them in a similar manner.

soy comic
Offline
Beigetreten: 12/17/2016

I had already verified that only etiona repositories were listed in sources.list prior to these changes, as well.