Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1639652

Summary: extra unindented lines in dnf output
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dmach, mblaha, mhatina, packaging-team-maint, rpm-software-management, tom, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-31 09:10:02 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 Kamil Páral 2018-10-16 09:59:16 UTC
Description of problem:
See the extra lines "Upgrade:" and "Upgraded:" which are unindented. I'm sure it looked better in previous dnf versions:

[kparal@f29ut ~]$ sudo dnf distrosync
Last metadata expiration check: 0:08:20 ago on Tue 16 Oct 2018 10:47:31 AM CEST.
Dependencies resolved.
================================================================================
 Package              Arch       Version              Repository           Size
================================================================================
Upgrading:
 gnome-characters     x86_64     3.30.0-1.fc29        updates-testing     253 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 253 k
Is this ok [y/N]: y
Downloading Packages:
gnome-characters-3.30.0-1.fc29.x86_64.rpm        14 MB/s | 253 kB     00:00    
--------------------------------------------------------------------------------
Total                                           132 kB/s | 253 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
Upgrade: gnome-characters-3.30.0-1.fc29.x86_64
  Upgrading        : gnome-characters-3.30.0-1.fc29.x86_64                  1/2 
Upgrade: gnome-characters-3.30.0-1.fc29.x86_64
Upgraded: gnome-characters-3.29.91-1.fc29.x86_64
  Cleanup          : gnome-characters-3.29.91-1.fc29.x86_64                 2/2 
Upgraded: gnome-characters-3.29.91-1.fc29.x86_64
  Running scriptlet: gnome-characters-3.29.91-1.fc29.x86_64                 2/2 
  Verifying        : gnome-characters-3.30.0-1.fc29.x86_64                  1/2 
  Verifying        : gnome-characters-3.29.91-1.fc29.x86_64                 2/2 

Upgraded:
  gnome-characters-3.30.0-1.fc29.x86_64                                         

Complete!


And downgrade:

[kparal@f29ut ~]$ sudo dnf downgrade gnome-characters
[sudo] password for kparal: 
Last metadata expiration check: 1:10:48 ago on Tue 16 Oct 2018 10:47:31 AM CEST.
Dependencies resolved.
================================================================================
 Package                Arch         Version                 Repository    Size
================================================================================
Downgrading:
 gnome-characters       x86_64       3.29.91-1.fc29          fedora       253 k

Transaction Summary
================================================================================
Downgrade  1 Package

Total download size: 253 k
Is this ok [y/N]: y
Downloading Packages:
gnome-characters-3.29.91-1.fc29.x86_64.rpm      248 kB/s | 253 kB     00:01    
--------------------------------------------------------------------------------
Total                                            89 kB/s | 253 kB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
Downgrade: gnome-characters-3.29.91-1.fc29.x86_64
  Downgrading      : gnome-characters-3.29.91-1.fc29.x86_64                 1/2 
Downgrade: gnome-characters-3.29.91-1.fc29.x86_64
Downgraded: gnome-characters-3.30.0-1.fc29.x86_64
  Cleanup          : gnome-characters-3.30.0-1.fc29.x86_64                  2/2 
Downgraded: gnome-characters-3.30.0-1.fc29.x86_64
  Running scriptlet: gnome-characters-3.30.0-1.fc29.x86_64                  2/2 
  Verifying        : gnome-characters-3.29.91-1.fc29.x86_64                 1/2 
  Verifying        : gnome-characters-3.30.0-1.fc29.x86_64                  2/2 

Downgraded:
  gnome-characters-3.29.91-1.fc29.x86_64                                        

Complete!



Version-Release number of selected component (if applicable):
dnf-4.0.4-1.fc29.noarch
dnf-data-4.0.4-1.fc29.noarch
dnf-plugins-core-4.0.0-1.fc29.noarch
dnf-yum-4.0.4-1.fc29.noarch
libdnf-0.22.0-1.fc29.x86_64
python3-dnf-4.0.4-1.fc29.noarch
python3-dnf-plugins-core-4.0.0-1.fc29.noarch
python3-libdnf-0.22.0-1.fc29.x86_64

Comment 1 Tom Hughes 2018-10-31 09:10:02 UTC

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