Bug 2344333 - installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts with systemd provided by systemd-257.2-17.fc42.x86_64 from rawhide
Summary: installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts ...
Keywords:
Status: POST
Alias: None
Product: Fedora Container Images
Classification: Fedora
Component: base
Version: 45
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Clement Verna
QA Contact:
URL:
Whiteboard:
: 2344827 (view as bug list)
Depends On: 2344322
Blocks: 2337007
TreeView+ depends on / blocked
 
Reported: 2025-02-07 11:33 UTC by Jan Pazdziora
Modified: 2026-08-17 13:33 UTC (History)
15 users (show)

Fixed In Version:
Clone Of: 2344322
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure fedora-kiwi-descriptions pull-request 141 0 None None None 2025-02-15 13:03:38 UTC

Description Jan Pazdziora 2025-02-07 11:33:53 UTC
+++ This bug was initially created as a clone of Bug #2344322 +++

Attempt to install systemd in registry.fedoraproject.org/fedora:rawhide container fails.


Reproducible: Always

Steps to Reproduce:
1. podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y systemd

Actual Results:  
$ podman run --rm registry.fedoraproject.org/fedora:rawhide dnf install -y systemd
Updating and loading repositories:
 Fedora rawhide openh264 (From Cisco) - 100% |   5.8 KiB/s |   6.0 KiB |  00m01s
 Fedora - Rawhide - Developmental packa 100% |   6.1 MiB/s |  21.6 MiB |  00m04s
Repositories loaded.
Failed to resolve the transaction:
Problem: problem with installed package
  - installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts with systemd provided by systemd-257.2-17.fc42.i686 from rawhide
  - package systemd-257.2-17.fc42.i686 from rawhide conflicts with systemd-standalone-sysusers provided by systemd-standalone-sysusers-257.2-17.fc42.x86_64 from rawhide
  - conflicting requests
  - installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts with systemd provided by systemd-257.2-17.fc42.x86_64 from rawhide
  - package systemd-257.2-17.fc42.x86_64 from rawhide conflicts with systemd-standalone-sysusers provided by systemd-standalone-sysusers-257.2-17.fc42.x86_64 from rawhide
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems
  --skip-broken to skip uninstallable packages


Expected Results:  
No error, systemd installed.

--- Additional comment from Zbigniew Jędrzejewski-Szmek on 2025-02-07 11:00:12 UTC ---

I'm not sure how exactly the rawhide image is put together, i.e. what packages are
*supposed* to be installed, but in general this not an error.

Apparently, systemd-standalone-sysusers is installed in the image.
To replace that with normal systemd, add --allowerasing.

If it is expect that the base image contains systemd, or that systemd can
be installed without --allowerasing, then I think you should report this against
the image definition. Please put me in CC if you do. I'm interesting in
understanding if there is a problem. But we don't track image definitions
in bugzilla.

--- Additional comment from Alexey Tikhonov on 2025-02-07 11:22:38 UTC ---

JFTR: we encounter this (or similar) issue both working with F42 and Rawhide containers:
```
    Problem: problem with installed package
      - installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts with systemd provided by systemd-257.2-17.fc42.i686 from fedora
      - package systemd-257.2-17.fc42.i686 from fedora conflicts with systemd-standalone-sysusers provided by systemd-standalone-sysusers-257.2-17.fc42.x86_64 from fedora
      - package openssh-server-9.9p1-7.fc42.x86_64 from fedora requires systemd, but none of the providers can be installed
      - installed package systemd-standalone-sysusers-257.2-17.fc42.x86_64 conflicts with systemd provided by systemd-257.2-17.fc42.x86_64 from fedora
      - package systemd-257.2-17.fc42.x86_64 from fedora conflicts with systemd-standalone-sysusers provided by systemd-standalone-sysusers-257.2-17.fc42.x86_64 from fedora
```

--- Additional comment from Zbigniew Jędrzejewski-Szmek on 2025-02-07 11:28:18 UTC ---

This is probably somehow related to the sysusers merge. Rpm gained a dependency
on /usr/bin/systemd-sysusers, which is provided by either systemd and systemd-standalone-sysusers,
and some image definitions were changed to prefer systemd-standalone-sysusers.
But the packaging itself is correct. The question of whether some image is suitable
for what you want to use it for cannot be answered here.

--- Additional comment from Jan Pazdziora on 2025-02-07 11:29:33 UTC ---

I fail to see why systemd / systemd-standalone-sysusers are packaged in such a way that upgrading from systemd-standalone-sysusers to full systemd is not supported without the nuclear option of --allowerasing.

IIRC, product Fedora Container Images and component base (https://bugzilla.redhat.com/buglist.cgi?classification=Fedora&component=base&product=Fedora%20Container%20Images) is where Fedora container images are tracked.

Comment 1 Zbigniew Jędrzejewski-Szmek 2025-02-11 09:14:06 UTC
*** Bug 2344827 has been marked as a duplicate of this bug. ***

Comment 2 Zbigniew Jędrzejewski-Szmek 2025-02-15 13:03:39 UTC
https://pagure.io/fedora-kiwi-descriptions/pull-request/141

Comment 3 Aoife Moloney 2026-08-17 13:33:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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