brscan2

Udvarias Ur udvarias1 at gmail.com
Sat Jul 4 01:02:40 UTC 2020


Dear List,

The ongoing saga of of my scanner woes.

As I mentioned in a previous posting, my computer failed. When I 
transferred the HDs to the new (2nd hand) computer I bought to replace 
it the scanner was not working.

(BTW. this has nothing to do with a change in the OS version. The 
scanner has worked just fine from Ubuntu 10.04 – 11.10 on one computer 
and 12.04 – 16.04 the one that just failed.)

In an effort to get the scanner working, I tried adding missing data to 
the package, brscan. Unfortunately I broke it.

Now, every time I start Synaptic I get this error message.

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


When I click the OK button Synaptic shuts down.

Thank you so much Mr. Echols for the information about the Brother 
install script. I haven't been to that page since 2010 when I 1st 
downloaded the Linux drivers. While there I also found a newer version 
the brscan-skey package.

Unfortunately brscan2, mfc240ccupswrapper, and mfc240clpr don't have all 
the data they are supposed to have. In particular 'Section,' 'Priority,' 
and 'Installed-Size.'

When I tried to add these I broke the package. The following are the 
portions of the Brother install script's output regarding brscan2.

-------------------------------------------------------------------

Original install after repackaging


You are going to install following packages.
    brscan2-0.2.5-1.i386.deb
dpkg -i --force-all brscan2-0.2.5-1.i386.deb
Selecting previously unselected package brscan2.
(Reading database ... 345104 files and directories currently installed.)
Preparing to unpack brscan2-0.2.5-1.i386.deb ...
Unpacking brscan2 (0.2.5-1) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/debian-binary', which is also in 
package mfc240ccupswrapper 1.0.1-1
Setting up brscan2 (0.2.5-1) ...
/var/lib/dpkg/info/brscan2.postinst: 3: 
/var/lib/dpkg/info/brscan2.postinst: 
/usr/local/Brother/sane/setupSaneScan2: not found
dpkg: error processing package brscan2 (--install):
  subprocess installed post-installation script returned error exit 
status 127
Errors were encountered while processing:
  brscan2

---------------------------------------------------------------------

Attempt to reinstall

(After reverting, I vaguely remember (it was a very late night), to the 
original packages.


You are going to install following packages.
    brscan2-0.2.5-1.i386.deb
dpkg -i --force-all brscan2-0.2.5-1.i386.deb
Selecting previously unselected package brscan2.
(Reading database ... 345131 files and directories currently installed.)
Preparing to unpack brscan2-0.2.5-1.i386.deb ...
/var/lib/dpkg/info/brscan2.prerm: 3: /var/lib/dpkg/info/brscan2.prerm: 
/usr/local/Brother/sane/setupSaneScan2: not found
dpkg: warning: subprocess old pre-removal script returned error exit 
status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: 
/usr/local/Brother/sane/setupSaneScan2: not found
dpkg: error processing archive brscan2-0.2.5-1.i386.deb (--install):
  subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/brscan2.postinst: 3: 
/var/lib/dpkg/info/brscan2.postinst: 
/usr/local/Brother/sane/setupSaneScan2: not found
dpkg: error while cleaning up:
  subprocess installed post-installation script returned error exit 
status 127
Errors were encountered while processing:
  brscan2-0.2.5-1.i386.deb
----------------------------------------------------------------------

Does anyone know what this all means, and better yet how to fix it.

BTW. /usr/local/Brother was not found due to an error I made placing the 
install directory tree in the directory data. i.e. data/usr/local/Brother …

P.S. I've manually removed /data and all it contained. Though the files 
in /var/lib/dpkg/info … are still there. Could they be causing the problem?


-- 
Udvarias Ur

This letter was generated and sent from Thunderbird 60.9.0 on Ubuntu Linux 16.04.6 LTS.

Cette lettre a été générée et envoyée à partir de Thunderbird 60.9.0 sur Ubuntu Linux 16.04.6 LTS.





More information about the ubuntu-users mailing list