Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SnowzNZ opened this issue Mar 16, 2023 · 1 comment
Assignees
Labels

Comments

@SnowzNZ
Copy link

SnowzNZ commented Mar 16, 2023

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
@rickysarraf
Copy link
Owner

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

@rickysarraf rickysarraf self-assigned this Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants