ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

b7800e Drop versions from Conflicts for standalone packages

Authored and Committed by Zbigniew Jędrzejewski-Szmek 5 months ago
1 file changed. 8 lines added. 4 lines removed.
    Drop versions from Conflicts for standalone packages
    
    Because the conflicts are in one direction, dnf may try to install older
    systemd/systemd-duev and newer systemd-standalone-*. This is not what we want:
    
    $ sudo dnf5 install systemd-standalone-repart
    Updating and loading repositories:
    Repositories loaded.
    Package                             Arch    Version       Repository          Size
    Downgrading:
     systemd                            x86_64  255.4-1.fc40  fedora          14.6 MiB
       replacing systemd                x86_64  256.2-1.fc40  @commandline    16.8 MiB
     systemd-container                  x86_64  255.4-1.fc40  fedora           1.4 MiB
       replacing systemd-container      x86_64  256.2-1.fc40  @commandline     1.5 MiB
     systemd-devel                      x86_64  255.4-1.fc40  fedora         550.3 KiB
       replacing systemd-devel          x86_64  256.2-1.fc40  @commandline   556.1 KiB
     systemd-libs                       x86_64  255.4-1.fc40  fedora           1.9 MiB
       replacing systemd-libs           x86_64  256.2-1.fc40  @commandline     2.0 MiB
     systemd-networkd                   x86_64  255.4-1.fc40  fedora           2.0 MiB
       replacing systemd-networkd       x86_64  256.2-1.fc40  @commandline     2.1 MiB
     systemd-oomd-defaults              noarch  255.4-1.fc40  fedora         187.0   B
       replacing systemd-oomd-defaults  noarch  256.2-1.fc40  @commandline   187.0   B
     systemd-pam                        x86_64  255.4-1.fc40  fedora           1.0 MiB
       replacing systemd-pam            x86_64  256.2-1.fc40  @commandline     1.1 MiB
     systemd-resolved                   x86_64  255.4-1.fc40  fedora         629.9 KiB
       replacing systemd-resolved       x86_64  256.2-1.fc40  @commandline   667.1 KiB
     systemd-rpm-macros                 noarch  255.4-1.fc40  fedora           9.5 KiB
       replacing systemd-rpm-macros     noarch  256.2-1.fc40  @commandline     9.3 KiB
     systemd-tests                      x86_64  255.4-1.fc40  fedora          16.5 MiB
       replacing systemd-tests          x86_64  256.2-1.fc40  @commandline    20.0 MiB
     systemd-udev                       x86_64  255.4-1.fc40  fedora          11.5 MiB
       replacing systemd-udev           x86_64  256.2-1.fc40  @commandline    11.7 MiB
     systemd-ukify                      noarch  255.4-1.fc40  fedora          69.9 KiB
       replacing systemd-ukify          noarch  256.2-1.fc40  @commandline    73.3 KiB
    Installing:
     systemd-standalone-repart          x86_64  255.8-1.fc40  updates        986.6 KiB
    
    Transaction Summary:
     Installing:        1 packages
     Replacing:        12 packages
     Downgrading:      12 packages
    
    Also, declare the Conflicts on both sides, so that the issue is resolved
    immediately. Otherwise, it could still occur when an older version of the
    non-standalone packages are available (or installed).
    
        
file modified
+8 -4