Re: how to install dpkg from scratch?
Bahadir Balban wrote:
> I have a filesystem where I want to add debian packages. How could I
> install dpkg from scratch so that I can use it to install packages?
If you intend to eventually boot with that filesystem set as root, you
may want to look at debootstrap. "apt-cache show debootstrap" reveals:
Description: Bootstrap a basic Debian system
debootstrap is used to create a Debian base system from scratch,
without requiring the availability of dpkg or apt. It does this by
downloading .deb files from a mirror site, and carefully unpacking them
into a directory which can eventually be chrooted into.
I think it should be possible to compile debootstrap on (initially)
There is also a script someone wrote to do a more complete transition
from non-Debian to Debian system, called "debtakeover":
Having never used it, I can't guarantee whether it will work.
Kevin B. McCarty <firstname.lastname@example.org> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG public key ID: 4F83C751 Princeton, NJ 08544