[Bug 690888] Re: debootstrap --second-stage fails because it doesn't create /var/cache/ldconfig

Ken Sharp 690888 at bugs.launchpad.net
Wed Jan 31 20:53:50 UTC 2024


No update in over a decade! Assuming fixed.

** Changed in: debootstrap (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/690888

Title:
  debootstrap --second-stage fails because it doesn't create
  /var/cache/ldconfig

Status in debootstrap package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: debootstrap

  I'm trying to build a cross-compiling environment for arm under
  Marvick x86_64.

  Here is how I ran stage1 / stage 2:

  $fakeroot /usr/sbin/debootstrap --variant=scratchbox --foreign --arch
  armel squeeze /home/sb2/root http://ftp.fi.debian.org/debian

  
  $sb2 -eR ./debootstrap/debootstrap --second-stage
  I: Installing core packages...
  W: Failure trying to run:  dpkg --force-depends --install /var/cache/apt/archives/libc6_2.11.2-7_armel.deb

  What happened was ldconfig failed because it couldn't create
  /var/cache/ldconfig/aux-config.

  Creating the directory manually fixes the problem. Is it possible to
  create the director in the debootstrap script?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/690888/+subscriptions




More information about the foundations-bugs mailing list