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

Re: how to debug an apt-get error?



On Sat, Dec 20, 2003 at 04:48:53PM -0300, Toshiro wrote:
> On Saturday 20 December 2003 16:38, Kent West wrote:
> > Toshiro wrote:
> > >I'm running sid, I'm having a problem with the upgrade of kdm, the error
> > > just says that the postinstallation script return an error (30). This
> > > message is very cryptic and it's pretty much useless.
> >
> > What tool are you using to do the upgrade? apt-get upgrade?
> > dist-upgrade? aptitude? synaptic? dselect? other?
> 
> I've tried with dselect and apt-get upgrade
> 
> >
> > > Anybody know if there is a procedure to see what is going on really? I
> > > mean, I'd like to watch the execution of the postinstall script to see
> > > where is failing. Is it possible to do that?
> >
> > You might try "locate kdm | grep postinst.sh" or something similar to
> > find the file.
> 
> Ok, I can see the file, but I want to monitor its execution when I run 
> 'apt-get upgrade' (like for example I could easily do with a shell script 
> using sh -x). Is this possible?

Yes, package metadata is stored in /var/lib/dpkg/info/<package>.* 

It looks like this error has already been reported:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224567

You can always view a package's bugs by visiting
http://bugs.debian.org/<package> or using by apt-listbugs.

-- 
A mushroom cloud has no silver lining.



Reply to: