The package brother-udev-rule-type1 needs to be reinstalled, but I can't find an archive for it.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm pretty sure the printer would be supported by some of Mint's repo drivers.
Have you tried to ask your printer dialog to search for the appropriate driver? Or CUPS?
This means that the script /var/lib/dpkg/info/brother-udev-rule-type1.prerm did not exit cleanly because the file /opt/brother/scanner/udev-rules/type1/install
is missing. Issues like this are not uncommon in low quality third party packages provided by hardware vendors.
Anyway please post that script somewhere that we can see. If it is short, maybe just here in [code] tags.
The ultimate solution will probably be just a one line edit, adding "exit 0" near the start of that script.
And ran into an issue. It won't let me save the changes because it is placed in the var folder.
I get the message:
Quote:
Could not save the file /var/lib/dpkg/info/brother-udev-rule-type1.prerm.
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.
I'm gonna look around for that command that gives me access to var, I forgot it.
I'm pretty sure the printer would be supported by some of Mint's repo drivers.
Have you tried to ask your printer dialog to search for the appropriate driver? Or CUPS?
I might have seen that, but it's been at least a year since I installed the files, co I couldn't tell for sure. The reason I looked for the driver from Brother is because I was having trouble printing PDF's with the one linux found.
If that'd be the final solution, how to remove all traces of this current driver?
reb@reb-HP-250-G7-Notebook-PC:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package brother-udev-rule-type1 needs to be reinstalled, but I can't find an archive for it.
Update manager is in a perpetual state of "Checking for Updates". When opened, it won't load
This is nonsense.
The script exits gracefully before doing anything.
The 'exit 0' has to be the last line of the script.
That is exactly the point. The script is failing because the thing it is trying to execute does not exist.
It is a pre-remove script. OP was trying to uninstal this broken package. Presumably OP manually removed /opt/brother/scanner/udev-rules/type1/install and the pre-remove script is too dumb to deal with that situation.
That is exactly the point. The script is failing because the thing it is trying to execute does not exist.
It is a pre-remove script. OP was trying to uninstal this broken package. Presumably OP manually removed /opt/brother/scanner/udev-rules/type1/install and the pre-remove script is too dumb to deal with that situation.
reb@reb-HP-250-G7-Notebook-PC:/var/lib$ sudo dpkg --purge brother-udev-rule-type1
dpkg: error processing package brother-udev-rule-type1 (--purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
brother-udev-rule-type1
reb@reb-HP-250-G7-Notebook-PC:/var/lib$ sudo dpkg --purge brother-udev-rule-type1
dpkg: error processing package brother-udev-rule-type1 (--purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
brother-udev-rule-type1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.