Internal Error, Could not perform immediate configuration (2) on libpam0g

Bug #217435 reported by Brian Murray
16
Affects Status Importance Assigned to Milestone
liblocale-gettext-perl (Ubuntu)
Fix Released
High
Michael Vogt
Hardy
Fix Released
High
Michael Vogt

Bug Description

I was trying to upgrade from update 7.10 to 8.04 on 2008-04-14 and my upgrade aborted due to the package libpam0g.

Relevant bits from /var/log/dist-upgrade/main.log

2008-04-14 16:00:54,839 ERROR SystemError from cache.commit(): E:Internal Error, Could not perform immediate configuration (2) on libpam0g
2008-04-14 16:00:54,841 WARNING cache.commit() raised a SystemError but pkg_failures count is 0
2008-04-14 16:00:54,842 DEBUG running apport_pkgfailure() update-manager: SystemError in cache.commit(): E:Internal Error, Could not perform immediate configuration (2) on libpam0g
2008-04-14 16:00:54,844 DEBUG can't find apport gui
2008-04-14 16:00:55,115 DEBUG no file '/etc/apt/apt.conf.d/20archive'
2008-04-14 16:00:55,393 ERROR SystemError from cache.commit(): installArchives() failed
2008-04-14 16:00:55,394 WARNING cache.commit() raised a SystemError but pkg_failures count is 0
2008-04-14 16:00:55,394 DEBUG running apport_pkgfailure() update-manager: SystemError in cache.commit(): installArchives() failed
2008-04-14 16:00:55,396 DEBUG can't find apport gui
2008-04-14 16:00:55,499 DEBUG no file '/etc/apt/apt.conf.d/20archive'

Tags: gutsy2hardy
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I can reproduce this with ubuntu 7.10 server image from isv-images.ubuntu.com (fully up-to-date).

Changed in update-manager:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
deleted (mdeleted2023) wrote :

This happening for me too

Revision history for this message
Michael Vogt (mvo) wrote :

The problem is that the apt in gutsy has a problem with the ordering code for complex chains of packages that need immediate configuration.

libpam0g depends on debconf-i18n that depends on liblocale-gettext-perl and that one needs a newer perl-base. This breaks the gutsy apt odering code. It seems to be triggered because debconf/liblocale-gettext-perl moves from "important" to "required" between gutsy->hardy.

A workaround would be to make the dependency of liblocale-gettext-perl less strict (not depend on the debian revision so that the dependency is satisfied in gutsy). I don't know enough about perl to judge properly, but the output of nm shows that it should work (and some simple tests support this).

The altnerative is to backport the fix and add it as a prerequisites for the release-upgrader. This means that we have to backport the fix, build a release-upgrader-apt package for gutsy and change debian-cd to include the backport on the gutsy CD.

Revision history for this message
Michael Vogt (mvo) wrote :

I milestone this one as its pretty common. No package yet until we decide what the best course of action is.

Changed in update-manager:
milestone: none → ubuntu-8.04
Revision history for this message
Colin Watson (cjwatson) wrote :

dh_perl makes XS modules depend on the current version of perl in the build environment, since there's no shlibdeps mechanism so that's the best it can do.

liblocale-gettext-perl's XS is very simple, and looking through the diff between perl 5.8.8-6 (in edgy) and perl 5.8.8-12 I don't see anything that would break it. Thus I think you're safe to wind the dependency back to 5.8.8-6. I would recommend doing so by sedding the substvars file after dh_perl runs, and being sure that you only do so for 5.8.8-* versions; intrepid will use perl 5.10 and I doubt that will be ABI-compatible.

Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Workaround uploaded, waiting for approval

Changed in liblocale-gettext-perl:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package liblocale-gettext-perl - 1.05-2ubuntu1

---------------
liblocale-gettext-perl (1.05-2ubuntu1) hardy; urgency=low

  * debian/rules:
    - relax the dependencies to workaround ordering
      problem in apt on gutsy->hardy upgrade (LP: #217435)

 -- Michael Vogt <email address hidden> Tue, 15 Apr 2008 16:33:19 +0200

Changed in liblocale-gettext-perl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.