Bug 1502654 - [modularity] Strange error message on "dnf update"
Summary: [modularity] Strange error message on "dnf update"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2017-10-16 11:43 UTC by Nils Philippsen
Modified: 2018-03-13 08:01 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-13 08:01:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2017-10-16 11:43:40 UTC
Description of problem:
With the current Boltron 27 image (docker.io/jamesantill/boltron-27), I get an error message about packages being available, but not installed when running "dnf update".

Version-Release number of selected component (if applicable):
dnf-2.7.3-1.module_e1d44a88.modularity.1.3fb9e5c.noarch

How reproducible:
Reproducible

Steps to Reproduce:
0. docker run --rm -it docker.io/jamesantill/boltron-27 bash
1. dnf update

Actual results:

--- 8< ---
nils@gibraltar:~> docker run --rm -it docker.io/jamesantill/boltron-27 bash
------------------------------- DNF ----------------------------------
Installed Packages
dnf.noarch          2.7.3-1.module_e1d44a88.modularity.1.3fb9e5c       @anaconda
libdnf.x86_64       0.10.1-2.module_e1d44a88.modularity.1              @anaconda
----------------------------------------------------------------------
Image built with (KOJI composes):
		GIT:      	https://github.com/container-images/boltron-27
		Base:     	Fedora-Modular-Bikeshed-20171011.n.0
Image running aginst (KOJI Composes):
		Bike: 	Fedora-Modular-Bikeshed-20171015.n.0
Boltron-27-11cca99facbb-0# dnf update
Fedora - Bikeshed - Developmental packages for  3.1 MB/s | 3.5 MB     00:01    
Last metadata expiration check: 0:00:01 ago on Mon 16 Oct 2017 11:40:33 AM UTC.
Package net-snmp available, but not installed.
Error: No match for argument: net-snmp-1:5.7.3-25.module_85dfa2c1
Boltron-27-11cca99facbb-1#
--- >8 ---

Expected results:

Either updates are applied, or "nothing to do" reported.

Additional info:
The package in the error message varies, I've had net-snmp, NetworkManager-bluetooth, NetworkManager-wwan and psl so far.

Comment 1 Nils Philippsen 2017-10-16 13:34:13 UTC
NB:

This is with updates being available:

Boltron-27-11cca99facbb-1# dnf list updates
Last metadata expiration check: 1:52:05 ago on Mon 16 Oct 2017 11:40:33 AM UTC.
Available Upgrades
guile.x86_64              5:2.0.14-4.module_dc0a32f9     modular-bikeshed-server
python3-rpm.x86_64        4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
rpm.x86_64                4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
rpm-build-libs.x86_64     4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
rpm-libs.x86_64           4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
rpm-plugin-selinux.x86_64 4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
rpm-plugin-systemd-inhibit.x86_64
                          4.14.0-0.rc2.5.module_dc0a32f9 modular-bikeshed-server
Boltron-27-11cca99facbb-0#

Adding an argument to "dnf update", either individual packages or the '*' wildcard makes things work as expected.

Comment 2 Martin Hatina 2017-10-23 08:11:38 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/951

Comment 3 Fedora End Of Life 2018-02-20 15:30:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.


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