[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Non-debian tools for fetching DEB packages?



On Tue, Jan 16, 2007 at 06:41:29PM -0800, Joe Emenaker wrote:
> The one I'm currently working on has to do with the fact that 
> debootstrap (which debtakeover invokes to do most of the work) doesn't 
> grab any of the net-tools or other networking stuff or apt or aptitude. 
> dpkg *is* installed.... but I'm going to need a way to get the DEB's 
> without using apt, etc.
> [...]
> Ideas, anybody?

are you sure that debootstrap doesn't install apt? that's a bit
surprising, since it's such a core component of debian (and has been for
several years)....you can (in theory) run debian without apt, but nobody
does. and all of the scripts in /usr/lib/debootstrap mention apt as a
base or required package.


anyway, if it doesn't install it, you can download apt (with ftp
or whatever) and all dependancies from your nearest debian mirror.
install them with dpkg. then use apt as normal (after configuring
/etc/apt/sources.list, start off with "apt-get update" followed by
"apt-get dist-upgrade", then use "apt-get install " to install whatever
other packages you need/want).

dependancies for apt are:

Depends: libc6 (>= 2.3.6-6), libgcc1 (>= 1:4.1.1-12), libstdc++6 (>= 4.1.1-12), debian-archive-keyring

dependancies for debian-archive keyring are:

Depends: gnupg (>= 1.0.6-4)

and dependancies for gnupg are:

Depends: libbz2-1.0, libc6 (>= 2.3.6-6), libldap2 (>= 2.1.17-1), libreadline5 (>= 5.2), libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.2.1), gpgv, makedev (>= 2.3.1-13) | devfsd | hurd


so you'll need to download and install apt, libc6, libgcc1, libstdc++6,
debian-archive-keyring, gnupg, libbz2-1.0, libldap2, libreadline5,
libusb-0.1-4, zlib1g, gpgv, and makedev.

makedev needs a relatively recent version of udev to be installed, which
depends/pre-depends on:

Depends: libc6 (>= 2.3.6-6), libselinux1 (>= 1.32), libvolume-id0 (>= 0.103-1), debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.0-6)
Pre-Depends: debconf (>= 0.5) | debconf-2.0


some of these may already be installed by debtakeover or debootstrap.

craig

-- 
craig sanders <cas@taz.net.au>           (part time cyborg)



Reply to: