Reply to comment

A little problem

I tried the instruccions in a directory before installing a USB drive.
So I began in step VI:
#mkdir my_amazing_distro
#debootstrap --arch i386 sid /mnt/hda8/my_amazing_distro

what I get is:

I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
(snip)
I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /mnt/hda8/my_amazing_distro dpkg --force-depends --install var/cache/apt/archives/libc6_2.3.6-7_i386.deb

If I try to do it at hand:
# chroot /mnt/hda8/my_amazing_distro/.
# dpkg --force-depends --install var/cache/apt/archives/libc6_2.3.6-7_i386.deb
(Reading database ... 583 files and directories currently installed.)
Preparing to replace libc6 2.3.6-7 (using .../libc6_2.3.6-7_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 127: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 127: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 117: /dev/null: Permission denied
/var/lib/dpkg/tmp.ci/preinst: line 122: /dev/null: Permission denied
Unpacking replacement libc6 ...
dpkg: libc6: dependency problems, but configuring anyway as you request:
libc6 depends on tzdata; however:
Package tzdata is not installed.
Setting up libc6 (2.3.6-7) ...
/var/lib/dpkg/info/libc6.postinst: line 112: /dev/null: Permission denied
/var/lib/dpkg/info/libc6.postinst: line 112: /dev/null: Permission denied
/var/lib/dpkg/info/libc6.postinst: line 29: /dev/null: Permission denied
dpkg: error processing libc6 (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libc6

Any idea about what's going wrong?
Very helpful HOWTO anyway.

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options