I enable rpm fusion and restart my system and try to install broadcom-wl this is what i got.
Error:
Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
repo id repo name
fedora Fedora 40 - x86_64
fedora-cisco-openh264 Fedora 40 openh264 (From Cisco) - x86_64
rpmfusion-free RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
updates
sudo dnf info broadcom-wl output:
vailable Packages
Name : broadcom-wl
Version : 6.30.223.271
Release : 23.fc40
Architecture : noarch
Size : 24 k
Source : broadcom-wl-6.30.223.271-23.fc40.src.rpm
Repository : rpmfusion-nonfree
Summary : Common files for Broadcom 802.11 STA driver
URL : https://www.broadcom.com/support/download-search?pg=Legacy+Products&pf=Legacy+Wireless&pn=&pa=&po=&dk=&pl=
License : Redistributable, no modification permitted
Description : This package contains the license, README.txt and configuration
: files for the Broadcom 802.11 Linux STA Driver for WiFi, a Linux
: device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4313-,
: BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-,
: BCM43228-, BCM4331-, BCM4360 and -BCM4352- based hardware.
and sudo dnf repoquery --conflicts broadcom-wl output:
Last metadata expiration check: 1:43:23 ago on Mon 27 May 2024 10:18:48 PM IST.
One of my f40 systems (old iMac) uses broadcom-wl, and has systemd from the updates repo:
Installed Packages
Name : systemd
Version : 255.6
Release : 1.fc40
Architecture : x86_64
Size : 15 M
Source : systemd-255.6-1.fc40.src.rpm
Repository : @System
From repo : updates
Summary : System and Service Manager
[...]
The last line of your dnf repolist output is incomplete – it should be:
Last metadata expiration check: 2:18:54 ago on Mon 27 May 2024 10:18:48 PM IST.
Package systemd-255.4-1.fc40.x86_64 is already installed.
Package systemd-255.6-1.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Well, that is strange and probably the cause of the problem. systemd-255.4-1.fc40.x86_64 shouldn’t be there. How did you install it? What does sudo dnf info systemd-255.4-1.fc40.x86_64 says? Normally, upgrading systemd should remove the old version so you should have only 1 systemd package installed on your system.
ast metadata expiration check: 2:56:56 ago on Mon 27 May 2024 10:18:48 PM IST.
Installed Packages
Name : systemd
Version : 255.4
Release : 1.fc40
Architecture : x86_64
Size : 15 M
Source : systemd-255.4-1.fc40.src.rpm
Repository : @System
From repo : anaconda
Summary : System and Service Manager
URL : https://systemd.io
License : LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later
Description : systemd is a system and service manager that runs as PID 1 and starts the rest
: of the system. It provides aggressive parallelization capabilities, uses socket
: and D-Bus activation for starting services, offers on-demand starting of
: daemons, keeps track of processes using Linux control groups, maintains mount
: and automount points, and implements an elaborate transactional dependency-based
: service control logic. systemd supports SysV and LSB init scripts and works as a
: replacement for sysvinit. Other parts of this package are a logging daemon,
: utilities to control basic system configuration like the hostname, date, locale,
: maintain a list of logged-in users, system accounts, runtime directories and
: settings, and a logging daemons.
:
: This package was built from the v255-stable branch of systemd.
i don’t know how it got installed i am on a new fedora 40 kde spin
and `sudo dnf config-manager --dump | grep installonly’ output
Looks like it is installed by Anaconda (Fedora’s installer) and it is not marked as installonly. Normally, when you upgrade a package the old version will be removed but yours didn’t somehow. Can you check for duplicated packages with sudo dnf check --duplicates command. If it list anything, you can try to remove them with sudo dnf remove --duplicates command.
I would try sudo dnf distro-sync --refresh to see if it would handle the extra systemd package that seems to be installed. It would appear that something in an update failed to remove the older package after installing the new one.
yeah when i was upgrading fedora my systemd shutdown because of low battery and when i log in sddm was not working i had enter the tty and then ran sudo dnf upgrade and it fix sddm. i think because of shutdown it didn’t remove the old packages.