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

Re: Slink_cd dependency checking is broken



On 8 Mar 1999, Steve Dunham wrote:

>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.)

<sigh> Memo to self - read docs more carefully...

>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.)

OK...

>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.)

Right.

-- 
Steve McIntyre, CURS CCE, Cambridge, UK.         stevem@chiark.greenend.org.uk
  Getting a SCSI chain working is perfectly simple if you remember that there
  must be exactly three terminations: one on one end of the cable, one on the
  far end, and the goat, terminated over the SCSI chain with a silver-handled
  knife whilst burning *black* candles. --- Anthony DeBoer


Reply to: