[Bug 807974] Re: debootstrap fails to install libc6 installing oneiric from natty
dj_palindrome
807974 at bugs.launchpad.net
Fri Aug 19 06:04:18 UTC 2011
On Fri, Jul 15, 2011, Steve Langasek wrote:
> Oneiric is a development release which is currently in the alpha stage of
> its development cycle. Total unusability is a very real and ordinary risk
> of running the software at this stage.
I'm not complaining, since I'm not one of your developers, and therefore
do not have to eat your dog food unless I choose to.
> Sorry, that's unrelated to any of the above changes and no one else is
> reporting such a problem. The more likely culprit here would be some kind
> of disk corruption or hardware failure.
How odd, when the "hardware" in question is completely virtualized, and,
whenever it did occur, it would occur simultaneously in two parallel,
but physically distinct and independent virtualization environments,
both of which emulate completely different hardware, and use distinct
virtual-disk formats.
In fairness, though, this has not happened in quite a while now. I'm
only reminded because it surface for me again today, although the system
was nice enough to recover itself gracefully (on previous occasions,
dpkg --configure -a sufficed):
E: Sub-process /usr/bin/dpkg received a segmentation fault.
A package failed to install. Trying to recover:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-8-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Setting up libstdc++6-4.5-dev (4.5.3-6ubuntu1) ...
Setting up g++-4.5 (4.5.3-6ubuntu1) ...
--
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:
Fix Released
Status in “debootstrap” package in Ubuntu:
Invalid
Status in “mountall” package in Ubuntu:
Fix Released
Status in “sysvinit” package in Ubuntu:
Fix Released
Status in “base-files” source package in Oneiric:
Fix Released
Status in “debootstrap” source package in Oneiric:
Invalid
Status in “mountall” source package in Oneiric:
Fix Released
Status in “sysvinit” source package in Oneiric:
Fix Released
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