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

Re: packages required in installation (Re: apt-utils in debootstrap)



Le Wed, Jan 02, 2002 at 02:40:14PM +1000, Anthony Towns écrivait:
> On Wed, Jan 02, 2002 at 01:22:11PM +0900, Junichi Uekawa wrote:
> > The following script checks for validity of priority/section (and 
> > I think this is what should be done, please tell me if something looks wrong) :
> > for A in $(/usr/sbin/debootstrap --arch $ARCH --print-debs woody); do (apt-cache show $A | awk '/^Package:/{package=$2} /^Section:/{section=$2} /^Priority:/{priority=$2} END{print package " " section " " priority}') ; done | awk '{if ($2 != "base" && $3 != "required") {print "Bad base program: " $0 }} '
> > 
> > I believe, if the section is "base", or is "required" priority,
> > it should be found in the first CD. Would "important" suffice?
> 
> No, "base" cannot be determined by priorities and sections. You need to 
> get debootstrap, and run "debootstrap --print-debs woody" to get a list
> of packages debootstrap expects on the first CD. If those packages aren't
> on the first CD, it's a bug in the CD.

I didn't understand Junichi's message as this is what is already done
for debian-cd (although we must manually update a task file to make it
true).

Junichi, what were you trying to do ?

The first CD does always have :
- what debootstrap needs
- a debian standard system (all packages of priority >= standard)
- the packages that are in section "base"

Cheers,
-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Formation Linux et logiciel libre : http://www.logidee.com



Reply to: