Bug 2079243 - missing nagios-plugins-dbi in fedora 36 is blocking package upgrades
Summary: missing nagios-plugins-dbi in fedora 36 is blocking package upgrades
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios-plugins
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-27 09:24 UTC by Łukasz Posadowski
Modified: 2022-05-20 20:11 UTC (History)
7 users (show)

Fixed In Version: nagios-plugins-2.4.0-6.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 04:33:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Łukasz Posadowski 2022-04-27 09:24:45 UTC
Description of problem:
Nagios plugins packages can not be upddated from Fedora 35 to Fedora 36, because of missing nagios-plugins-dbi package.

Version-Release number of selected component (if applicable):
nagios-plugins-2.4.0-5.fc35.x86_64 and nagios-plugins-2.4.0-5.fc36.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Install Nagios and it's plugins of Fedora 35.
2. Upgrade system to Fedora 36.
3. Try to upgrade system again, which fails cecause of missing update for nagios-plugins-dbi package.

Actual results:
nagios plugins packages can not be updated. I added dnf outputs on additional info. 

Expected results:
Update of nagios plugins via dnf.

Additional info:

# dnf update
Last metadata expiration check: 0:22:03 ago on Wed 27 Apr 2022 10:51:13 AM CEST.
Dependencies resolved.

 Problem: cannot install both nagios-plugins-2.4.0-5.fc36.x86_64 and nagios-plugins-2.4.0-5.fc35.x86_64
  - package nagios-plugins-dbi-2.4.0-5.fc35.x86_64 requires nagios-plugins = 2.4.0-5.fc35, but none of the providers can be installed
  - cannot install the best update candidate for package nagios-plugins-2.4.0-5.fc35.x86_64
  - problem with installed package nagios-plugins-dbi-2.4.0-5.fc35.x86_64
==================================================================================================================================================
 Package                                Architecture                   Version                               Repository                      Size
==================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 nagios-plugins                         x86_64                         2.4.0-5.fc36                          fedora                          95 k

Transaction Summary
==================================================================================================================================================
Skip  1 Package

Nothing to do.
Complete!





# dnf remove nagios-plugins-dbi
Dependencies resolved.
==================================================================================================================================================
 Package                                  Architecture                 Version                               Repository                      Size
==================================================================================================================================================
Removing:
 nagios-plugins-dbi                       x86_64                       2.4.0-5.fc35                          @updates                        41 k
Removing unused dependencies:
 libdbi                                   x86_64                       0.9.0-19.fc36                         @fedora                        119 k

Transaction Summary
==================================================================================================================================================
Remove  2 Packages

Freed space: 160 k
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1 
  Erasing          : nagios-plugins-dbi-2.4.0-5.fc35.x86_64                                                                                   1/2 
  Erasing          : libdbi-0.9.0-19.fc36.x86_64                                                                                              2/2 
  Verifying        : libdbi-0.9.0-19.fc36.x86_64                                                                                              1/2 
  Verifying        : nagios-plugins-dbi-2.4.0-5.fc35.x86_64                                                                                   2/2 

Removed:
  libdbi-0.9.0-19.fc36.x86_64                                        nagios-plugins-dbi-2.4.0-5.fc35.x86_64                                       

Complete!






# dnf update
Last metadata expiration check: 0:24:29 ago on Wed 27 Apr 2022 10:51:13 AM CEST.
Dependencies resolved.
==================================================================================================================================================
 Package                                            Architecture               Version                           Repository                  Size
==================================================================================================================================================
Upgrading:
 nagios-plugins                                     x86_64                     2.4.0-5.fc36                      fedora                      95 k
 nagios-plugins-breeze                              x86_64                     2.4.0-5.fc36                      fedora                     9.9 k
 nagios-plugins-by_ssh                             

[...] 

All goes well now.

Comment 1 Guido Aulisi 2022-04-27 15:55:16 UTC
libdbi is unmaintained, so nagios-plugins-dbi has been removed from fc36 and epel9.

See bug2039711

Please add --allowerasing to update to fc36

Comment 2 Łukasz Posadowski 2022-04-27 18:45:03 UTC
Thank You. I have no intention to use nagios-plugins-dbi, it was just in the way. Does RPM have anything to mitigate that and enable smooth transition fo F36? Like dummy package nagios-plugins-abandoned, which could replace all of unmaintained, or just unwanted for any reason, plugins from previous Fedora releases?

Comment 3 Stephen John Smoogen 2022-04-27 19:11:44 UTC
The nagios-plugins rpm needs to have an `obsoletes: nagios-plugins-dbi` tag which says that package is now obsolete.

Comment 4 Fedora Update System 2022-04-27 21:27:41 UTC
FEDORA-2022-dea5f74e99 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-dea5f74e99

Comment 5 Fedora Update System 2022-04-28 05:11:49 UTC
FEDORA-2022-dea5f74e99 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-dea5f74e99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-dea5f74e99

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-05-07 04:33:40 UTC
FEDORA-2022-dea5f74e99 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Łukasz Posadowski 2022-05-20 20:11:20 UTC
Thank You.


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