Installing broadcom-wl removes systemd

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)

its removing systemd what should I do?

Fedora 40 kde spin.

1 Like

What are the outputs of dnf repolist, sudo dnf info broadcom-wl and sudo dnf repoquery --conflicts broadcom-wl commands?

dnf repolist output:

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.
1 Like

Well, on my system I got the same results as you I can successfully install broadcom-wl:

> ~ < sudo dnf install broadcom-wl
[sudo] password for ersen: 
Last metadata expiration check: 2:07:10 ago on Mon 27 May 2024 07:28:20 PM +03.
Dependencies resolved.
================================================================================================================================================================================
 Package                                           Architecture                   Version                                       Repository                                 Size
================================================================================================================================================================================
Installing:
 broadcom-wl                                       noarch                         6.30.223.271-23.fc40                          rpmfusion-nonfree                          24 k
Installing dependencies:
 akmod-wl                                          x86_64                         6.30.223.271-51.fc40                          rpmfusion-nonfree                         5.5 M
 akmods                                            noarch                         0.5.8-8.fc40                                  fedora                                     32 k
 debugedit                                         x86_64                         5.0-14.fc40                                   fedora                                     79 k
 elfutils-libelf-devel                             x86_64                         0.191-4.fc40                                  fedora                                     23 k
 fakeroot                                          x86_64                         1.34-1.fc40                                   updates                                    99 k
 fakeroot-libs                                     x86_64                         1.34-1.fc40                                   updates                                    38 k
 http-parser                                       x86_64                         2.9.4-11.fc40                                 fedora                                     36 k
 kernel-devel                                      x86_64                         6.8.10-300.fc40                               updates                                    20 M
 kernel-devel-matched                              x86_64                         6.8.10-300.fc40                               updates                                   160 k
 kmodtool                                          noarch                         1.1-10.fc40                                   fedora                                     16 k
 libgit2                                           x86_64                         1.7.2-1.fc40                                  fedora                                    543 k
 libzstd-devel                                     x86_64                         1.5.6-1.fc40                                  updates                                    52 k
 openssl-devel                                     x86_64                         1:3.2.1-2.fc40                                fedora                                    2.8 M
 python3-argcomplete                               noarch                         3.3.0-2.fc40                                  updates                                    86 k
 python3-babel                                     noarch                         2.15.0-1.fc40                                 updates                                   6.5 M
 python3-cffi                                      x86_64                         1.16.0-4.fc40                                 fedora                                    306 k
 python3-ply                                       noarch                         3.11-23.fc40                                  fedora                                    136 k
 python3-progressbar2                              noarch                         3.53.2-11.fc40                                fedora                                     72 k
 python3-pycparser                                 noarch                         2.20-14.fc40                                  fedora                                    157 k
 python3-pygit2                                    x86_64                         1.14.0-1.fc40                                 fedora                                    286 k
 python3-rpmautospec-core                          noarch                         0.1.4-3.fc40                                  fedora                                     15 k
 python3-typing-extensions                         noarch                         4.9.0-3.fc40                                  fedora                                     77 k
 python3-utils                                     noarch                         3.7.0-3.fc40                                  fedora                                     69 k
 rpm-build                                         x86_64                         4.19.1.1-1.fc40                               fedora                                     78 k
 rpmdevtools                                       noarch                         9.6-7.fc40                                    fedora                                     96 k
 systemd-rpm-macros                                noarch                         255.6-1.fc40                                  updates                                    31 k
 time                                              x86_64                         1.9-23.fc40                                   fedora                                     47 k
 zlib-ng-compat-devel                              x86_64                         2.1.6-2.fc40                                  fedora                                     36 k
 zstd                                              x86_64                         1.5.6-1.fc40                                  updates                                   479 k
Installing weak dependencies:
 python3-rpmautospec                               noarch                         0.6.3-1.fc40                                  fedora                                     73 k

Transaction Summary
================================================================================================================================================================================
Install  31 Packages

