Debian Bug report logs - #859900
apt sometimes fails to install dependencies when recommends conflict

version graph

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

Affects: parl-desktop-eu, parl-desktop-world

Reported by: Andreas Beckmann <[email protected]>

Date: Sat, 8 Apr 2017 23:54:02 UTC

Severity: wishlist

Found in version apt/1.4

Full log


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

Received: (at submit) by bugs.debian.org; 8 Apr 2017 23:51:50 +0000
From [email protected] Sat Apr 08 23:51:49 2017
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
	HAS_PACKAGE autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 67; spammy,
	0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*F:U*anbe,
	0.000-+--H*MI:reportbug, 0.000-+--H*RU:dezi.unixos.de,
	0.000-+--H*RU:81.169.143.90
Return-path: <[email protected]>
Received: from dezi.unixos.de ([81.169.143.90] helo=mail1.unixos.de)
	by buxtehude.debian.org with esmtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1cx08z-0001Yg-OK
	for [email protected]; Sat, 08 Apr 2017 23:51:49 +0000
Received: from mail1.unixos.de (localhost [127.0.0.1])
	by mail1.unixos.de (Postfix) with ESMTP id BB2B061A49D;
	Sun,  9 Apr 2017 01:51:47 +0200 (CEST)
Received: from zam581.zam.kfa-juelich.de (ip-109-44-2-47.web.vodafone.de [109.44.2.47])
	by mail1.unixos.de (Postfix) with ESMTPSA id 33DB561A498;
	Sun,  9 Apr 2017 01:51:47 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andreas Beckmann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: apt: fails to install parl-desktop-world with --install-recommends
Message-ID: <[email protected]>
Date: Sun, 09 Apr 2017 01:51:45 +0200
X-AV-Checked: ClamAV using ClamSMTP
Delivered-To: [email protected]
Package: apt
Version: 1.4
Severity: serious
User: [email protected]
Usertags: piuparts
Control: affects -1 + parl-desktop-world parl-desktop-eu

Hi,

during a test with piuparts I noticed that parl-desktop-world could not
be tested with --install-recommends enabled.

This can be easily reproduced in a minimal chroot (where installing
Recommends is disabled by default) with

# apt-get install --install-recommends parl-desktop-world
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:
 parl-desktop-world : Depends: myspell-cs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The relevant bits of the dependency chain seem to be:

Package: parl-desktop-world
Depends: icedove-l10n-cs, myspell-cs

Package: icedove-l10n-cs
Depends: thunderbird-l10n-cs

Package: thunderbird-l10n-cs
Recommends: hunspell-cs | myspell-cs-cz

Package: hunspell-cs
Conflicts: myspell-cs

Package: myspell-cs
Replaces: myspell-cs-cz
Provides: myspell-cs-cz
Conflicts: myspell-cs-cz


This command would succeed: 
# apt-get install parl-desktop-world

and this sequence would work as well:
# apt-get install myspell-cs
# apt-get install --install-recommends parl-desktop-world


I must admit that the dependencies in parl-desktop-world should be
updated, but nevertheless apt should be able to install it in its
current state.


piuparts logs if you are interested:
https://piuparts.debian.org/stretch-rcmd/fail/parl-desktop-eu_1.9.9.log
https://piuparts.debian.org/stretch-rcmd/fail/parl-desktop-world_1.9.9.log


Andreas



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon Nov 11 14:34:55 2024; Machine Name: buxtehude

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.