Bug 1950734 - nmstate preuninstall scriptlet fails
Summary: nmstate preuninstall scriptlet fails
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: nmstate
Version: 33
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Fernando F. Mancera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-18 08:36 UTC by David Juran
Modified: 2021-11-04 22:22 UTC (History)
4 users (show)

Fixed In Version: nmstate-0.3.7-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-04 22:22:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Koji taskID 66257127 0 None None None 2021-04-19 13:15:12 UTC
Github nmstate nmstate pull 1567 0 None open specfile: fix installation of nmstate-varlink.service 2021-04-19 13:15:12 UTC

Description David Juran 2021-04-18 08:36:18 UTC
Description of problem:
nmstate preuninstall scriptlet fails, causing updates or uninstall attempts to fail


Version-Release number of selected component (if applicable):
nmstate-0.3.7-1.fc33.noarch

$ sudo dnf erase nmstate-0.3.7-1.fc33.noarch

Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Running scriptlet: nmstate-0.3.7-1.fc33.noarch                                                                                                                                                                                          1/4 
/var/tmp/rpm-tmp.PM4ySc: line 1: fg: no job control
error: %preun(nmstate-0.3.7-1.fc33.noarch) scriptlet failed, exit status 1

Error in PREUN scriptlet in rpm package nmstate
  Erasing          : python3-libnmstate-0.3.7-1.fc33.noarch                                                                                                                                                                               2/4 
error: nmstate-0.3.7-1.fc33.noarch: erase failed

Comment 1 Fernando F. Mancera 2021-04-19 08:11:49 UTC
Thanks for reporting this. I am looking into it.

Comment 2 Fernando F. Mancera 2021-04-19 13:14:37 UTC
Hello!

I've created the following PR on upstream fixing it. https://github.com/nmstate/nmstate/pull/1567 and the following build for fedora 33. https://koji.fedoraproject.org/koji/taskinfo?taskID=66257127 

I am going to rebuild it for f34 and rawhide too as they are affected by this.

Comment 3 Fernando F. Mancera 2021-04-26 09:26:28 UTC
In order to remove the current broken package, please use:  `dnf remove --setopt=tsflags=noscripts nmstate`. Thanks!

Comment 4 Ben Cotton 2021-11-04 14:38:03 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2021-11-04 15:36:02 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.