Total download size: 38 M
Installed size: 118 M
Is this ok [y/N]: y
Downloading Packages:
(1/31): python3-rpmautospec-core-0.1.4-3.fc40.noarch.rpm                                                                                         56 kB/s |  15 kB     00:00    
(2/31): python3-typing-extensions-4.9.0-3.fc40.noarch.rpm                                                                                       229 kB/s |  77 kB     00:00    
(3/31): python3-rpmautospec-0.6.3-1.fc40.noarch.rpm                                                                                             213 kB/s |  73 kB     00:00    
(4/31): rpm-build-4.19.1.1-1.fc40.x86_64.rpm                                                                                                    186 kB/s |  78 kB     00:00    
(5/31): python3-utils-3.7.0-3.fc40.noarch.rpm                                                                                                   163 kB/s |  69 kB     00:00    
(6/31): rpmdevtools-9.6-7.fc40.noarch.rpm                                                                                                       208 kB/s |  96 kB     00:00    
(7/31): elfutils-libelf-devel-0.191-4.fc40.x86_64.rpm                                                                                            33 kB/s |  23 kB     00:00    
(8/31): python3-progressbar2-3.53.2-11.fc40.noarch.rpm                                                                                          106 kB/s |  72 kB     00:00    
(9/31): akmods-0.5.8-8.fc40.noarch.rpm                                                                                                           45 kB/s |  32 kB     00:00    
(10/31): fakeroot-libs-1.34-1.fc40.x86_64.rpm                                                                                                   104 kB/s |  38 kB     00:00    
(11/31): debugedit-5.0-14.fc40.x86_64.rpm                                                                                                       101 kB/s |  79 kB     00:00    
(12/31): python3-pycparser-2.20-14.fc40.noarch.rpm                                                                                              192 kB/s | 157 kB     00:00    
(13/31): fakeroot-1.34-1.fc40.x86_64.rpm                                                                                                        178 kB/s |  99 kB     00:00    
(14/31): python3-pygit2-1.14.0-1.fc40.x86_64.rpm                                                                                                299 kB/s | 286 kB     00:00    
(15/31): http-parser-2.9.4-11.fc40.x86_64.rpm                                                                                                    34 kB/s |  36 kB     00:01    
(16/31): kmodtool-1.1-10.fc40.noarch.rpm                                                                                                         15 kB/s |  16 kB     00:01    
(17/31): python3-ply-3.11-23.fc40.noarch.rpm                                                                                                    124 kB/s | 136 kB     00:01    
(18/31): libzstd-devel-1.5.6-1.fc40.x86_64.rpm                                                                                                   59 kB/s |  52 kB     00:00    
(19/31): python3-cffi-1.16.0-4.fc40.x86_64.rpm                                                                                                  224 kB/s | 306 kB     00:01    
(20/31): python3-argcomplete-3.3.0-2.fc40.noarch.rpm                                                                                             93 kB/s |  86 kB     00:00    
(21/31): kernel-devel-matched-6.8.10-300.fc40.x86_64.rpm                                                                                        149 kB/s | 160 kB     00:01    
(22/31): zstd-1.5.6-1.fc40.x86_64.rpm                                                                                                           604 kB/s | 479 kB     00:00    
(23/31): systemd-rpm-macros-255.6-1.fc40.noarch.rpm                                                                                              31 kB/s |  31 kB     00:01    
(24/31): zlib-ng-compat-devel-2.1.6-2.fc40.x86_64.rpm                                                                                            21 kB/s |  36 kB     00:01    
(25/31): time-1.9-23.fc40.x86_64.rpm                                                                                                             25 kB/s |  47 kB     00:01    
(26/31): libgit2-1.7.2-1.fc40.x86_64.rpm                                                                                                        244 kB/s | 543 kB     00:02    
(27/31): broadcom-wl-6.30.223.271-23.fc40.noarch.rpm                                                                                             12 kB/s |  24 kB     00:02    
(28/31): openssl-devel-3.2.1-2.fc40.x86_64.rpm                                                                                                  832 kB/s | 2.8 MB     00:03    
(29/31): akmod-wl-6.30.223.271-51.fc40.x86_64.rpm                                                                                               900 kB/s | 5.5 MB     00:06    
(30/31): kernel-devel-6.8.10-300.fc40.x86_64.rpm                                                                                                1.8 MB/s |  20 MB     00:10    
(31/31): python3-babel-2.15.0-1.fc40.noarch.rpm                                                                                                 399 kB/s | 6.5 MB     00:16    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                           1.9 MB/s |  38 MB     00:19     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                        1/1 
  Installing       : kmodtool-1.1-10.fc40.noarch                                                                                                                           1/31 
  Installing       : zstd-1.5.6-1.fc40.x86_64                                                                                                                              2/31 
  Installing       : python3-babel-2.15.0-1.fc40.noarch                                                                                                                    3/31 
  Installing       : python3-argcomplete-3.3.0-2.fc40.noarch                                                                                                               4/31 
  Installing       : libzstd-devel-1.5.6-1.fc40.x86_64                                                                                                                     5/31 
  Installing       : fakeroot-libs-1.34-1.fc40.x86_64                                                                                                                      6/31 
  Installing       : fakeroot-1.34-1.fc40.x86_64                                                                                                                           7/31 
  Running scriptlet: fakeroot-1.34-1.fc40.x86_64                                                                                                                           7/31 
  Installing       : zlib-ng-compat-devel-2.1.6-2.fc40.x86_64                                                                                                              8/31 
  Installing       : elfutils-libelf-devel-0.191-4.fc40.x86_64                                                                                                             9/31 
  Installing       : time-1.9-23.fc40.x86_64                                                                                                                              10/31 
  Installing       : python3-typing-extensions-4.9.0-3.fc40.noarch                                                                                                        11/31 
  Installing       : python3-utils-3.7.0-3.fc40.noarch                                                                                                                    12/31 
  Installing       : python3-progressbar2-3.53.2-11.fc40.noarch                                                                                                           13/31 
  Installing       : python3-rpmautospec-core-0.1.4-3.fc40.noarch                                                                                                         14/31 
  Installing       : python3-ply-3.11-23.fc40.noarch                                                                                                                      15/31 
  Installing       : python3-pycparser-2.20-14.fc40.noarch                                                                                                                16/31 
  Installing       : python3-cffi-1.16.0-4.fc40.x86_64                                                                                                                    17/31 
  Installing       : openssl-devel-1:3.2.1-2.fc40.x86_64                                                                                                                  18/31 
  Installing       : kernel-devel-6.8.10-300.fc40.x86_64                                                                                                                  19/31 
  Running scriptlet: kernel-devel-6.8.10-300.fc40.x86_64                                                                                                                  19/31 
  Installing       : kernel-devel-matched-6.8.10-300.fc40.x86_64                                                                                                          20/31 
  Installing       : http-parser-2.9.4-11.fc40.x86_64                                                                                                                     21/31 
  Installing       : libgit2-1.7.2-1.fc40.x86_64                                                                                                                          22/31 
  Installing       : python3-pygit2-1.14.0-1.fc40.x86_64                                                                                                                  23/31 
  Installing       : python3-rpmautospec-0.6.3-1.fc40.noarch                                                                                                              24/31 
  Installing       : debugedit-5.0-14.fc40.x86_64                                                                                                                         25/31 
  Installing       : rpm-build-4.19.1.1-1.fc40.x86_64                                                                                                                     26/31 
  Installing       : rpmdevtools-9.6-7.fc40.noarch                                                                                                                        27/31 
  Running scriptlet: akmods-0.5.8-8.fc40.noarch                                                                                                                           28/31 
