HP Device Manager ( hplip ) update requires manual intervention

Update of HP Device Manager

The coming update of HP Device Manager requires manual intervention.

The filesystem permissions for the hplip folder may be different on your system.

The package default is 755. To ensure the correct permissions execute this command

sudo chmod 755 /usr/share/hplip/* -R

You are advised to use pacman to overwrite the offending files

sudo pacman -Syu --overwrite /usr/share/hplip/\*
23 Likes
Permissions on hplip folder
hplip package will fail update due to existing files
Printing is broken after upgrading to hplip 1:3.20.2-1
[Testing Update] 2020-03-19 - Kernels, KDE-Git, Appstream-data, Firefox-Dev
[Stable Update] 2020-03-24 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
printing problems 2020 with updates
[Testing Update] 2020-03-27 - Palemoon, Firefox-Dev, AMDVLK, UKUI, Python, Haskell
[Testing Update] 2020-03-26 - Kernels, Browsers, UKUI, Pamac, Haskell & Python
hplip can't download plugin
hplip update failure [Solved]
2nd update fails due to conflicting files
[Testing Update] 2020-04-07 - KDE-Git, Nvidia 440.82, Firefox 75.0, Haskell, Python
Error while updating to 19.0.2
[Stable-Staging Update] 2020-03-23 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
[Testing Update] 2020-03-23 - KDE-Git, Gnome, Python, Haskell
"Can't detect file type" and "Filter failed" Errors on HP LaserJet Professional P1102 after Manjaro 19.0.2 update
[Testing Update] 2020-03-22 - KDE-Git, Matcha, Manjaro-Asian-Input-Support, Haskell, Python
[Testing Update] 2020-03-21 - Kernels, Pamac 9.4, Systemd, Mesa, LibreOffice
[Stable Update] 2020-03-24 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
Manjaro LTS (or the idea of slow mirrors).
[Testing Update] 2020-04-05 - Pamac 9.4.1, x265, Foomatic-DB, Calamares-Git, Haskell, Python
[Testing Update] 2020-04-04 - Qt 5.14.2, Firefox 74.0.1, UKUI, Pamac, Haskell, Python
[Testing Update] 2020-04-03 - Kernels, Systemd 245.4, Calamares, Mesa 20.0.3, Haskell, Python
[Testing Update] 2020-04-01 - Plasma 5.18.4.1, Breath2, Haskell, Python
[Testing Update] 2020-03-31 - Gnome 3.36.1, XFCE, Browsers, Xorg-Server, Pamac
[Testing Update] 2020-03-29 - Systemd, Gnome 3.36.1, Wine 5.5, Haskell, Python

2 posts were split to a new topic: Permissions on hplip folder

I will doing it also in stable?

thank you

If you are using the manjaro-printer package - then yes - when it comes to stable.

1 Like

thank you

Regards

When the time comes, are we supposed to issue both of these commands in the given order? Or will only one of them be enough? Which one?

If you get:

error: failed to commit transaction (conflicting files)
hplip: /usr/share/hplip/base/__pycache__/__init__.cpython-38.pyc exists in filesyste
hplip: /usr/share/hplip/base/__pycache__/avahi.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/codes.cpython-38.pyc exists in filesystem

[....]

hplip: /usr/share/hplip/base/__pycache__/tui.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/utils.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/pexpect/__pycache__/__init__.cpython-38.pyc exists in f
Errors occurred, no packages were upgraded.

you will need to do:

sudo pacman -Syu --overwrite /usr/share/hplip/\*

If you get this:

warning: directory permissions differ on /usr/share/hplip/base/__pycache__/
filesystem: 700  package: 755
warning: directory permissions differ on /usr/share/hplip/base/pexpect/__pycache__/
filesystem: 777  package: 755
warning: directory permissions differ on /usr/share/hplip/prnt/__pycache__/
filesystem: 777  package: 755

you will need to do:

sudo chmod 755 /usr/share/hplip/* -R

6 Likes

Much clearer. I was wondering what OP was talking about when I upgraded my systems that are in Testing, since the upgrade just completed without errors on my side. It makes more sense.

2 Likes

If your mirrors are fully-up-to-date, the latest from Stable should not have required any manual intervention. Mine went smoothly, probably because I waited for this:

Hi,
I'm with manjaro 20200324 and I can't install hplip cause I have those files already installed.

hplip: /usr/share/hplip/base/pycache/init.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/avahi.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/codes.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/device.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/g.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/logger.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/mdns.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/models.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/module.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/os_utils.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/password.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/pml.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/services.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/six.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/sixext.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/slp.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/status.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/strings.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/tui.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/utils.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pycache/validation.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/base/pexpect/pycache/init.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/installer/pycache/init.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/installer/pycache/core_install.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/installer/pycache/dcheck.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/installer/pycache/pluginhandler.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/prnt/pycache/init.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/prnt/pycache/cups.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/prnt/pycache/ldl.cpython-38.pyc ja és al sistema de fitxers.
hplip: /usr/share/hplip/prnt/pycache/pcl.cpython-38.pyc ja és al sistema de fitxers.

Can somebody help me?

Thanks

I had similar issue when installing HP Device Manager through Add/Remove (pamac).
I manually deleted /usr/share/hplip folder and did the install again.

Forum kindly sponsored by