laptop-mode-tools
laptop-mode-tools copied to clipboard
Uninstall error (Error in PREUN scriptlet in rpm package laptop-mode-tools)
Describe the bug
When attempting to remove laptop-mode-tools with sudo dnf remove laptop-mode-tools
I am prompted with the following error
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: laptop-mode-tools-1.74-1.noarch 1/1
/var/tmp/rpm-tmp.IOH2lv: line 3: /sbin/chkconfig: No such file or directory
error: %preun(laptop-mode-tools-1.74-1.noarch) scriptlet failed, exit status 127
Error in PREUN scriptlet in rpm package laptop-mode-tools
Verifying : laptop-mode-tools-1.74-1.noarch 1/1
Failed:
laptop-mode-tools-1.74-1.noarch
Error: Transaction failed
To Reproduce Steps to reproduce the behavior:
- Open a terminal
- Execute
sudo dnf remove laptop-mode-tools
Expected behavior I expect the package to be removed/uninstalled from the system.
Important Information:
- Distribution: Fedora 37
- Linux Kernel: 6.1.18-200
- Laptop Mode Tools version: unsure
- Desktop Environment, if any: KDE Plasma
- Relevant System Logs
- Laptop Mode Tools verbose logs
Thanks for reporting this issue. I hoped that the .spec I prepared will be basic/generic enough. I will try to re-create a Fedora container image to see how best to address this