debootstrap fails to install libc6 installing oneiric from natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Fix Released
|
Undecided
|
Canonical Foundations Team | ||
Oneiric |
Fix Released
|
Undecided
|
Canonical Foundations Team | ||
debootstrap (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Oneiric |
Invalid
|
High
|
Unassigned | ||
mountall (Ubuntu) |
Fix Released
|
Critical
|
Steve Langasek | ||
Oneiric |
Fix Released
|
Critical
|
Steve Langasek | ||
sysvinit (Ubuntu) |
Fix Released
|
Critical
|
Steve Langasek | ||
Oneiric |
Fix Released
|
Critical
|
Steve Langasek |
Bug Description
When trying to create a minimal oneiric install from a natty release, I get this error:
leonardo@debby: sudo debootstrap oneiric oneiric
[ ... lots of Extracting here ... ]
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /home/leonardo/
If i try to chroot and execute the dpkg command line I get:
root@debby:/# dpkg --force-depends --install /var/cache/
(Reading database ... 668 files and directories currently installed.)
Preparing to replace libc6 2.13-9ubuntu2 (using .../libc6_
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
Unpacking replacement libc6 ...
dpkg: libc6: dependency problems, but configuring anyway as you requested:
libc6 depends on libc-bin (= 2.13-9ubuntu2); however:
Package libc-bin is not installed.
libc6 depends on libgcc1; however:
Package libgcc1 is not installed.
libc6 depends on tzdata; however:
Package tzdata is not installed.
Setting up libc6 (2.13-9ubuntu2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
touch: cannot touch `/var/run/
dpkg: error processing libc6 (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libc6
And it seems that /var/run is missing:
root@debby:/# ls /var
backups cache lib local log mail opt spool tmp
If I "mkdir /var/run" then I am able to install
libc6 and finish oneiric installation with dpkg.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: debootstrap 1.0.29ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sat Jul 9 14:38:42 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
PackageArchitec
ProcEnviron:
LANGUAGE=it_IT:en
PATH=(custom, user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: debootstrap
UpgradeStatus: Upgraded to natty on 2011-04-21 (78 days ago)
The problem at this bug is that libc6 postinst script is currently broken, breaking debootstrap, so marking the debootstrap bugtask as invalid
Setting up libc6 (2.13-9ubuntu2) ... init.upgraded' : No such file or directory
touch: cannot touch `/var/run/
dpkg: error processing libc6 (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libc6