Stuck package in sptitude

Wulfy wulfmann at tiscali.co.uk
Mon Nov 17 23:18:36 UTC 2008


Derek Broughton wrote:
> Art Alexion wrote:
>
>   
>> On Monday 17 November 2008 1:18:24 pm Wulfy wrote:
>>     
>>> Art Alexion wrote:
>>>       
>>>> I assume you have tried 'sudo aptitude -f install'?
>>>>         
>>> Yes, I had.  This is the result:
>>>
>>> wulfy at wulfy-desktop:~$ sudo aptitude -f install
>>>       
> ...
>   
>>> dpkg: error processing ttf-mathematica4.1 (--purge):
>>> subprocess pre-removal script returned error exit status 1
>>> Errors were encountered while processing:
>>> ttf-mathematica4.1
>>>       
>
> It's crude, and one of these days I'll break something, but generally 
> when a pre-removal script breaks I just go into /var/lib/dpkg/info and 
> remove the relevant .prerm file.  Then run "sudo dpkg --configure -a".
>
> Then *inst scripts are another matter, because they're probably trying 
> to set up something necessary, but the *rm scripts usually just leave 
> some cruft if you skip them.
>   
Bingo!  I removed the pre- and post-rm scripts and it's gone.  There is 
no cruft as nothing was actually installed...  :@)

-- 
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz





More information about the kubuntu-users mailing list