Bug 1626801

Summary: dnf errors involving openscap packages when upgrading to F29
Product: [Fedora] Fedora Reporter: Matt Fagnani <matt.fagnani>
Component: openscapAssignee: Jan Černý <jcerny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: jcerny, mhaicman, pvrabec, simi+fedora, wsato
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openscap-1.3.0_alpha2-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1626930 (view as bug list) Environment:
Last Closed: 2018-09-21 05:31:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Fagnani 2018-09-08 22:15:07 UTC
Description of problem:

When I ran sudo dnf system-upgrade download --refresh --releasever=29 
from my fully updated F28 with updates-testing enabled, I got the following errors.
...
Problem 3: package openscap-content-sectool-1.2.17-1.fc28.noarch requires openscap = 1.2.17-1.fc28, but none of the providers can be installed
  - openscap-1.2.17-1.fc28.i686 does not belong to a distupgrade repository
  - problem with installed package openscap-content-sectool-1.2.17-1.fc28.noarch
...
Problem 10: package openscap-containers-1.3.0_alpha2-1.fc29.noarch requires openscap = 1.3.0_alpha2-1.fc29, but none of the providers can be installed
  - cannot install both openscap-1.3.0_alpha2-1.fc29.i686 and openscap-1.2.17-1.fc28.i686
  - problem with installed package openscap-containers-1.2.17-1.fc28.noarch
  - package openscap-extra-probes-1.2.17-1.fc28.i686 requires libopenscap.so.8, but none of the providers can be installed
  - openscap-containers-1.2.17-1.fc28.noarch does not belong to a distupgrade repository
  - problem with installed package openscap-extra-probes-1.2.17-1.fc28.i686
 Problem 11: package openscap-devel-1.3.0_alpha2-1.fc29.i686 requires libopenscap.so.24, but none of the providers can be installed
  - cannot install both openscap-1.3.0_alpha2-1.fc29.i686 and openscap-1.2.17-1.fc28.i686
  - problem with installed package openscap-devel-1.2.17-1.fc28.i686
  - package openscap-extra-probes-sql-1.2.17-1.fc28.i686 requires libopenscap.so.8, but none of the providers can be installed
  - openscap-devel-1.2.17-1.fc28.i686 does not belong to a distupgrade repository
  - problem with installed package openscap-extra-probes-sql-1.2.17-1.fc28.i686
 Problem 12: package openscap-engine-sce-1.3.0_alpha2-1.fc29.i686 requires libopenscap.so.24, but none of the providers can be installed
  - cannot install both openscap-1.3.0_alpha2-1.fc29.i686 and openscap-1.2.17-1.fc28.i686
  - problem with installed package openscap-engine-sce-1.2.17-1.fc28.i686
  - package python2-openscap-1.2.17-1.fc28.i686 requires libopenscap.so.8, but none of the providers can be installed
  - openscap-engine-sce-1.2.17-1.fc28.i686 does not belong to a distupgrade repository
  - problem with installed package python2-openscap-1.2.17-1.fc28.i686
...
Problem 15: cannot install both openscap-1.3.0_alpha2-1.fc29.i686 and openscap-1.2.17-1.fc28.i686
  - package scap-workbench-1.2.0-1.fc29.i686 requires libopenscap.so.8, but none of the providers can be installed
  - package openscap-perl-1.3.0_alpha2-1.fc29.i686 requires libopenscap.so.24, but none of the providers can be installed
  - problem with installed package scap-workbench-1.2.0-1.fc28.i686
  - problem with installed package openscap-perl-1.2.17-1.fc28.i686
  - scap-workbench-1.2.0-1.fc28.i686 does not belong to a distupgrade repository
  - openscap-perl-1.2.17-1.fc28.i686 does not belong to a distupgrade repository
...

The openscap-1.3.0_alpha2-1.fc29 changelog indicates that some openscap subpackages were removed. Adding the following lines to openscap.spec for F29 and rebuilding openscap-1.3.0_alpha2 might address the problems with those subpackages not in openscap-1.3.0_alpha2
Obsoletes: openscap-content-sectool
Obsoletes: openscap-extra-probes
Obsoletes: openscap-extra-probes-sql
Obsoletes: python2-openscap

Rebuilding scap-workbench-1.2.0-1.fc29 to use the changed library name libopenscap.so.24 provided by openscap-1.3.0_alpha2-1.fc29 might resolve the last problem.

Version-Release number of selected component (if applicable):
openscap-1.2.17-1.fc28.i686
scap-workbench-1.2.0-1.fc28.i686

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf upgrade --refresh --enablerepo=updates-testing
2. sudo dnf system-upgrade download --refresh --releasever=29 
3.

Actual results:
dnf errors involving openscap subpackages and scap-workbench

Expected results:
no dnf errors

Additional info:

Comment 1 Fedora Update System 2018-09-10 13:12:54 UTC
openscap-1.3.0_alpha2-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1bf228b3e6

Comment 2 Fedora Update System 2018-09-11 06:14:32 UTC
openscap-1.3.0_alpha2-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1bf228b3e6

Comment 3 Fedora Update System 2018-09-21 05:31:29 UTC
openscap-1.3.0_alpha2-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.