Bug 1616042 - dnf spews about being unable to install updates blocked by an exclude=
Summary: dnf spews about being unable to install updates blocked by an exclude=
Keywords:
Status: CLOSED DUPLICATE of bug 1616118
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
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-08-14 19:21 UTC by Valdis Kletnieks
Modified: 2018-10-05 20:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-05 20:24:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Valdis Kletnieks 2018-08-14 19:21:45 UTC
Description of problem:

So I have a bunch of things I've excluded in dnf.conf, for various reasons (usually that automatic update would screw something up).

15:04:30 0 [~]1 grep exclude /etc/dnf/dnf.conf 
exclude=xorg-x11-server* xorg-x11-drv-* kernel* fetchmail akmod-nvidia kmod-nvidia* dracut skypeforlinux slack

15:06:40 0 [~]1 dnf list updates
Last metadata expiration check: 0:04:31 ago on Tue 14 Aug 2018 03:06:01 PM EDT.
15:10:32 0 [~]1 dnf --disableexcludes=all list updates
Last metadata expiration check: 0:04:46 ago on Tue 14 Aug 2018 03:06:01 PM EDT.
Available Upgrades
kernel.x86_64                                                                       4.18.0-0.rc8.git2.1.fc29                                                             rawhide     
kernel-core.x86_64                                                                  4.18.0-0.rc8.git2.1.fc29                                                             rawhide     
kernel-devel.x86_64                                                                 4.18.0-0.rc8.git2.1.fc29                                                             rawhide     
kernel-headers.x86_64                                                               4.18.0-0.rc7.git0.1.fc29                                                             rawhide     
kernel-modules.x86_64                                                               4.18.0-0.rc8.git2.1.fc29                                                             rawhide     
kernel-tools.x86_64                                                                 4.18.0-0.rc8.git0.1.fc29                                                             rawhide     
kernel-tools-libs.x86_64                                                            4.18.0-0.rc8.git0.1.fc29                                                             rawhide     
skypeforlinux.x86_64                                                                8.28.0.41-1                                                                          skype-stable

So far so good. But...

15:10:47 0 [~]1 dnf update
Last metadata expiration check: 0:05:26 ago on Tue 14 Aug 2018 03:06:01 PM EDT.
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package gimp-2:2.10.4-1.fc29.1.x86_64
  - package gimp-2:2.10.4-1.module_1890+e4554637.x86_64 is disabled
 Problem 2: cannot install the best update candidate for package gimp-devel-2:2.10.4-1.fc29.1.x86_64
  - package gimp-devel-2:2.10.4-1.module_1890+e4554637.x86_64 is disabled
 Problem 3: cannot install the best update candidate for package gimp-devel-tools-2:2.10.4-1.fc29.1.x86_64
  - package gimp-devel-tools-2:2.10.4-1.module_1890+e4554637.x86_64 is disabled
 Problem 4: cannot install the best update candidate for package gimp-libs-2:2.10.4-1.fc29.1.x86_64
  - package gimp-libs-2:2.10.4-1.module_1890+e4554637.x86_64 is disabled
 Problem 5: cannot install the best update candidate for package kernel-4.16.0-0.rc6.git3.1.fc29.x86_64
  - package kernel-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 6: cannot install the best update candidate for package kernel-4.10.0-1.fc26.x86_64
  - package kernel-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 7: cannot install the best update candidate for package kernel-core-4.10.0-1.fc26.x86_64
  - package kernel-core-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 8: cannot install the best update candidate for package kernel-core-4.16.0-0.rc6.git3.1.fc29.x86_64
  - package kernel-core-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 9: cannot install the best update candidate for package kernel-devel-4.16.0-0.rc6.git3.1.fc29.x86_64
  - package kernel-devel-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 10: cannot install the best update candidate for package kernel-devel-4.10.0-1.fc26.x86_64
  - package kernel-devel-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 11: cannot install the best update candidate for package kernel-headers-4.16.0-0.rc6.git3.1.fc29.x86_64
  - package kernel-headers-4.18.0-0.rc7.git0.1.fc29.x86_64 is disabled
 Problem 12: cannot install the best update candidate for package kernel-modules-4.16.0-0.rc6.git3.1.fc29.x86_64
  - package kernel-modules-4.18.0-0.rc8.git2.1.fc29.x86_64 is disabled
 Problem 13: cannot install the best update candidate for package kernel-tools-4.16.0-0.rc6.git0.1.fc29.x86_64
  - package kernel-tools-4.18.0-0.rc8.git0.1.fc29.x86_64 is disabled
 Problem 14: cannot install the best update candidate for package kernel-tools-libs-4.16.0-0.rc6.git0.1.fc29.x86_64
  - package kernel-tools-libs-4.18.0-0.rc8.git0.1.fc29.x86_64 is disabled
 Problem 15: cannot install the best update candidate for package meson-0.47.1-5.fc29.noarch
  - package meson-0.47.1-5.module_1993+7c0a4d1e.noarch is disabled
 Problem 16: cannot install the best update candidate for package ninja-build-1.8.2-4.fc29.x86_64
  - package ninja-build-1.8.2-4.module_1991+4e5efe2f.x86_64 is disabled
 Problem 17: cannot install the best update candidate for package skypeforlinux-8.16.0.4-1.x86_64
  - package skypeforlinux-8.28.0.41-1.x86_64 is disabled
Nothing to do.
Complete!

This is new in 3.2 behavior, 3.0.2 didn't act this way.

It doesn't need to tell me that kernel* and skypeforlinux are not upgrading because they're disabled, I already *know* they're not upgrading because I disabled them.  What *would* make sense is if it complained when some *other* package fails to upgrade because I've disabled a pre/co-req (for instance, when 'tracecmd' fails to update because it requires 'kernelshark' which is disabled) - and in fact dnf *does* get that right (or did the last time it had occasion to)

I admit having no clue why it's complaining about gimp, meson, and ninja-build being disabled.


Version-Release number of selected component (if applicable):
dnf-3.2.0-2.fc29.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jaroslav Mracek 2018-10-05 20:24:12 UTC
This is a duplicate of 1616118

*** This bug has been marked as a duplicate of bug 1616118 ***


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