[Tfug] Apt state hosed

Glen Pfeiffer glen at thepfeiffers.net
Sat Aug 23 18:37:12 MST 2008


On Sat Aug 23, 2008 at 01:56:05PM -0700, John Karns wrote:
> Whenever I install a pkg via apt-get or synaptic on the Ubuntu 
> 7.x system on my laptop, after completing the DL and running 
> the initialization script for the new app, it runs a script 
> from a failed install of a different app.  That script fails 
> with an error at the end of it, leaving it in place to run and 
> fail again each time those install scripts run when installing 
> an app.  Can anyone give me a quick pointer on where to look 
> for that script so I can find it and delete it?

Not sure if this will work but how about searching for broken 
packages? Then either reinstall or purge whatever it finds.

aptitude search ~b

If aptitude or apt-get won't purge it, try dpkg -P.

-- 
Glen 





More information about the tfug mailing list