useradd: failed to reset the lastlog entry of UID 963: No such file or directory

  Installing       : akmods-0.5.8-8.fc40.noarch                                                                                                                           28/31 
  Running scriptlet: akmods-0.5.8-8.fc40.noarch                                                                                                                           28/31 
Created symlink /etc/systemd/system/multi-user.target.wants/akmods.service → /usr/lib/systemd/system/akmods.service.

  Installing       : broadcom-wl-6.30.223.271-23.fc40.noarch                                                                                                              29/31 
  Installing       : akmod-wl-6.30.223.271-51.fc40.x86_64                                                                                                                 30/31 
  Running scriptlet: akmod-wl-6.30.223.271-51.fc40.x86_64                                                                                                                 30/31 
  Installing       : systemd-rpm-macros-255.6-1.fc40.noarch                                                                                                               31/31 
  Running scriptlet: akmod-wl-6.30.223.271-51.fc40.x86_64                                                                                                                 31/31 
  Running scriptlet: systemd-rpm-macros-255.6-1.fc40.noarch                                                                                                               31/31 

Installed:
  akmod-wl-6.30.223.271-51.fc40.x86_64                     akmods-0.5.8-8.fc40.noarch                                broadcom-wl-6.30.223.271-23.fc40.noarch                   
  debugedit-5.0-14.fc40.x86_64                             elfutils-libelf-devel-0.191-4.fc40.x86_64                 fakeroot-1.34-1.fc40.x86_64                               
  fakeroot-libs-1.34-1.fc40.x86_64                         http-parser-2.9.4-11.fc40.x86_64                          kernel-devel-6.8.10-300.fc40.x86_64                       
  kernel-devel-matched-6.8.10-300.fc40.x86_64              kmodtool-1.1-10.fc40.noarch                               libgit2-1.7.2-1.fc40.x86_64                               
  libzstd-devel-1.5.6-1.fc40.x86_64                        openssl-devel-1:3.2.1-2.fc40.x86_64                       python3-argcomplete-3.3.0-2.fc40.noarch                   
  python3-babel-2.15.0-1.fc40.noarch                       python3-cffi-1.16.0-4.fc40.x86_64                         python3-ply-3.11-23.fc40.noarch                           
  python3-progressbar2-3.53.2-11.fc40.noarch               python3-pycparser-2.20-14.fc40.noarch                     python3-pygit2-1.14.0-1.fc40.x86_64                       
  python3-rpmautospec-0.6.3-1.fc40.noarch                  python3-rpmautospec-core-0.1.4-3.fc40.noarch              python3-typing-extensions-4.9.0-3.fc40.noarch             
  python3-utils-3.7.0-3.fc40.noarch                        rpm-build-4.19.1.1-1.fc40.x86_64                          rpmdevtools-9.6-7.fc40.noarch                             
  systemd-rpm-macros-255.6-1.fc40.noarch                   time-1.9-23.fc40.x86_64                                   zlib-ng-compat-devel-2.1.6-2.fc40.x86_64                  
  zstd-1.5.6-1.fc40.x86_64                                

Complete!

It will also install on my machine if i use --skip-broken, should i use '--skip-broken? but it will uninstall systemd

1 Like

I didn’t use --skip-broken and I don’t recommend uninstalling systemd. My systemd version is systemd-255.6-1.fc40.x86_64, what is yours?

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:

updates                                                    Fedora 40 - x86_64 - Updates
1 Like

yes its there, sorry i forgot to add in the output above. What should i do now?

1 Like

hmm when i run dnf install systemd i got

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!

I have two systemd version installed?

1 Like

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.

2 Likes

Also, by any chance did you mark systemd as installonly? You can check it with:

sudo dnf config-manager --dump | grep installonly
1 Like

sudo dnf info systemd-255.4-1.fc40.x86_64 output:

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

installonly_limit = 3
installonlypkgs = kernel, kernel-PAE, installonlypkg(kernel), installonlypkg(kernel-module), installonlypkg(vm), multiversion(kernel)
1 Like

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.

2 Likes

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.

1 Like

Thank you very much, now i can install broadcom-wl.

1 Like

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.

Thanks.

2 Likes

Just a simple reminder (for anyone reading this).

Always ensure your system is on reliable power when performing anything that will write to the drive to avoid this type situation.

2 Likes