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

Problem with Synaptic



I am running buster on my Linux platform.

I have installed a new Brother Laser print using the current Brother Linux installer.

The printer is working, but when I try running Synaptic I get an error:

E: The package brscan4 needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.

I tried Goggling but didn't find any solutions. Then I tried uninstalling the offending package and got an error:

comp@AbNormal:~/Downloads/Brother-MFC-L2710DW$ sudo ./uninstaller_brscan4
[sudo] password for comp:
dpkg: error processing package brscan4 (--purge):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 brscan4

That failed. Finally, I tried reinstalling with dpkg, which also failed. The complete log is attached.

At this point I am completely beyond my depth in even starting to understand the error messages, let alone solving it.

Help will be much appreciated.

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

comp@AbNormal:~/Downloads/Brother-MFC-L2710DW$ l
total 544
-rw-r--r-- 1 root root 109890 May  7  2021 brscan4-0.4.10-1.amd64.deb
-rw-r--r-- 1 root root  71758 May  7  2021 brscan-skey-0.3.1-2.amd64.deb
-rwxr-xr-- 1 comp comp 143001 Nov 10 07:28 linux-brprinter-installer-2.2.3-1
-rw-r--r-- 1 root root  80536 Nov 11 07:25 mfcl2710dwpdrv-4.0.0-1a.i386.deb
-rw-r--r-- 1 root root 122978 May  7  2021 mfcl2710dwpdrv-4.0.0-1.i386.deb
-rw-r--r-- 1 comp comp   5907 Nov 11 07:26 run.installer.log
-rwxr--r-- 1 root root     96 Nov 11 07:26 uninstaller_brscan4
-rwxr--r-- 1 root root     43 Nov 11 07:26 uninstaller_brscan-skey
-rwxr--r-- 1 root root   1177 Nov 11 07:26 uninstaller_MFCL2710DW
comp@AbNormal:~/Downloads/Brother-MFC-L2710DW$ sudo ./uninstaller_brscan4
[sudo] password for comp:
dpkg: error processing package brscan4 (--purge):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 brscan4
comp@AbNormal:~/Downloads/Brother-MFC-L2710DW$ sudo dpkg -i brscan4-0.4.10-1.amd64.deb
Selecting previously unselected package brscan4.
(Reading database ... 495753 files and directories currently installed.)
Preparing to unpack brscan4-0.4.10-1.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/info/brscan4.prerm: 4: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/udev_uninstall.sh: not found
rm: cannot remove '/opt/brother/scanner/brscan4/udev_uninstall.sh': No such file or directory
dpkg: warning: old brscan4 package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/tmp.ci/prerm: 4: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/udev_uninstall.sh: not found
rm: cannot remove '/opt/brother/scanner/brscan4/udev_uninstall.sh': No such file or directory
dpkg: error processing archive brscan4-0.4.10-1.amd64.deb (--install):
 new brscan4 package pre-removal script subprocess returned error exit status 1
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/info/brscan4.postinst: 19: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/udev_config.sh: not found
dpkg: error while cleaning up:
 installed brscan4 package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 brscan4-0.4.10-1.amd64.deb
comp@AbNormal:~/Downloads/Brother-MFC-L2710DW$


Reply to: