Skip to content

Uninstall error (Error in PREUN scriptlet in rpm package laptop-mode-tools) #200

Description

@SnowzNZ

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:

  1. Open a terminal
  2. 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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions