dpkg-query: error: failed to open package info file '/target/var/lib/dpkg/status' for reading: no such file or directory at the end of kubuntu desktop installation

Bug #727427 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

ISO Testing: Kubuntu Desktop i386 20110301.3

At the end of the installation there is an error about "not processing removals, since there are broken packages: g++, gcc"

From syslog:
Mar 1 20:53:40 ubuntu ubiquity: Removing fakeroot ...
Mar 1 20:53:40 ubuntu ubiquity: update-alternatives: error:
Mar 1 20:53:40 ubuntu ubiquity: scan of /target/var/lib/dpkg/alternatives failed: No such file or directory
Mar 1 20:53:40 ubuntu ubiquity:
Mar 1 20:53:40 ubuntu ubiquity: dpkg: error processing fakeroot (--purge):
Mar 1 20:53:40 ubuntu ubiquity: subprocess installed pre-removal script returned error exit status 2
Mar 1 20:53:40 ubuntu ubiquity: Removing g++ ...
Mar 1 20:53:40 ubuntu ubiquity: update-alternatives: error:
Mar 1 20:53:40 ubuntu ubiquity: scan of /target/var/lib/dpkg/alternatives failed: No such file or directory
Mar 1 20:53:40 ubuntu ubiquity:
Mar 1 20:53:40 ubuntu ubiquity: dpkg: error processing g++ (--purge):
Mar 1 20:53:40 ubuntu ubiquity: subprocess installed pre-removal script returned error exit status 2
Mar 1 20:53:40 ubuntu ubiquity: dpkg-divert: error: failed to open package info file `/target/var/lib/dpkg/status' for reading: No such file or directory
Mar 1 20:53:40 ubuntu ubiquity: dpkg-divert: error: failed to open package info file `/target/var/lib/dpkg/status' for reading: No such file or directory
Mar 1 20:53:40 ubuntu ubiquity: update-alternatives: error:
Mar 1 20:53:40 ubuntu ubiquity: scan of /target/var/lib/dpkg/alternatives failed: No such file or directory
Mar 1 20:53:40 ubuntu ubiquity:
Mar 1 20:53:41 ubuntu ubiquity: dpkg: error while cleaning up:
Mar 1 20:53:41 ubuntu ubiquity: subprocess installed post-installation script returned error exit status 2
Mar 1 20:53:41 ubuntu ubiquity: Removing gcc ...
Mar 1 20:53:41 ubuntu ubiquity: update-alternatives: error:
Mar 1 20:53:41 ubuntu ubiquity: scan of /target/var/lib/dpkg/alternatives failed: No such file or directory
Mar 1 20:53:41 ubuntu ubiquity:
Mar 1 20:53:41 ubuntu ubiquity: dpkg: error processing gcc (--purge):
Mar 1 20:53:41 ubuntu ubiquity: subprocess installed pre-removal script returned error exit status 2

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Tue Mar 1 22:19:08 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110301.3)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: added: iso-testing
Revision history for this message
Steve Langasek (vorlon) wrote :

Regression in dpkg, fixed in the latest upload. Changelog:

dpkg (1.16.0~ubuntu3) natty; urgency=low

  * Fix up the DPKG_ADMINDIR env var being passed to maintainer scripts when
    running with --root.

affects: ubiquity (Ubuntu) → dpkg (Ubuntu)
Changed in dpkg (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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