Re: [Hampshire] removing a broken pakage.

Top Page

Reply to this message
Author: Mike Burrows
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] removing a broken pakage.
Hugo Mills wrote:
> On Wed, Mar 07, 2007 at 09:50:34PM -0600, Mike Burrows wrote:
>
>> marvin:/home/testermike/brother# export COLUMNS=100; dpkg -l | grep mfc240
>> iFR mfc240ccupswrapper       1.0.0-9             Brother CUPS PTouch 
>> Printer Definitions
>> ii  mfc240clpr                          1.0.0-9             Brother lpr 
>> Inkjet Printer Definitions

>>
>> this is what I got when trying to remove the above files
>>
>> marvin:/home/testermike/brother# dpkg -r iFR mfc240ccupswrapper-1.0.0-9
>>
>
>    This is pretty much wrong in every respect. :)

>
>    First, iFR are the flags indicating the package status. Secondly,
> the name of the package is mfc240ccupswrapper, not
> mfc240ccupswrapper-1.0.0-9. So the fact that it can't find
> mfc240ccupswrapper-1.0.0-9 is hardly surprising.

>
>
>> dpkg - warning: ignoring request to remove ifr which isn't installed.
>> dpkg - warning: ignoring request to remove mfc240ccupswrapper-1.0.0-9
>> which isn't installed.
>>
>
>    Try:

>
> dpkg --remove mfc240ccupswrapper
>
> as root instead.
>
>    Hugo.

>
>

Thanks Hugo. I arrived at the above syntax by trial and error in the
end but the system still reported major issues and advised a re-install,
which of course crashed. Reverting to the philosophy of deleting
individual files I located all things mfc and with fingers crossed
deleted them all. iirc I then ran purge for good measure not really
knowing if that made any difference. Subsequently the wrapper
re-installed OK! Any way back in the CUPS web interface, I was able to
installed the remote printer but still couldn't print to it. In shear
desperation I used kdeprint as root to install it again (presumably
over what had been done by CUPS) and I can now print to it!!!.

I'd give anything to understand what changed :-)

Thanks
Mike