[Bug 807974] Re: debootstrap fails to install libc6 installing oneiric from natty

Steve Langasek steve.langasek at canonical.com
Thu Jul 14 01:02:05 UTC 2011


The base-files side of this was fixed in base-files 6.4ubuntu1.
Changelog:

base-files (6.4ubuntu1) oneiric; urgency=low

  * Merge from Debian unstable, remaining changes:
    - Branding changes.
    - Add /etc/lsb-release file.
    - Add lsb-release-udeb package.
    - Record md5sums of unmodified /etc/profile versions so that we can
      upgrade it automatically.
    - Various bashrc extensions.
    - Do not install /usr/local dirs with staff group writeability, as there
      are cases where somebody can become any user but root (like NFS).
    - Update the motd upgrade handling to know about /etc/motd.tail.
    - Add default /etc/networks file.
    - Added information about the docs web page.
    - Restore order line in /etc/host.conf with a comment.
    - Ship /root mode 700 by default.
  * Dropped changes:
    - drop versioned dependency on libpam-modules, satisfied in all versions
      since hardy (and earlier)
    - remove /var/lock and /var/run: this is handled differently in Debian,
      no reason to diverge
    - fixing up permissions of files copied by ubiquity: transition completed
      in lucid.
    - debian/postinst.in: replace references to /var/run with /run: /run is
      still a draft standard for the time being and should only be used for
      those parts of the system that were being placed *other* than in
      /var/run for various reasons (e.g., /dev/.udev, /lib/init/rw).
      /var/run must continue to exist and be functional, and initscripts
      guarantees a smooth transition from /var/run to /run once we are ready
      to start doing away with /var/run (once the FHS officially ratifies
      /run as its replacement), so there's no reason to diverge from Debian
      here.

base-files (6.4) unstable; urgency=low

  * Added /run. Closes: #620157.
  * On new installs:
    - Create /run/lock (debian-installer will remove it but this will
    ensure that it exists even on chroot environments).
    - Symlink /var/run to /run.
    - Symlink /var/lock to /run/lock.
  * On upgraded systems, initscripts will handle the transition to /run.
  * Added "Breaks: initscripts << (2.88dsf-13.3)" to ensure that initscripts
    is upgraded first, as otherwise udev would break.
  * Thanks a lot to Roger Leigh.


** Changed in: base-files (Ubuntu Oneiric)
       Status: New => Fix Released

-- 
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