If those pre-remove and post-remove scripts are failing, then lets get rid of them. They appear to not be needed anyway since the package never made it onto the system in the first place.

rm /var/lib/dpkg/info/brscan4.prerm /var/lib/dpkg/info/brscan4.postinst

Then try purging the package again

sudo dpkg --purge --force-remove-reinstreq brscan4

Brian Cluff

On 10/15/2012 08:25 AM, Wayne Davis wrote:
:-(    GOT THIS:

/wayne@8-Core:~$ *sudo dpkg --purge --force-remove-reinstreq brscan4*//
//dpkg: warning: overriding problem because --force enabled://
// Package is in a very bad inconsistent state - you should//
// reinstall it before attempting a removal.//
//(Reading database ... 413752 files and directories currently installed.)//
//Removing brscan4 ...//
///var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm:
/opt/brother/scanner/brscan4/setupSaneScan4: not found//
//dpkg: error processing brscan4 (--purge)://
// subprocess installed pre-removal script returned error exit status 127//
//This software is based in part on the work of the Independent JPEG
Group.//
///var/lib/dpkg/info/brscan4.postinst: 11:
/var/lib/dpkg/info/brscan4.postinst:
/opt/brother/scanner/brscan4/setupSaneScan4: not found //
//dpkg: error while cleaning
up:                                                                                 
                                                                                  
&
nbsp;&nbs p; //
// subprocess installed post-installation script returned error exit
status 127 //
//Errors were encountered while processing: ; &n bsp; //
// brscan4 /


On 10/14/2012 11:43 PM, Brian Cluff wrote:
*Try doing this: **
**dpkg --purge --force-remove-reinstreq brscan4 *

Brian Cluff

On 10/14/2012 11:29 PM, Wayne Davis wrote:

I want to get rid of this:



wayne@8-Core:~$ sudo dpkg -C

The following packages are in a *mess* due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
* brscan4              Brother Scanner Driver*

wayne@8-Core:~$ sudo dpkg*-r *brscan4-0.2.4-0.amd64
dpkg: warning: there's no installed package matching
brscan4-0.2.4-0.amd64

wayne@8-Core:~$ sudo dpkg -r brscan4-0.2.4-0.amd64*.deb*
dpkg: error: you must specify packages by their own names, not by
quoting the names of the files they come in


wayne@8-Core:~$ sudo dpkg *-P *brscan4
dpkg: error processing brscan4 (--purge):
  Package is in a very bad inconsistent state - you should
  reinstall it before attempting a removal.
Errors were encountered while processing:
  brscan4


wayne@8-Core:~$ ls

brscan4-0.2.4-0.amd64

*
**
Any Ideas?*


---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to