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

Re: how to debug an apt-get error?



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?

Toshiro


ADSL    -    Para estar las 24 horas en internet
http://www.internet.com.uy       Tel. 707.42.52



Reply to: