On Thu, Sep 29, 2005 at 12:01:18PM +1000, Christopher JS Vance wrote: > With RH/Fedora, I can make a few empty directories, run rpm --initdb > (or whatever the spelling is), and then use rpm either after chroot or > with an option to change the directory it considers as root. > > What is the equivalent in Ubuntu/Debian? I have come to prefer apt > over rpm for upgrading, but it's not obvious how to start the thing > out. The man page for dpkg is up(?) to the usual GNU standards for > documentation.
What you want is debootstrap. Does everything you're looking for, but in a single command. I note with some interest that somebody has recently written rpmstrap (name might be slightly different) to provide an equivalent to debootstrap for RPM-based distros. - Matt -- "I invented the term object-oriented, and I can tell you I did not have C++ in mind." -- Alan Kay -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html