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

Re: Bug#37688: apt plus amnt cdrom is broke again



On Fri, 14 May 1999, Adam Di Carlo wrote:

> 
> >I can't do anything with this, I need a strace of apt-get failing,
> >particularly of the cdrom method, run
> >
> >strace -o /tmp/jkn -ff apt-get install ash
> >
> >And send me the results (mime, gzip)
> 
> Ah... Debian oughta buy you a CD-ROM or something.
> 
> Well, here ya go.

Uh um.. Either you are not running this on an intel machine or strace is
-royally- messed up, these traces make very little sense, consider:

fork()                                  = 24292
wait4(24292, 0xeffff434, 0, NULL) = -1 ECHILD (No child processes)

Wtf? There are other bizzar screw ups too.

Anyhow - examining the trace I belive that there is something wrong with
the way it has ID'd the CD. Can you send me over a copy of
/var/state/apt/cdroms.list - I have a theory..

Also, can you grab a copy of the source and edit methods/cdrom.cc arounds
line 125 put this:

   while (1)
   {
      if (IdentCdrom(CDROM,NewID) == false)
         return false;
      cerr << NewID << ", " << ID << endl;

      // A hit

and run apt with -qq and see what sorts of md5sums it prints.

Jason


Reply to: