Please add a distribution build option to avoid installing update and uninstall parts of hplip

Bug #1080353 reported by Daniel Pielmeier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
Gentoo Linux
Unknown
Medium

Bug Description

When installing hplip from a package manager it does not make sense to include tools like automatic upgrade or uninstall options because the package manager should take care of such actions. Is it possible to add a build option which disables this portions of hplip so the users are not tempted to use them. I don't know all the internals but excluding hp-uninstall and hp-upgrade and disabling the upgrade checkbox in the hp-toolbox would be something to begin with.

Revision history for this message
In , Ambroz Bizjak (ambrop7) wrote :

In hp-toolbox->Settings->Tray icon, "Check and notify HPLIP updates" is not checked. However I've seen hplip checking for updates:

ps -Af
ambro 1534 1434 0 17:59 ? 00:00:00 /usr/bin/python2 /usr/bin/hp-upgrade --check
ambro 1561 1534 0 17:59 pts/0 00:00:00 /usr/bin/wget --cache=off --timeout=60 --output-document=/tmp/tmpcGjk0Q http://feed2js.org/feed2js.php?src=http%3A%2F%2Fsourceforge.net%2Fexport%2Frss2_projnews.php%3Fgroup_id%3D149981

pstree
     ├─python2─┬─hp-upgrade───wget
     │ └─python2───python2

I've noticed this because feed2js.org was down and the wget command stayed alive for a long time.

Reproducible: Didn't try

Steps to Reproduce:
1. Use iptables to filter out traffix to feed2js.org, or wait until it goes down.
2. Start hp-systray or hp-toolbox
3. Check process list and find hp-uprade and wget running

Revision history for this message
In , Ambroz Bizjak (ambrop7) wrote :

I've just noticed that the "check updates" setting cannot be changed via hp-toolbox. In the tray icon pane of the settings dialog within hp-toolbox (!), changing it and clicking OK does not actually change it. It does however change when going via tray icon->Settings.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Checking for updates and installing them does not make sense for distribution users, because updates are controlled via the package manager. I am thinking of opening an upstream bug about aiding an option to disable update checking.

Changed in gentoo:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

In version 3.14.3 I have added a patch which removes the update and uninstall python scripts as well as the autoconfiguration and plug-in related stuff from the udev rules. This should prevent hplip from upgrading.

Changed in gentoo:
status: New → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.