[Bug 807974] Re: debootstrap fails to install libc6 installing oneiric from natty
Barry Warsaw
807974 at bugs.launchpad.net
Wed Jul 13 17:49:18 UTC 2011
Breaks pbuilder too.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/807974
Title:
debootstrap fails to install libc6 installing oneiric from natty
Status in “base-files” package in Ubuntu:
New
Status in “debootstrap” package in Ubuntu:
Invalid
Status in “mountall” package in Ubuntu:
New
Status in “sysvinit” package in Ubuntu:
Triaged
Status in “base-files” source package in Oneiric:
New
Status in “debootstrap” source package in Oneiric:
Invalid
Status in “mountall” source package in Oneiric:
New
Status in “sysvinit” source package in Oneiric:
Triaged
Bug description:
When trying to create a minimal oneiric install from a natty release,
I get this error:
leonardo at 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/oneiric dpkg --force-depends --install /var/cache/apt/archives/libc6_2.13-9ubuntu2_amd64.deb
If i try to chroot and execute the dpkg command line I get:
root at debby:/# dpkg --force-depends --install /var/cache/apt/archives/libc6_2.13-9ubuntu2_amd64.deb
(Reading database ... 668 files and directories currently installed.)
Preparing to replace libc6 2.13-9ubuntu2 (using .../libc6_2.13-9ubuntu2_amd64.deb) ...
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/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
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/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
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/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
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/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
touch: cannot touch `/var/run/init.upgraded': No such file or directory
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 at 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
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
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)
PackageArchitecture: all
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/807974/+subscriptions
More information about the foundations-bugs
mailing list