FS#74971 - [hplip] hp-plugin needs to be re-run after upgrade

Attached to Project: Arch Linux
Opened by Reginald (Uqbar) - Monday, 06 June 2022, 06:54 GMT
Last edited by Toolybird (Toolybird) - Sunday, 31 July 2022, 02:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In case the hp-lugin script has been run to make some HP devices working, when an upgrade is applied then it is mandatory to re-run the hp-plugin script
or the devices needing the plugin to work won't work anymore.


Additional info:
* Repository : extra
* Name : hplip
* Version : 1:3.22.4-2
* Architecture : x86_64

Steps to reproduce:
1. Install hplip and download and install the plugin with hp-plugin
2. Check the device is working.
2. Wait for a package upgrade
3. Don't re-run the hp-plugin

Actual result:
The devices depending on the plugin don't work anymore.

Expected result:
The devices depending on the plugin keep working.

Suggested solution:
Have the hp-plugin python script automatically re-run soon after the upgrade if it has been run before the upgrade.

Possible workaround:
Print a banner warning the user she needs to run the script soon after the upgrade if it has been run before the upgrade.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 31 July 2022, 02:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  per @AndyRTR "Arch won't pull/run/re-run any external binary plugin blob. That's the admins task."
Comment by Reginald (Uqbar) - Friday, 08 July 2022, 01:57 GMT
  • Field changed: Percent Complete (100% → 0%)
Your consideration is fair.
What about my proposed workaround?
The point is that the package installation leaves a non-working setup.
Comment by Toolybird (Toolybird) - Sunday, 31 July 2022, 02:37 GMT
I have a HP printer myself that needs the binary plugin for the scanner to work. Like you, I got sick of having to re-run the plugin-script after every upgrade. Then I remembered the wiki [1] advice to install the hplip-plugin from the AUR. I've never had to worry about it since. Do yourself a favor and go down this route. Shout-out to @andmars who always updates the AUR pkg in a timely fashion :)

[1] https://wiki.archlinux.org/title/CUPS/Printer-specific_problems#HPLIP

Loading...