Bug#143307: dpkg: Also experiencing this crash after trying to upgrade my SID, which pulled in the Perl upgrades

2008-08-14 Thread Guillem Jover
summary 143307 0
tag 143307 - pending patch
severity 143307 normal
retitle 143307 dpkg: assertion when removing a lot of already removed packages
clone 143307 -1
severity -1 important
retitle -1 dpkg: --no-act not working in triggers code (regression)
thanks

The original bug report goes up to msg 38 and can be reproduced with,
“grep-status -n -FStatus not-installed -sPackage | sudo xargs dpkg -r”.
The rest (from msg 48 to 138) it's a mix of #489068 and the --no-act
regression, now cloned into a new bug report.

On Mon, 2008-05-05 at 23:40:31 +0200, Gunter Ohrner wrote:
> Followup-For: Bug #143307
> Package: dpkg
> Version: 1.14.18

> When trying to upgrade my SID system as I do every few days, dpkg crashed 
> with the above mentioned assertion failure.

The assertion is the same but the underlaying problems are different.
What you are exeperiencing is a consequence of #489068, when there's
a lot of packages in that state and dpkg cannot proceed anymore.

regards,
guillem



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#143307: dpkg: Also experiencing this crash after trying to upgrade my SID, which pulled in the Perl upgrades

2008-05-21 Thread Raphael Hertzog
severity 143307 important
thanks

On Mon, 05 May 2008, Gunter Ohrner wrote:
> Followup-For: Bug #143307
> Package: dpkg
> Version: 1.14.18
> 
> When trying to upgrade my SID system as I do every few days, dpkg crashed 
> with the above mentioned assertion failure.

AFAIK, this error message happens when dpkg is unable to find a solution
to some dependencies and is often the symptom of something broken one step
higher.

Thus downgrading to important as it's always some kind of error that does
not last. And it might be that dpkg is right to fail but that it should
simply give a more meaningful error message so that we have a better idea
of what's broken.

In your case, given the log the loop was the following: in order to
configure libpng12-dev, libpng12-0 had to be configured, but for
libpng12-0 to be configured, doc-base had to be triggered. But doc-base
was not configurable due to perl brokenness and thus could not be triggered...

Here are the relevant extract:
D40: ok 0 msgs >> doc-base depends on perl (>= 5.6.0-16); however:
  Package perl is not configured yet.
 doc-base depends on libuuid-perl; however:
  Package libuuid-perl is not configured yet.
<<
D40: checking Breaks
dpkg: dependency problems prevent configuration of doc-base:
 doc-base depends on perl (>= 5.6.0-16); however:
  Package perl is not configured yet.
 doc-base depends on libuuid-perl; however:
  Package libuuid-perl is not configured yet.
dpkg: error processing doc-base (--configure):
 dependency problems - leaving unconfigured
[...]
D40: checking dependencies of libpng12-dev (- )
D000400:   checking group ...
D000400: checking possibility  -> libpng12-0
D000400:   triggers-awaited, fixbytrig `doc-base', returning 1
D000400: found 1
D000400:   found 1 matched 0 possfixbytrig doc-base

> As far as I can see, the major change in todays upgrade which aptitude 
> wanted to install was the new perl version.
> 
> dpkg --configure -a
> 
> also always crashes with the assert, rendering dpkg more or less unusuable 
> for me ATM...

How did you get out the problematic situation? 

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#143307: dpkg: Also experiencing this crash after trying to upgrade my SID, which pulled in the Perl upgrades

2008-05-21 Thread Gunter Ohrner
Am Mittwoch, 21. Mai 2008 schrieb Raphael Hertzog:
> How did you get out the problematic situation?

Good question - I did several things at once and I don't know which 
helped. Sorry, I'm not sure which of these measured really helped. :-( I 
fear I've been "the" typical user in this regard

- I waited a few days before trying to upgrade again, as my system was
  still running, I had to rely on it for a few days and didn't want to
  mess it up completely during that time.

- I manually downgraded dpkg, which worked to my surprise.

- I'm not sure if I did anything else which could have affected the
  upgrade. Maybe I also manually configured a bunch of packages with
  problematic dependencies for removal using aptitude.

When I upgraded the system one or two weeks later using the older dpkg 
version, the upgrade succeeded. 

Maybe updated perl packages fixed something?

Greetings,

  Gunter

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Old Tom was the single cracked bronze bell in the University bell tower. 
The clapper dropped out shortly after it was cast, but the bell still 
tolled out some tremendously sonorous silences every hour.-- 
(Terry Pratchett, Eric)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+   PGP-verschlüsselte Mails bevorzugt! +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


signature.asc
Description: This is a digitally signed message part.


Bug#143307: dpkg: Also experiencing this crash after trying to upgrade my SID, which pulled in the Perl upgrades

2008-05-05 Thread Gunter Ohrner
Followup-For: Bug #143307
Package: dpkg
Version: 1.14.18

*** Please type your report below this line ***

When trying to upgrade my SID system as I do every few days, dpkg crashed 
with the above mentioned assertion failure.

As far as I can see, the major change in todays upgrade which aptitude 
wanted to install was the new perl version.

dpkg --configure -a

also always crashes with the assert, rendering dpkg more or less unusuable 
for me ATM...

Any hints?

I'll also attach a debug log.

Greetings,

  Gunter

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils 6.10-6 The GNU core utilities
ii  libc6 2.7-10 GNU C Library: Shared 
libraries

dpkg recommends no packages.

-- no debconf information


dpkglog.txt.gz
Description: GNU Zip compressed data


signature.asc
Description: This is a digitally signed message part.