Bug 1584681 - [install_specs] install_specs() based package exclude not working/working differently
Summary: [install_specs] install_specs() based package exclude not working/working dif...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-31 12:42 UTC by Martin Kolman
Modified: 2018-09-24 17:37 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-24 17:37:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
packaging.log from the installation run (721.45 KB, text/plain)
2018-05-31 12:59 UTC, Martin Kolman
no flags Details
anaconda.log from the installation run (37.53 KB, text/plain)
2018-05-31 12:59 UTC, Martin Kolman
no flags Details
add DNF debug solver data (5.48 MB, application/x-xz)
2018-06-01 13:07 UTC, Martin Kolman
no flags Details

Description Martin Kolman 2018-05-31 12:42:54 UTC
NOTE: This bug report concerns the install_specs branch of DNF, where the API Anaconda needs for module installation support is being stabilized.

(https://github.com/mhatina/dnf/tree/install_specs)


Description of problem:
there is a change in behavior in excluding packages between current Rawhide Anaconda/DNF and the install_specs branch DNF & Anaconda that makes use of it


Version-Release number of selected component (if applicable):
commit 1263ddc0ebf7bcc6496d90225ddaca4fdf47c1f1 (HEAD -> install_specs, mhatina/install_specs)
Author: Martin Hatina <mhatina>
Date:   Tue May 29 13:37:27 2018 +0200


How reproducible:
always

Steps to Reproduce:
1. attempt an installation with the following %packages section:

%packages
@^xfce-desktop-environment   

# (1) Test that you can remove a package that's part of a group
@c-development
-valgrind
  
# (2) Test that you can add and then remove the same package.
qemu-kvm
-qemu-kvm
 
# (3) Test that you can add packages with a glob.
kacst*
  
# (4) Test that you can remove packages with a glob.
-ibus*
%end

This basically translates to:

Install environment xfce-desktop-environment & group @c-development & packages qemu-kvm + kcast*.

Exclude packages qemu-kvm, valgrind, ibus*.


2. check if the packages are excluded correctly

Actual results:
The qemu-kvm package is not installed (this is correct).

The valgrind package as well as many ibus* packages are installed.


Expected results:
The qemu-kvm package is not installed.
The valgrind package as well as any ibus* packages are not installed.

Comment 1 Martin Kolman 2018-05-31 12:59:23 UTC
Created attachment 1446279 [details]
packaging.log from the installation run

Comment 2 Martin Kolman 2018-05-31 12:59:49 UTC
Created attachment 1446280 [details]
anaconda.log from the installation run

Comment 3 Martin Kolman 2018-06-01 13:07:23 UTC
Created attachment 1446692 [details]
add DNF debug solver data

Comment 4 Jan Kurik 2018-08-14 10:00:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Jaroslav Mracek 2018-09-24 17:37:45 UTC
I believe that the problem was solved in dnf-3.5.1


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