Slink_cd dependency checking is broken
The dependency checking in slink_cd is rather broken. pkg-order loads
the /var/lib/dpkg/status file before doing dependency checking.
An example of the problem: The i386 and sparc CDs were created on
systems with "whiptail" installed, so pppconfig ends up on CD1 and
whiptail ends up on CD2. (pppconfig depends on whiptail.)
Doing:
./pkg-order --nocheck-conflicts --nooutput-order --check-recommends --installed-packages /tmp/FOO /archive/tmp/Packages-main.1
gives:
======================================================================
Unknown:
Package: alsa-modules
whiptail
Package: pppconfig
whiptail
======================================================================
2 Critical errors encountered. Exiting.
Where /tmp/FOO is empty. (For some reason /dev/null doesn't seem to
work.)
Also, Steve, the correct shell syntax is: ">filename 2>&1", rather than
"2>&1 >filename". (The former pipes everything to to the file, and the
latter points stderr to the file that 1 points to and then points 1 to
"filename", leaving stderr going to the former stdout.)
Steve
dunham@cse.msu.edu
Reply to:
- References:
- Re: slink CDs
- From: Steve McIntyre <stevem@chiark.greenend.org.uk>