Debian Bug report logs - #911718
apt: error message "apt install enigmail" failure is misleading

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Daniel Kahn Gillmor <[email protected]>

Date: Tue, 23 Oct 2018 20:51:01 UTC

Severity: minor

Found in version apt/1.4.8

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], APT Development Team <[email protected]>:
Bug#911718; Package apt. (Tue, 23 Oct 2018 20:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Kahn Gillmor <[email protected]>:
New Bug report received and forwarded. Copy sent to APT Development Team <[email protected]>. (Tue, 23 Oct 2018 20:51:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Daniel Kahn Gillmor <[email protected]>
To: [email protected]
Subject: apt: error message "apt install enigmail" failure is misleading
Date: Tue, 23 Oct 2018 16:50:09 -0400
Package: apt
Version: 1.4.8
Severity: minor

Over in https://bugs.debian.org/909000,
On Mon 2018-10-22 08:28:50 -0400, Fabián Rodríguez wrote:
> This also fails in a clean Stretch install:
>
> # apt install enigmail
> 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:
>   enigmail : Depends: thunderbird (>= 1:52.0) but it is not going to be 
> installed or
>                       icedove (>= 1:52.0)
> E: Unable to correct problems, you have held broken packages.

I just want to note that this error message specifically appears to be a
bug in apt -- the reason apt won't let you install enigmail is because
the version of thunderbird in debian-security stretch/updates
(thunderbird 1:60.0) is marked with:

   Breaks: enigmail (<< 2:2~)

That's correct, because versions of enigmail prior to 2.0 do not work on
thunderbird 60 any longer.

it would be nice if apt improved the reporting here, to identify that
the cause of the problem is a conflict between the currently installed
version of thunderbird, and the desired version of enigmail.

Compare the differences with neither thunderbird nor enigmail installed:

root@stretch:~# apt install enigmail
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:
 enigmail : Depends: thunderbird (>= 1:52.0) but it is not going to be
 installed or
                      icedove (>= 1:52.0)
                      E: Unable to correct problems, you have held
 broken packages.
 root@stretch:~# apt install enigmail thunderbird
 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:
 thunderbird : Breaks: enigmail (< 2:2~) but 2:1.9.9-1~deb9u1 is to be
 installed
 E: Unable to correct problems, you have held broken packages.
 root@stretch:~#


the latter error message is clearly the correct one, but it doesn't
show in the former attempt.

    --dkg



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:40:10 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.