Empty lines in dnf history

Hello, running dnf history I get some “empty” lines.

ID     | Command line                                            | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------------------------------------
    63 | install gtkterm                                         | 2020-09-04 16:56 | Install         |    1   
    62 |                                                         | 2020-09-04 14:39 | Install         |    2   
    61 |                                                         | 2020-09-04 14:37 | Install         |    2   
    60 | update --refresh                                        | 2020-09-04 09:05 | Upgrade         |   59 E<
    59 |                                                         | 2020-09-02 17:12 |                 |    0 >#
    58 | update --refresh                                        | 2020-09-02 14:30 | Upgrade         |   40   
...    
    11 | install x2goclient remmina                              | 2020-08-26 15:34 | Install         |   20   
    10 |                                                         | 2020-08-26 15:29 | Removed         |    1   
     9 |                                                         | 2020-08-26 15:28 | Removed         |    1   
     8 |                                                         | 2020-08-26 15:28 | Removed         |    1  <
     7 |                                                         | 2020-08-26 15:28 | Removed         |    1 ><
     6 | install libreoffice-langpack-it libreoffice-draw git    | 2020-08-26 15:28 | Install         |   31 > 
     

Obviously I don’t remember what operation I performed in correspondence of the empty lines.
What these empty lines could mean?

3 Likes
dnf history info 61..62
2 Likes

Thank you @vgaetera

$ dnf history info 61..62
Transaction ID : 61..62
Begin time     : Fri 04 Sep 2020 02:37:32 PM CEST
Begin rpmdb    : 2566:24f48bcae7526dd780d8e648d79cde3bed9d9f23
End time       : Fri 04 Sep 2020 02:40:03 PM CEST (151 seconds)
End rpmdb      : 2570:787d7e1ee7aaab8e1d4ef15c49b6a5f7f448dcd5
User           : alessio <alessio>
Return-Code    : Success
Releasever     : 
Command Line   : 
Command Line   : 
Comment        : 
Comment        : 
Packages Altered:
    Install hugo-0.73.0-1.fc33.x86_64                @fedora
    Install libsass-3.6.4-2.fc33.x86_64              @fedora
    Install marker-data-0.0.2020.04.04-2.fc33.noarch @fedora
    Install marker-0.0.2020.04.04-2.fc33.x86_64      @fedora

Ok, but why like in this case some fields (Releasever and Command Line) are empty?

For instance, dnf history 11

...
Releasever     : 33
Command Line   : install x2goclient remmina
Comment        : 
Packages Altered:
    Install avahi-ui-gtk3-0.8-3.fc33.x86_64             @fedora
...
1 Like

Let me guess, it was not CLI but something using libdnf or PackageKit, e.g. dnfdragora.

3 Likes

Or in other cases also GNOME Software, right?
Good catch. :+1:

1 Like

Hello.

There is a few bugs open about this:
https://bugzilla.redhat.com/show_bug.cgi?id=1862007
https://bugzilla.redhat.com/show_bug.cgi?id=1852577

Regards

1 Like