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

Re: Bug#149974: debootstrap should download aptitude



On Sat, 15 Jun 2002 13:20:33 +1000
Anthony Towns <aj@azure.humbug.org.au> wrote:

> On Fri, Jun 14, 2002 at 04:02:11PM +0200, Ivo Timmermans wrote:
> > The new base-config package in sid depends on aptitude, so debootstrap
> > should download it.  
> 
> Bleh. Guys, please file the bug on debootstrap *before* adding new
> dependencies to base packages and breaking it completely. 
> 
> Joey, are you sure it wouldn't have been better to make base-config use
> aptitude if present, and file a wishlist bug on debootstrap to ensure
> its presence on normal installs?

I've pondered with the code a bit, and I think this is an overkill to
require aptitude in base.
We already have network tools up and running, and we can download
whatever package into the system.
With debootstrap-created base system, it should be possible to install aptitude
with the existing tools.

Something like:

--- lib/60pkgsel-orig   Sat Jun 15 12:53:18 2002
+++ lib/60pkgsel        Sat Jun 15 12:54:00 2002
@@ -31,6 +31,9 @@
        if [ "$RET" = dselect ]; then
                run dselect select
        elif [ "$RET" = aptitude ]; then
+               if [ ! -e /usr/bin/aptitude ]; then
+                       run apt-get install aptitude
+               fi
                run aptitude
        elif [ "$RET" = tasksel ]; then
                run tasksel -riqs


-- 
dancer@debian.org  http://www.netfort.gr.jp/~dancer




-- 
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: