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/\*
24 Likes
Permissions on hplip folder
Printing is broken after upgrading to hplip 1:3.20.2-1
[Testing Update] 2020-03-19 - Kernels, KDE-Git, Appstream-data, Firefox-Dev
printing problems 2020 with updates
[Stable Update] 2020-03-24 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
[Stable Staging Update] 2020-07-17 - Kernels, KDE, LibreOffice, Mesa, Cinnamon, Deepin, Pamac, Browsers
[Testing Update] 2020-05-29 - Kernels, AMDVLK, Deepin, Cinnamon, Gnome, Haskell, Python
[Testing Update] 2020-05-30 - NetworkManager, Gnome, Calamares, Haskell
[Testing Update] 2020-06-07 - Kernels, Kodi, Cinnamon, Deepin, Qt 5.15, Thunderbird, Firefox
[Testing Update] 2020-06-03 - Software-Center, Arc Themes, Linux 5.7, Firefox 77, Systemd 245.6
[Testing Update] 2020-07-22 - Kernels, VirtualBox, NextCloud, Deepin, OpenJDK
[Testing Update] 2020-07-25 - Kernels, Deepin, Mesa, AMDVLK, Python
[Testing Update] 2020-06-23 - Kernel, KDE-git, Cinnamon, Firefox, Pamac, Plasma, Deepin
Manjaro-printer
[Testing Update] 2020-06-25 - Kernel, Plasma 5.19.2, Perl, Calamares, AMDVLK, Cinnamon, Deepin
[Testing Update] 2020-06-26 - Kernels, Mesa 20.1.2, Haskell
[Testing Update] 2020-07-31 - Kernels, Plasma 5.19.4, Firefox 79, Deepin, UKUI, Systemd, Python
[Testing Update] 2020-07-04 - Firefox, Jade, Deepin, LibreOffice, Curl
Permissions, UID and GID mismatches: how to solve it?
[Testing Update] 2020-07-08 - Kernel, Deepin, Gnome, Gambas, Plasma 5.19.3
[Testing Update] 2020-07-10 - Kernels, Deepin, KDE Apps 20.04.3, Firefox 78.0.2
[Testing Update] 2020-07-11 - KDE-git, Firefox-beta, AMDVLK 2020.Q3-1, Fixes to Plasma 5.19.3
[Testing Update] 2020-08-08 - Browsers, Systemd, Firmware, Pamac
[Testing Update] 2020-07-14 - KDE Frameworks 5.72, Linux57 with FSync, Firefox, Python, Haskell
[Testing Update] 2020-07-15 - Palemoon, Linux57 with Fsync/Futex, Vulkan-ICD, Deepin
[Testing Update] 2020-07-17 - Kernels, Firmware
[Testing Update] 2020-03-21 - Kernels, Pamac 9.4, Systemd, Mesa, LibreOffice
[Testing Update] 2020-03-22 - KDE-Git, Matcha, Manjaro-Asian-Input-Support, Haskell, Python
"Can't detect file type" and "Filter failed" Errors on HP LaserJet Professional P1102 after Manjaro 19.0.2 update
[Testing Update] 2020-03-23 - KDE-Git, Gnome, Python, Haskell
[Stable-Staging Update] 2020-03-23 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
Error while updating to 19.0.2
[Stable Update] 2020-03-24 - Kernels, KDE Frameworks 5.68, Gnome 3.36, LibreOffice 6.4.2
[Testing Update] 2020-03-26 - Kernels, Browsers, UKUI, Pamac, Haskell & Python
[Testing Update] 2020-03-27 - Palemoon, Firefox-Dev, AMDVLK, UKUI, Python, Haskell
[Testing Update] 2020-03-29 - Systemd, Gnome 3.36.1, Wine 5.5, Haskell, Python
[Testing Update] 2020-03-31 - Gnome 3.36.1, XFCE, Browsers, Xorg-Server, Pamac
[Testing Update] 2020-04-01 - Plasma 5.18.4.1, Breath2, Haskell, Python
[Testing Update] 2020-04-03 - Kernels, Systemd 245.4, Calamares, Mesa 20.0.3, Haskell, Python
[Testing Update] 2020-04-04 - Qt 5.14.2, Firefox 74.0.1, UKUI, Pamac, Haskell, Python
[Testing Update] 2020-04-05 - Pamac 9.4.1, x265, Foomatic-DB, Calamares-Git, Haskell, Python
Manjaro LTS (or the idea of slow mirrors).
[Testing Update] 2020-04-07 - KDE-Git, Nvidia 440.82, Firefox 75.0, Haskell, Python
[Testing Update] 2020-04-09 - Kernels, Brave, Calamares, Octopi, Flatpak, Python
[Testing Update] 2020-04-10 - Thunderbird 68.7.0, OnlyOffice 5.5, Gnome, GTK
HP printer does not work
[Testing Update] 2020-04-18 - Kernels, Systemd v245.5, Browsers, VirtualBox, LibreOffice. KDE-Frameworks
[Testing Update] 2020-04-20 - KDE-Git, Kernels, LLVM 10, Pamac 9.5-beta, Haskell, Python
[Testing Update] 2020-04-21 - Kernels, OpenSSL, Firefox-Dev, Pamac 9.5b, Haskell, Python
[Testing Update] 2020-04-24 - Kernels, Mesa, KDE Apps, Browser, Python, Haskell
[Testing Update] 2020-04-26 - Gnome 3.36.2, Wine 5.7, Firefox, Python
[Testing Update] 2020-04-29 - Kernels, Gnome, VLC, Firefox, Brave, LxQt 0.15
[Testing Update] 2020-05-01 - Kernels, Mesa 20.0.6, Gnome 3.36.2, Pamac 9.5beta, AMDVLK 20.Q2.2
hplip can't download plugin
[Testing Update] 2020-05-03 - Kernels, KDE-git, Pop-Shell
[Testing Update] 2020-05-06 - Kernels, Plasma 5.18.5, Firefox 76.0, Pamac 9.5b3
[Testing Update] 2020-05-09 - Kernels, Deepin v20, Browsers, Pamac 9.5rc1, KDE-git
[Testing Update] 2020-05-10 - KDE-Git, Thunderbird 68.8.0, Pamac 9.5
[Testing Update] 2020-05-11 - Kernels, KDE-Git, KDE Frameworks, MSM, Wine 5.8
[Testing Update] 2020-05-21 - Kernels, Toolchain, Mesa, KDE Apps, Cinnamon, Browser
[Testing Update] 2020-05-02 - Kernels, Gnome Extensions, LibreOffice, ICU
hplip update failure [Solved]
[Testing Update] 2020-06-16 - Kernel, Browser, KDE, Cinnamon, Deepin, Haskell, Mesa, Virtualbox
[Testing Update] 2020-05-26 - Browser, LibreOffice, Cinnamon, Deepin, Haskell, OpenJDK
[Testing Update] 2020-07-01 - Kernel, Fonts, Deepin, Browser, Thunderbird, Nvidia, AMDVLK
error: missing python3-pyqt4 to do HP printer installation
[Testing Update] 2020-08-07 - Kernels, KDE-git, Browser, AMDVLK, Mesa, 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

5 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.

Same here.

Edit: Knome found the solution for me.

Forum kindly sponsored by