Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242022 > unrolled thread
| Started by | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| First post | 2021-11-11 18:40 +0100 |
| Last post | 2021-11-13 21:00 +0100 |
| Articles | 19 — 6 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-11 18:40 +0100
Re: Problem with Synaptic "Andrew M.A. Cater" <amacater@einval.com> - 2021-11-11 19:20 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-11 19:40 +0100
Re: Problem with Synaptic Brian <ad44@cityscape.co.uk> - 2021-11-11 20:10 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-11 20:40 +0100
Re: Problem with Synaptic Brian <ad44@cityscape.co.uk> - 2021-11-11 21:20 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-11 22:10 +0100
Re: Problem with Synaptic Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2021-11-12 13:40 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-12 14:10 +0100
Re: Problem with Synaptic Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2021-11-12 14:30 +0100
Re: Problem with Synaptic Gene Heskett <gheskett@shentel.net> - 2021-11-12 14:20 +0100
Re: Problem with Synaptic Greg Wooledge <greg@wooledge.org> - 2021-11-12 19:40 +0100
Re: Problem with Synaptic Gene Heskett <gheskett@shentel.net> - 2021-11-12 20:30 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-12 13:40 +0100
Re: Problem with Synaptic Gene Heskett <gheskett@shentel.net> - 2021-11-12 14:20 +0100
Re: Problem with Synaptic Brian <ad44@cityscape.co.uk> - 2021-11-12 20:10 +0100
Re: Problem with Synaptic "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2021-11-13 16:00 +0100
Re: Problem with Synaptic Brian <ad44@cityscape.co.uk> - 2021-11-13 17:40 +0100
Re: Problem with Synaptic Brian <ad44@cityscape.co.uk> - 2021-11-13 21:00 +0100
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-11 18:40 +0100 |
| Subject | Problem with Synaptic |
| Message-ID | <Dimdk-2VZ-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [next] | [standalone]
| From | "Andrew M.A. Cater" <amacater@einval.com> |
|---|---|
| Date | 2021-11-11 19:20 +0100 |
| Message-ID | <DimQ2-3o1-19@gated-at.bofh.it> |
| In reply to | #242022 |
On Thu, Nov 11, 2021 at 12:38:33PM -0500, Stephen P. Molnar wrote: > I am running buster on my Linux platform. > Perhaps consider updating to Bullseye (Debian 11) as the latest stable version. Printer driver support has been improved and many printers now run "driverless" and work out of the box. > I have installed a new Brother Laser print using the current Brother Linux > installer. > If this is the Brother installer from Brother - a commercial product - we probably can't help. Take it up with Brother? How did you download it - from where - and how did you install it > 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. > That suggest that this wasn't a Debian package recognised by packaging databases, maybe. > 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 > Not properly installed: you might apt-get --fix-install If the worst is the worst, dpkg --configure -a might help. The last resort is forcibly deleting bits of package and manually amending the package database which is somthing you _really_ don't want to do unless absolutely unavoidable. > That failed. Fin ally, 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$ > Manually delete all files under /opt/brother/scanner/* and try again? Hope this helps in some smwall way at least. With every good wish, as ever, Andy Cater
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-11 19:40 +0100 |
| Message-ID | <Din9o-3u3-13@gated-at.bofh.it> |
| In reply to | #242025 |
On 11/11/2021 01:12 PM, Andrew M.A. Cater wrote: > On Thu, Nov 11, 2021 at 12:38:33PM -0500, Stephen P. Molnar wrote: >> I am running buster on my Linux platform. >> > Perhaps consider updating to Bullseye (Debian 11) as the latest stable > version. Printer driver support has been improved and many printers > now run "driverless" and work out of the box. > >> I have installed a new Brother Laser print using the current Brother Linux >> installer. >> > If this is the Brother installer from Brother - a commercial product - we > probably can't help. Take it up with Brother? How did you download it - from > where - and how did you install it > >> 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. >> > That suggest that this wasn't a Debian package recognised by packaging > databases, maybe. > >> 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 >> > Not properly installed: you might > > apt-get --fix-install > > If the worst is the worst, > > dpkg --configure -a > > might help. The last resort is forcibly deleting bits of package and manually > amending the package database which is somthing you _really_ don't want to do > unless absolutely unavoidable. > >> That failed. Fin > ally, 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$ >> > Manually delete all files under /opt/brother/scanner/* and try again? > > Hope this helps in some smwall way at least. With every good wish, as ever, > > Andy Cater > > I appreciate your answer. However, manually deleting /opt/brother/scanner/* and reinstalling gave me the same results. -- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-11-11 20:10 +0100 |
| Message-ID | <DinCq-3UK-7@gated-at.bofh.it> |
| In reply to | #242022 |
On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > I am running buster on my Linux platform. > > I have installed a new Brother Laser print using the current Brother > Linux installer. The MFC-L2710DW is a modern device and is completely supported by packages shipped with Debian 11 (bullseye). It is also completely supported for printing via a wireless connection on buster. The packages needed for USB connections and scanning do not come with buster but can easily be obtained from https://github.com/alexpevzner/sane-airscan Do yourself a favour and read https://wiki.debian.org/CUPSQuickPrintQueues A user with a device such as yours does not need proprietary, non-free printing or scanning drivers in 2021. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-11 20:40 +0100 |
| Message-ID | <Dio5t-43Y-19@gated-at.bofh.it> |
| In reply to | #242028 |
On 11/11/2021 02:06 PM, Brian wrote: > On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > >> I am running buster on my Linux platform. >> >> I have installed a new Brother Laser print using the current Brother >> Linux installer. > The MFC-L2710DW is a modern device and is completely supported by > packages shipped with Debian 11 (bullseye). It is also completely > supported for printing via a wireless connection on buster. > > The packages needed for USB connections and scanning do not come > with buster but can easily be obtained from > > https://github.com/alexpevzner/sane-airscan > > Do yourself a favour and read > > https://wiki.debian.org/CUPSQuickPrintQueues > > A user with a device such as yours does not need proprietary, > non-free printing or scanning drivers in 2021. > Very interesting. Thank you. -- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-11-11 21:20 +0100 |
| Message-ID | <DioI9-4wc-3@gated-at.bofh.it> |
| In reply to | #242029 |
On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > > > On 11/11/2021 02:06 PM, Brian wrote: > > On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > > > > > I am running buster on my Linux platform. > > > > > > I have installed a new Brother Laser print using the current Brother > > > Linux installer. > > The MFC-L2710DW is a modern device and is completely supported by > > packages shipped with Debian 11 (bullseye). It is also completely > > supported for printing via a wireless connection on buster. > > > > The packages needed for USB connections and scanning do not come > > with buster but can easily be obtained from > > > > https://github.com/alexpevzner/sane-airscan > > > > Do yourself a favour and read > > > > https://wiki.debian.org/CUPSQuickPrintQueues > > > > A user with a device such as yours does not need proprietary, > > non-free printing or scanning drivers in 2021. > > > Very interesting. Thank you. Interesting indeed. Reaching for printing and scanning drivers, whether free or non-free, is still a user's first thought. I suppose one should work to tackle the issue you outline but switching to driverless printing and scanning is a lot easier and makes most problems involving drivers go away. Additionally, it future-proofs the printing and scanning systems. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-11 22:10 +0100 |
| Message-ID | <Dipux-51L-3@gated-at.bofh.it> |
| In reply to | #242030 |
On 11/11/2021 03:11 PM, Brian wrote: > On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > >> >> On 11/11/2021 02:06 PM, Brian wrote: >>> On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: >>> >>>> I am running buster on my Linux platform. >>>> >>>> I have installed a new Brother Laser print using the current Brother >>>> Linux installer. >>> The MFC-L2710DW is a modern device and is completely supported by >>> packages shipped with Debian 11 (bullseye). It is also completely >>> supported for printing via a wireless connection on buster. >>> >>> The packages needed for USB connections and scanning do not come >>> with buster but can easily be obtained from >>> >>> https://github.com/alexpevzner/sane-airscan >>> >>> Do yourself a favour and read >>> >>> https://wiki.debian.org/CUPSQuickPrintQueues >>> >>> A user with a device such as yours does not need proprietary, >>> non-free printing or scanning drivers in 2021. >>> >> Very interesting. Thank you. > Interesting indeed. Reaching for printing and scanning drivers, > whether free or non-free, is still a user's first thought. I > suppose one should work to tackle the issue you outline but > switching to driverless printing and scanning is a lot easier > and makes most problems involving drivers go away. Additionally, > it future-proofs the printing and scanning systems. > As much as I want to move on to Debian-11.1, I am limited by the fact that some of the software that I need for my Computational Chemistry research is not at the point where I can successful compile it Debian-11. Right now I can't run Synaptic or apt tokeep my present installation running the way I want. It's imperative that I solve the current problem -- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> |
|---|---|
| Date | 2021-11-12 13:40 +0100 |
| Message-ID | <DiE0x-5ns-3@gated-at.bofh.it> |
| In reply to | #242030 |
On 12/11/2021 09:30, Stephen P. Molnar wrote: > This is the immediate problem that I need to fix: > > comp@AbNormal:~$ sudo apt upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: The package brscan4 needs to be reinstalled, but I can't find an > archive for it. > > sudo apt update ran without any problems. Try downloading it again (since it's not part of the archives, it must be downloaded manually) and running 'apt install ./brscan4-......deb' (substituting the actual file name, naturally). The './' is necessary to tell apt it's a file name. -- finlandia:~> apropos win win: nothing appropriate. Eduardo M KALINOWSKI eduardo@kalinowski.com.br
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-12 14:10 +0100 |
| Message-ID | <DiEtA-5Mf-5@gated-at.bofh.it> |
| In reply to | #242050 |
On 11/12/2021 07:36 AM, Eduardo M KALINOWSKI wrote: > On 12/11/2021 09:30, Stephen P. Molnar wrote: >> This is the immediate problem that I need to fix: >> >> comp@AbNormal:~$ sudo apt upgrade >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: The package brscan4 needs to be reinstalled, but I can't find an >> archive for it. >> >> sudo apt update ran without any problems. > Try downloading it again (since it's not part of the archives, it must > be downloaded manually) and running 'apt install ./brscan4-......deb' > (substituting the actual file name, naturally). The './' is necessary > to tell apt it's a file name. > > I appreciate your reply. Here is what happened: comp@AbNormal:~/Desktop$ sudo apt install ./brscan4-0.4.10-1.i386.deb [sudo] password for comp: Reading package lists... Done Building dependency tree Reading state information... Done E: The package brscan4 needs to be reinstalled, but I can't find an archive for it.-- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> |
|---|---|
| Date | 2021-11-12 14:30 +0100 |
| Message-ID | <DiEMW-5SC-5@gated-at.bofh.it> |
| In reply to | #242053 |
On 12/11/2021 10:02, Stephen P. Molnar wrote: >> Try downloading it again (since it's not part of the archives, it must >> be downloaded manually) and running 'apt install ./brscan4-......deb' >> (substituting the actual file name, naturally). The './' is necessary >> to tell apt it's a file name. >> >> > I appreciate your reply. > > Here is what happened: > > comp@AbNormal:~/Desktop$ sudo apt install ./brscan4-0.4.10-1.i386.deb > [sudo] password for comp: > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: The package brscan4 needs to be reinstalled, but I can't find an > archive for it. Yeah, that didn't work. You might try copying the .deb file to /var/cache/apt/archives and then trying something like 'apt -f install' to see if it picks the file. If not, this like has some possible solutions: https://askubuntu.com/questions/88371/apt-synaptic-needs-to-reinstall-package-but-cant-find-the-archive-for-it (for another package, conincidentally also printer related). They seem to involve making apt/dpkg forget completely about the package. Backups are important here. (Well, they always are, but in this case they're even more important.) If it works you can then try reinstalling it or going the "driverless" option. -- And I alone am returned to wag the tail. Eduardo M KALINOWSKI eduardo@kalinowski.com.br
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-11-12 14:20 +0100 |
| Message-ID | <DiEDg-5Ps-3@gated-at.bofh.it> |
| In reply to | #242050 |
On Friday 12 November 2021 07:36:01 Eduardo M KALINOWSKI wrote: > On 12/11/2021 09:30, Stephen P. Molnar wrote: > > This is the immediate problem that I need to fix: > > > > comp@AbNormal:~$ sudo apt upgrade > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > E: The package brscan4 needs to be reinstalled, but I can't find an > > archive for it. > > > > sudo apt update ran without any problems. > > Try downloading it again (since it's not part of the archives, it must > be downloaded manually) and running 'apt install ./brscan4-......deb' > (substituting the actual file name, naturally). The './' is necessary > to tell apt it's a file name. No, to be precise, it tells the file system its a file in the currently cd'd to directory. Which may not be in the env's $PATH. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-11-12 19:40 +0100 |
| Message-ID | <DiJCW-jb-3@gated-at.bofh.it> |
| In reply to | #242054 |
On Fri, Nov 12, 2021 at 08:19:15AM -0500, Gene Heskett wrote: > On Friday 12 November 2021 07:36:01 Eduardo M KALINOWSKI wrote: > > > On 12/11/2021 09:30, Stephen P. Molnar wrote: > > > This is the immediate problem that I need to fix: > > > > > > comp@AbNormal:~$ sudo apt upgrade > > > Reading package lists... Done > > > Building dependency tree > > > Reading state information... Done > > > E: The package brscan4 needs to be reinstalled, but I can't find an > > > archive for it. > > > > > > sudo apt update ran without any problems. > > > > Try downloading it again (since it's not part of the archives, it must > > be downloaded manually) and running 'apt install ./brscan4-......deb' > > (substituting the actual file name, naturally). The './' is necessary > > to tell apt it's a file name. > > No, to be precise, it tells the file system its a file in the currently > cd'd to directory. Which may not be in the env's $PATH. It's both, Gene. To the file system (kernel), ./foo is a relative pathname that's 100% equivalent to foo. There's no difference at all. However, to apt-get or apt, ./foo and foo are very different arguments. The former is a relative path to a file, and the latter is a package name. This has nothing to do with $PATH, because we're not talking about running a program from the current directory. We're talking about apt-get and apt specifically. You're thinking of the conventional use of "./configure" and so on to run a program in the current directory. This is necessary because PATH should never contain "." (or the empty string) as one of its components. That would allow the execution of *anything* at all in the current directory (the way MS-DOS works). This is a huge security problem on a multi-user system, where someone could leave a script in /tmp hoping for you to run it accidentally. It *works* because the shell bypasses the PATH search if the command that you give it contains a slash character. ./configure means "run the program named configure in the current directory, and don't search anywhere else".
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-11-12 20:30 +0100 |
| Message-ID | <DiKpk-Oq-3@gated-at.bofh.it> |
| In reply to | #242088 |
On Friday 12 November 2021 13:38:48 Greg Wooledge wrote: > On Fri, Nov 12, 2021 at 08:19:15AM -0500, Gene Heskett wrote: > > On Friday 12 November 2021 07:36:01 Eduardo M KALINOWSKI wrote: > > > On 12/11/2021 09:30, Stephen P. Molnar wrote: > > > > This is the immediate problem that I need to fix: > > > > > > > > comp@AbNormal:~$ sudo apt upgrade > > > > Reading package lists... Done > > > > Building dependency tree > > > > Reading state information... Done > > > > E: The package brscan4 needs to be reinstalled, but I can't find > > > > an archive for it. > > > > > > > > sudo apt update ran without any problems. > > > > > > Try downloading it again (since it's not part of the archives, it > > > must be downloaded manually) and running 'apt install > > > ./brscan4-......deb' (substituting the actual file name, > > > naturally). The './' is necessary to tell apt it's a file name. > > > > No, to be precise, it tells the file system its a file in the > > currently cd'd to directory. Which may not be in the env's $PATH. > > It's both, Gene. > > To the file system (kernel), ./foo is a relative pathname that's 100% > equivalent to foo. There's no difference at all. > > However, to apt-get or apt, ./foo and foo are very different > arguments. The former is a relative path to a file, and the latter is > a package name. > > This has nothing to do with $PATH, because we're not talking about > running a program from the current directory. We're talking about > apt-get and apt specifically. > > You're thinking of the conventional use of "./configure" and so on to > run a program in the current directory. This is necessary because > PATH should never contain "." (or the empty string) as one of its > components. That would allow the execution of *anything* at all in > the current directory (the way MS-DOS works). This is a huge security > problem on a multi-user system, where someone could leave a script in > /tmp hoping for you to run it accidentally. > > It *works* because the shell bypasses the PATH search if the command > that you give it contains a slash character. ./configure means "run > the program named configure in the current directory, and don't search > anywhere else". Thanks Greg, a better view than mine. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-12 13:40 +0100 |
| Message-ID | <DiE0x-5ns-5@gated-at.bofh.it> |
| In reply to | #242030 |
On 11/11/2021 03:11 PM, Brian wrote: > On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > >> >> On 11/11/2021 02:06 PM, Brian wrote: >>> On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: >>> >>>> I am running buster on my Linux platform. >>>> >>>> I have installed a new Brother Laser print using the current Brother >>>> Linux installer. >>> The MFC-L2710DW is a modern device and is completely supported by >>> packages shipped with Debian 11 (bullseye). It is also completely >>> supported for printing via a wireless connection on buster. >>> >>> The packages needed for USB connections and scanning do not come >>> with buster but can easily be obtained from >>> >>> https://github.com/alexpevzner/sane-airscan >>> >>> Do yourself a favour and read >>> >>> https://wiki.debian.org/CUPSQuickPrintQueues >>> >>> A user with a device such as yours does not need proprietary, >>> non-free printing or scanning drivers in 2021. >>> >> Very interesting. Thank you. > Interesting indeed. Reaching for printing and scanning drivers, > whether free or non-free, is still a user's first thought. I > suppose one should work to tackle the issue you outline but > switching to driverless printing and scanning is a lot easier > and makes most problems involving drivers go away. Additionally, > it future-proofs the printing and scanning systems. > This is the immediate problem that I need to fix: comp@AbNormal:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done E: The package brscan4 needs to be reinstalled, but I can't find an archive for it. sudo apt update ran without any problems. -- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2021-11-12 14:20 +0100 |
| Message-ID | <DiEDg-5Ps-19@gated-at.bofh.it> |
| In reply to | #242051 |
On Friday 12 November 2021 07:30:36 Stephen P. Molnar wrote: > On 11/11/2021 03:11 PM, Brian wrote: > > On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > >> On 11/11/2021 02:06 PM, Brian wrote: > >>> On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > >>>> I am running buster on my Linux platform. > >>>> > >>>> I have installed a new Brother Laser print using the current > >>>> Brother Linux installer. > >>> > >>> The MFC-L2710DW is a modern device and is completely supported by > >>> packages shipped with Debian 11 (bullseye). It is also completely > >>> supported for printing via a wireless connection on buster. > >>> > >>> The packages needed for USB connections and scanning do not come > >>> with buster but can easily be obtained from > >>> > >>> https://github.com/alexpevzner/sane-airscan > >>> > >>> Do yourself a favour and read > >>> > >>> https://wiki.debian.org/CUPSQuickPrintQueues > >>> > >>> A user with a device such as yours does not need proprietary, > >>> non-free printing or scanning drivers in 2021. > >> > >> Very interesting. Thank you. > > > > Interesting indeed. Reaching for printing and scanning drivers, > > whether free or non-free, is still a user's first thought. I > > suppose one should work to tackle the issue you outline but > > switching to driverless printing and scanning is a lot easier > > and makes most problems involving drivers go away. Additionally, > > it future-proofs the printing and scanning systems. > > This is the immediate problem that I need to fix: > > comp@AbNormal:~$ sudo apt upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: The package brscan4 needs to be reinstalled, but I can't find an > archive for it. > > sudo apt update ran without any problems. Thats b'cuz the Brother installer puts all that stuff in /opt, and for the most part I havn't touched it in around 3 years. It has some tcp crc hiccups early on, but thats gone away a long time ago and for a cheap B&W brother lazer, and a huge MFC-J6920DW, it Just Works. And synaptic has not ever asked for my attention by fussing about it. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-11-12 20:10 +0100 |
| Message-ID | <DiK5Y-Ia-9@gated-at.bofh.it> |
| In reply to | #242051 |
On Fri 12 Nov 2021 at 07:30:36 -0500, Stephen P. Molnar wrote: > > > On 11/11/2021 03:11 PM, Brian wrote: > > On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > > > > > > > > On 11/11/2021 02:06 PM, Brian wrote: > > > > On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > > > > > > > > > I am running buster on my Linux platform. > > > > > > > > > > I have installed a new Brother Laser print using the current Brother > > > > > Linux installer. > > > > The MFC-L2710DW is a modern device and is completely supported by > > > > packages shipped with Debian 11 (bullseye). It is also completely > > > > supported for printing via a wireless connection on buster. > > > > > > > > The packages needed for USB connections and scanning do not come > > > > with buster but can easily be obtained from > > > > > > > > https://github.com/alexpevzner/sane-airscan > > > > > > > > Do yourself a favour and read > > > > > > > > https://wiki.debian.org/CUPSQuickPrintQueues > > > > > > > > A user with a device such as yours does not need proprietary, > > > > non-free printing or scanning drivers in 2021. > > > > > > > Very interesting. Thank you. > > Interesting indeed. Reaching for printing and scanning drivers, > > whether free or non-free, is still a user's first thought. I > > suppose one should work to tackle the issue you outline but > > switching to driverless printing and scanning is a lot easier > > and makes most problems involving drivers go away. Additionally, > > it future-proofs the printing and scanning systems. > > > This is the immediate problem that I need to fix: > > comp@AbNormal:~$ sudo apt upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: The package brscan4 needs to be reinstalled, but I can't find an archive > for it. Did this command then complete and give a prompt? > sudo apt update ran without any problems. Did the output say how many packages needed to be upgraded? Can you scan? -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Date | 2021-11-13 16:00 +0100 |
| Message-ID | <Dj2FA-3mg-5@gated-at.bofh.it> |
| In reply to | #242092 |
On 11/12/2021 02:01 PM, Brian wrote: > On Fri 12 Nov 2021 at 07:30:36 -0500, Stephen P. Molnar wrote: > >> >> On 11/11/2021 03:11 PM, Brian wrote: >>> On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: >>> >>>> On 11/11/2021 02:06 PM, Brian wrote: >>>>> On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: >>>>> >>>>>> I am running buster on my Linux platform. >>>>>> >>>>>> I have installed a new Brother Laser print using the current Brother >>>>>> Linux installer. >>>>> The MFC-L2710DW is a modern device and is completely supported by >>>>> packages shipped with Debian 11 (bullseye). It is also completely >>>>> supported for printing via a wireless connection on buster. >>>>> >>>>> The packages needed for USB connections and scanning do not come >>>>> with buster but can easily be obtained from >>>>> >>>>> https://github.com/alexpevzner/sane-airscan >>>>> >>>>> Do yourself a favour and read >>>>> >>>>> https://wiki.debian.org/CUPSQuickPrintQueues >>>>> >>>>> A user with a device such as yours does not need proprietary, >>>>> non-free printing or scanning drivers in 2021. >>>>> >>>> Very interesting. Thank you. >>> Interesting indeed. Reaching for printing and scanning drivers, >>> whether free or non-free, is still a user's first thought. I >>> suppose one should work to tackle the issue you outline but >>> switching to driverless printing and scanning is a lot easier >>> and makes most problems involving drivers go away. Additionally, >>> it future-proofs the printing and scanning systems. >>> >> This is the immediate problem that I need to fix: >> >> comp@AbNormal:~$ sudo apt upgrade >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: The package brscan4 needs to be reinstalled, but I can't find an archive >> for it. > Did this command then complete and give a prompt? > >> sudo apt update ran without any problems. > Did the output say how many packages needed to be upgraded? > > Can you scan? > sudo apt update ran and: 2 packages can be upgraded. Run 'apt list --upgradable' to see them. Sudo apt upgrade asked for a prompt and then spat out: Reading package lists... Done Building dependency tree Reading state information... Done E: The package brscan4 needs to be reinstalled, but I can't find an archive for it. comp@AbNormal:~$ -- Stephen P. Molnar, Ph.D. www.molecular-modeling.net 614.312.7528 (c) Skype: smolnar1
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-11-13 17:40 +0100 |
| Message-ID | <Dj4el-4my-9@gated-at.bofh.it> |
| In reply to | #242131 |
On Sat 13 Nov 2021 at 09:53:41 -0500, Stephen P. Molnar wrote: > > > On 11/12/2021 02:01 PM, Brian wrote: > > On Fri 12 Nov 2021 at 07:30:36 -0500, Stephen P. Molnar wrote: > > > > > > > > On 11/11/2021 03:11 PM, Brian wrote: > > > > On Thu 11 Nov 2021 at 14:34:20 -0500, Stephen P. Molnar wrote: > > > > > > > > > On 11/11/2021 02:06 PM, Brian wrote: > > > > > > On Thu 11 Nov 2021 at 12:38:33 -0500, Stephen P. Molnar wrote: > > > > > > > > > > > > > I am running buster on my Linux platform. > > > > > > > > > > > > > > I have installed a new Brother Laser print using the current Brother > > > > > > > Linux installer. > > > > > > The MFC-L2710DW is a modern device and is completely supported by > > > > > > packages shipped with Debian 11 (bullseye). It is also completely > > > > > > supported for printing via a wireless connection on buster. > > > > > > > > > > > > The packages needed for USB connections and scanning do not come > > > > > > with buster but can easily be obtained from > > > > > > > > > > > > https://github.com/alexpevzner/sane-airscan > > > > > > > > > > > > Do yourself a favour and read > > > > > > > > > > > > https://wiki.debian.org/CUPSQuickPrintQueues > > > > > > > > > > > > A user with a device such as yours does not need proprietary, > > > > > > non-free printing or scanning drivers in 2021. > > > > > > > > > > > Very interesting. Thank you. > > > > Interesting indeed. Reaching for printing and scanning drivers, > > > > whether free or non-free, is still a user's first thought. I > > > > suppose one should work to tackle the issue you outline but > > > > switching to driverless printing and scanning is a lot easier > > > > and makes most problems involving drivers go away. Additionally, > > > > it future-proofs the printing and scanning systems. > > > > > > > This is the immediate problem that I need to fix: > > > > > > comp@AbNormal:~$ sudo apt upgrade > > > Reading package lists... Done > > > Building dependency tree > > > Reading state information... Done > > > E: The package brscan4 needs to be reinstalled, but I can't find an archive > > > for it. > > Did this command then complete and give a prompt? > > > sudo apt update ran without any problems. > > Did the output say how many packages needed to be upgraded? > > > > Can you scan? > > > sudo apt update ran and: > > 2 packages can be upgraded. Run 'apt list --upgradable' to see them. > > Sudo apt upgrade asked for a prompt and then spat out: > > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: The package brscan4 needs to be reinstalled, but I can't find an archive > for it. > comp@AbNormal:~$ Eduardo M KALINOWSKI provided what looks like a useful link. Any help there? -- Brian. > > -- > Stephen P. Molnar, Ph.D. > www.molecular-modeling.net > 614.312.7528 (c) > Skype: smolnar1 >
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-11-13 21:00 +0100 |
| Message-ID | <Dj7lT-69a-3@gated-at.bofh.it> |
| In reply to | #242133 |
On Sat 13 Nov 2021 at 11:50:00 -0500, Stephen P. Molnar wrote: > On 11/13/2021 11:33 AM, Brian wrote: > > Eduardo M KALINOWSKI provided what looks like a useful link. Any help > > there? > > > I am certainly embarrassed. Solution #1 of the 6 in that link solved the > problem. Very satisfying. BTW, in my first post I was was not urging you to upgrade to bullseye but presenting the facts concerning printing and scanning on buster bullseye. Should you wish to free yourself from the non-free Brother drivers the choice is yours. -- Brian.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web