Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debian 0.93R6 chroot'ed under Debian's 2.6.32-5-amd64

5 views
Skip to first unread message

Ivan Shmakov

unread,
Mar 20, 2012, 10:20:06 PM3/20/12
to
... Curiously, it didn't work that well. Namely, chroot'ed Bash
seems to catch a SIGSEGV after running any external command, and
most of the commands seem to just catch one instantly.

Somehow, gcc(1) appears to work fine.

A particular problem was to extract files from those "old
format" .deb's. Like:

$ (d=/tmp/debian-chroot ; \
set -- archive.debian.org/debian/dists/Debian-0.93R6/binary/*/*.deb ; \
for f ; do \
(read -r v \
&& read -r skip \
&& dd bs="$skip" skip=1 count=0 > /dev/null \
&& tar -C "$d" -zxv) \
< "$f" ; \
done)

--
FSF associate member #7257
0 new messages