[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#172339: marked as done ([dpkgpm] Packages with circular dependencies may fail due to being configured in different dpkg invocations when installing many packages)



Your message dated Thu, 20 Jan 2005 22:52:52 +0100
with message-id <20050120215252.GM4296@mykerinos.kheops.frmug.org>
and subject line Bug#283923: close?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Dec 2002 12:07:52 +0000
>From rene@debian.org Mon Dec 09 06:07:52 2002
Return-path: <rene@debian.org>
Received: from ping-ef-gw.ping.de (noefs.ping.de) [62.72.90.14] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18LMhT-0000CD-00; Mon, 09 Dec 2002 06:07:51 -0600
Received: from [10.11.11.81] (helo=stan)
	by noefs.ping.de with esmtp (Exim 3.35 #1 (Debian))
	id 18LMh6-0000Ru-00; Mon, 09 Dec 2002 13:07:28 +0100
Received: from rene by stan with local (Exim 3.36 #1 (Debian))
	id 18LMgi-0001sZ-00; Mon, 09 Dec 2002 13:07:04 +0100
Date: Mon, 9 Dec 2002 13:07:04 +0100
From: Rene Engelhard <rene@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: Joey Hess <joeyh@debian.org>, 172057@bugs.debian.org,
	Gaute Hvoslef Kvalnes <gaute@verdsveven.com>
Subject: apt feeds packages with circular deps to dpkg problematically
Message-ID: <20021209120704.GA7098@rene-engelhard.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8"
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Reportbug-Version: 2.9
X-Operating-System: Debian GNU/Linux
X-GnuPG-Key: $ finger rene@db.debian.org
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-10.7 required=5.0
	tests=EMAIL_ATTRIBUTION,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,
	      SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: apt
Version: 0.5.4
Severity: important

Hi,

it seems that joeyh's Mail was not regognized. So I file a new Bug
instead:

Joey wrote:

--- snip ---
Package: apt
Version: probably 0.5.4

Gaute Hvoslef Kvalnes wrote:

Gaute Hvoslef Kvalnes wrote:
> There's a (Norwegian) bug report at Skulelinux:
>
> <URL: http://bugs.skulelinux.no/show_bug.cgi?id=3D220 >
>
> ... with this installation log, from which the excerpt in bug#165036 was
> retrieved:
>
> <URL: http://bugs.skulelinux.no/showattachment.cgi?attach_id=3D29 >
>
> I don't see any sign of openoffice.org failing to configure. dpkg just tr=
ies
> to configure openoffice.org-l10n-en first, and fails.The order of
> configuration seems random. Another installation log, using a slightly
> different set of packages, chooses openoffice.org first and succeeds:


I've talked to the dpkg people, and dpkg apparently will do the right
thing if asked to configure both packages in the cycle in the same dpkg
run. (Namely, it will break the cycle.) As near as we can tell, what
happens in this transcript is apt is panicing because so many packages
are to be installed, and feeding them to dpkg --unpack in chunks. Then
at the end, it is using dpkg --configure, and instead of doing just a
single configure run with --all or a full list of packages, it is
passing it small shunks of packages to configure. Or maybe just one at a
time..

Either way, in this case dpkg is asked to configure
openoffice.org-l10n-en and is not asked to configure openoffice.org in
the same run. And so it blows up.

So this doesn't just effect openoffice, but can randomly affect any pair
of packages with a dependency cycle if they're installed along with a
lot of other packages and apt begins chunking things like this. So it'll
tend to hit new debian installs.

=46rom irc:

<elmo_home> I think this is the apt thing where it has a hardcoded limit
on how much it'll feed dpkg in any one go
<wiggy> apt seems to always do that
<wiggy> elmo_home: could very well be
<joeyh> so it tells dpkg to just unpack stuff in the first run? Yugh
<elmo_home> and it's basically set too low if you're installing a bucket
load of packages.. mostly it only bites buildds, but if this is a
freshish install it could bite you there too
<Kamion> apt CVS appears to make that configurable
<Kamion> I don't understand why it can't just be nuked though - kernel
argv limits?
<elmo_home> Kamion: apparently it broke older dpkg's and culus is
paranoid *shrug*

Apt could use bigger chunks (making this scenario much less likely
anyhow), or use the new dpkg control pipe stuff, or I suppose it could
detect cycles and make sure dpkg is asked to configure them all at the
same time,

Until this is fixed, you OOo guys might be justified in removing the
cycle. Of course since any of our many other dependency cycles can also
trigger the behavior, that is as best a very weak workaround.

--- snip ---

Regards,

Rene

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux stan 2.4.18 #1 Son Nov 3 01:29:12 CET 2002 i686
Locale: LANG=3Dde_DE@euro, LC_CTYPE=3Dde_DE@euro

Versions of packages apt depends on:
ii  libc6                        2.3.1-5     GNU C Library: Shared librarie=
s an
ii  libstdc++2.10-glibc2.2       1:2.95.4-15 The GNU stdc++ library

-- no debconf information


--=20
 .''`.  Rene Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD4DBQE99Ido+FmQsCSK63MRAu1XAJiOFNDzPQ5iSzTPZayKlOW5tIqVAJ98L+Lz
FsplPI5BVjw914oXJAhdeA==
=nfDG
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--

---------------------------------------
Received: (at 283923-done) by bugs.debian.org; 20 Jan 2005 21:53:26 +0000
>From bubulle@kheops.frmug.org Thu Jan 20 13:53:26 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CrkF3-0005rT-00; Thu, 20 Jan 2005 13:53:26 -0800
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP
	id 703E14F984; Thu, 20 Jan 2005 22:52:54 +0100 (CET)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 26363-07; Thu, 20 Jan 2005 22:52:53 +0100 (CET)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP
	id 5F0224F971; Thu, 20 Jan 2005 22:52:53 +0100 (CET)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id DE43B23274; Thu, 20 Jan 2005 22:52:52 +0100 (CET)
Date: Thu, 20 Jan 2005 22:52:52 +0100
From: Christian Perrier <bubulle@debian.org>
To: Joey Hess <joeyh@debian.org>, 283923-done@bugs.debian.org
Subject: Re: Bug#283923: close?
Message-ID: <20050120215252.GM4296@mykerinos.kheops.frmug.org>
References: <[🔎] 20050120201351.GA8975@kitenet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[🔎] 20050120201351.GA8975@kitenet.net>
X-message-flag: Outlook is a good virus spreading tool. It can send mail, too.
X-pot_a_miel: honeypot@kheops.frmug.org
User-Agent: Mutt/1.5.6+20040907i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 283923-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Quoting Joey Hess (joeyh@debian.org):
> AFAIK this bug is fixed and can be closed. All the tasks are
> successfully installing with the new apt.


As the bug reporter, I confirm this. I even didn't remembered that
Matt didn't closit, waiting for input about it.

Hence closing myself.

Thanks for the reminder. We may probably now revive the things you
disabled in tasks, don't you think (changes in tasksel 2.18)?

These myspell-* packages are of some importance for good working
localized OO installs.




Reply to: