Project

General

Profile

Bug #2685

Pacman fails to update due to existing files (hplip)

ani - over 2 years ago - . Updated over 2 years ago.

Status:
not-a-bug
Priority:
bug
Assignee:
-
% Done:

0%


Description

Running Parabola x86_64. A try to update via pacman now resulted in these errors:

error: failed to commit transaction (conflicting files)
hplip: /usr/share/hplip/base/__pycache__/__init__.cpython-38.pyc exists in filesystem
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__/device.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/g.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/logger.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/mdns.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/models.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/module.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/os_utils.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/password.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/pml.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/services.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/six.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/sixext.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/slp.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/status.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/__pycache__/strings.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/__pycache__/validation.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/base/pexpect/__pycache__/__init__.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/installer/__pycache__/__init__.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/installer/__pycache__/core_install.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/installer/__pycache__/dcheck.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/installer/__pycache__/pluginhandler.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/prnt/__pycache__/__init__.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/prnt/__pycache__/colorcal.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/prnt/__pycache__/cups.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/prnt/__pycache__/ldl.cpython-38.pyc exists in filesystem
hplip: /usr/share/hplip/prnt/__pycache__/pcl.cpython-38.pyc exists in filesystem
Errors occurred, no packages were upgraded.

History

#1

Updated by freemor over 2 years ago

I guess you and most likely others missed the News item on the main Parabola Page discussing this issue.

I'll post it here so people see it:

[From Arch] hplip 3.20.3-2.par1 update requires manual intervention

2020-03-30

The hplip package prior to version 3.20.3-2.par1 was missing the compiled python modules. This has been fixed in 3.20.3-2.par1, so the upgrade will need to overwrite the untracked pyc files that were created. If
you get errors such as these

hplip: /usr/share/hplip/base/__pycache__/__init__.cpython-38.pyc exists in filesystem
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
...many more...

when updating, use

pacman -Suy --overwrite /usr/share/hplip/\*

to perform the upgrade.

#2

Updated by oaken-source over 2 years ago

  • Status changed from unconfirmed to confirmed
#3

Updated by oaken-source over 2 years ago

  • Status changed from confirmed to not-a-bug

closing this as there's nothing to do here.

Also available in: Atom PDF