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. Cheers, aj -- Anthony Towns <[EMAIL PROTECTED]> <http://azure.humbug.org.au/~aj/> I don't speak for anyone save myself. GPG signed mail preferred. The daffodils are coming. Are you? linux.conf.au, February 2002, Brisbane, Australia --- http://linux.conf.au/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]