-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Running into an issue with uninstalling the package in a chroot environment:
https://github.com/raspberrypi/rpi-keyboard-config/blob/main/debian/prerm#L14C17-L14C47
Failed to send reload request: No such file or directory
This makes it impossible to do anything else with apt until that's resolved. Other packages add a || true to such lines to avoid this problem.
It's also copying the file into /etc/, which is a problem for a few reasons:
- That location is intended for system admin configuration, not vendor/distro configuration.
- The file is replaced unconditionally on install/upgrade, so users lose their configuration anyway.
- It breaks the ability of tools like debsums and cruft from doing their thing.
The files should be placed in /usr/lib/udev/rules.d/ instead, which can be handled by dh_installudev.
Metadata
Metadata
Assignees
Labels
No labels