I can't update to F42

Hi everybody !

So exited to Fedora 42 i decided to update my SO and… doesn’t work.

In the Software store there is a notification but it doesn’t start a download, just it ask me to reboot and after nothing change.

By terminal I have the following message:

Packages for argument 'workstation-product-environment' installed, but not available.
Packages for argument 'anaconda-tools' installed, but not available.
Packages for argument 'base-graphical' installed, but not available.
Packages for argument 'container-management' installed, but not available.
Packages for argument 'core' installed, but not available.
Packages for argument 'desktop-accessibility' installed, but not available.
Packages for argument 'firefox' installed, but not available.
Packages for argument 'fonts' installed, but not available.
Packages for argument 'gnome-desktop' installed, but not available.
Packages for argument 'guest-desktop-agents' installed, but not available.
Packages for argument 'hardware-support' installed, but not available.
Packages for argument 'libreoffice' installed, but not available.
Packages for argument 'multimedia' installed, but not available.
Packages for argument 'networkmanager-submodules' installed, but not available.
Packages for argument 'printing' installed, but not available.
Packages for argument 'workstation-product' installed, but not available.

I don’t want to update via live USB if possible, any ideas ?

Try upgrading using command line with these instructions Upgrading Fedora Linux Using DNF System Plugin :: Fedora Docs
In general I find all updates / upgrade are better not done in Gnome Software.

1 Like

Thank you for your answer

The problem is that the prompt that I insert with packages installed, but not available. is the result to DNF system plugin by terminal

So I’m stucked

Maybe not all mirrors are ready

Sorry I missed the part where you said “by terminal I have the following messages”, lots of posts today and I was reading quickly.

Just to check, you are on F41, and have done sudo dnf update --refresh prior to updating?

You could try modifying your dnf config to use a specific mirror or country, if you think your current mirror is not up to date.

What version of ferdora are you trying to upgrade?
Is your current system update to date?

Please list the exact command you ran and the all fo its output.
From just the errors I cannot detemine what is wrong.

1 Like

I am having the exact same problem on one of my systems and it’s starting to look like related to dnf5 and/or possibly old groups/environments.

I have successfully upgraded one server and one workstation but my homelab server who is has been updated since 31 or 32 (I am mentioning this since the successful server upgrade is only been upgraded since 39 or 40) is exhibiting the same issue.
This is the output of dnf system-upgrade download --releasever=42 --allowerasing --refresh from fully updated F41.

Repositories loaded.
Failed to resolve the transaction:
Packages for argument 'web-server-environment' installed, but not available.
Package "speech-dispatcher-0.11.5-8.fc41.x86_64" is already installed.
Package "at-spi2-atk-2.54.1-1.fc41.x86_64" is already installed.
Package "at-spi2-atk-2.54.1-1.fc41.i686" is already installed.
Package "at-spi2-core-2.54.1-1.fc41.x86_64" is already installed.
Package "at-spi2-core-2.54.1-1.fc41.i686" is already installed.
Package "brltty-6.6-22.fc41.x86_64" is already installed.
Package "orca-47.3-1.fc41.noarch" is already installed.
Package "mesa-dri-drivers-25.0.3-2.fc41.x86_64" is already installed.
Package "mesa-dri-drivers-25.0.3-2.fc41.i686" is already installed.
Package "plymouth-system-theme-24.004.60-14.fc41.x86_64" is already installed.
Package "mesa-vulkan-drivers-25.0.3-2.fc41.x86_64" is already installed.
Package "mesa-vulkan-drivers-25.0.3-2.fc41.i686" is already installed.
Packages for argument 'awesome' available, but not installed.
Packages for argument 'i3' available, but not installed.
Packages for argument 'ratpoison' available, but not installed.
Packages for argument 'xmonad-basic' available, but not installed.
Package "dnf5-5.2.12.0-2.fc41.x86_64" is already installed.
Package "dnf5-plugins-5.2.12.0-2.fc41.x86_64" is already installed.
Package "cirrus-audio-firmware-20250410-1.fc41.noarch" is already installed.
Package "intel-audio-firmware-20250410-1.fc41.noarch" is already installed.
Package "nxpwireless-firmware-20250410-1.fc41.noarch" is already installed.
Package "tiwilink-firmware-20250410-1.fc41.noarch" is already installed.
Package "ibus-chewing-2.1.4-1.fc41.x86_64" is already installed.
Packages for argument 'im-chooser-xfce' available, but not installed.
Package "sddm-wayland-plasma-6.3.4-2.fc41.noarch" is already installed.
Package "plasma-workspace-wayland-6.3.4-2.fc41.x86_64" is already installed.
Package "toolbox-0.1.1-1.fc41.x86_64" is already installed.
Package "vlc-plugin-gstreamer-1:3.0.21-15.fc41.x86_64" is already installed.
Package "akonadi-server-24.12.3-1.fc41.x86_64" is already installed.
Package "akonadi-server-mysql-24.12.3-1.fc41.x86_64" is already installed.
Package "audiocd-kio-24.12.3-1.fc41.x86_64" is already installed.
Package "kaccounts-integration-qt6-24.12.3-1.fc41.x86_64" is already installed.
Package "kaccounts-providers-24.12.3-1.fc41.x86_64" is already installed.
Package "kf6-baloo-file-6.13.0-1.fc41.x86_64" is already installed.
Package "konsole-24.12.3-1.fc41.x86_64" is already installed.
Package "phonon-qt6-backend-vlc-0.12.0-4.fc41.x86_64" is already installed.
Package "plasma-print-manager-6.3.4-1.fc41.x86_64" is already installed.
Package "samba-usershares-2:4.21.5-1.fc41.x86_64" is already installed.
Package "signon-kwallet-extension-24.12.3-1.fc41.x86_64" is already installed.
Packages for argument 'lxqt-config' available, but not installed.
Packages for argument 'sddm-themes' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Packages for argument 'rkhunter' available, but not installed.
Packages for argument 'tripwire' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Package "amd-ucode-firmware-20250410-1.fc41.noarch" is already installed.
Package "sssd-proxy-2.10.2-1.fc41.x86_64" is already installed.
Packages for argument 'BackupPC' available, but not installed.
Packages for argument 'rtorrent' available, but not installed.
Package "vlc-plugins-extra-1:3.0.21-15.fc41.x86_64" is already installed.
Packages for argument 'i3' available, but not installed.
Packages for argument 'i3status' available, but not installed.
Packages for argument 'ratpoison' available, but not installed.
Package "wget2-wget-2.2.0-2.fc41.x86_64" is already installed.
Package "dnf5-plugins-5.2.12.0-2.fc41.x86_64" is already installed.
Package "ibus-chewing-2.1.4-1.fc41.x86_64" is already installed.
Problem: conflicting requests
  - package sddm-wayland-miriway-25.02.1-1.fc42.noarch from fedora conflicts with sddm-greeter-displayserver provided by sddm-wayland-plasma-6.3.4-2.fc42.noarch from fedora
  - sddm-wayland-plasma-6.3.4-2.fc41.noarch does not belong to a distupgrade repository

Now I am not sure what exactly is happening here.

  • The packages mentioned as already installed are packages that have been normally installed.
  • The packages mentioned as available but not installed are packages that have been uninstalled via dnf at some point in the past.
  • Conflict “sddm-wayland-plasma-6.3.4-2.fc41.noarch does not belong to a distupgrade repository” is properly installed and comes from updates repo:
sddm-wayland-plasma.noarch                           6.3.4-2.fc41                           updates
  • The web-server-environment shows as installed but not available, I see in the environments list indeed as installed but said environment does not exist on the other server I just upgraded. Also the list of environments contains duplicated entries only on this server:
Repositories loaded.
ID                                Name                                 Installed
basic-desktop-environment         Basic Desktop                              yes
basic-desktop-environment         Basic Desktop                               no
budgie-desktop-environment        Budgie Desktop                              no
cinnamon-desktop-environment      Cinnamon Desktop                            no
cloud-server-environment          Fedora Cloud Server                         no
cosmic-desktop-environment        COSMIC Desktop                              no
custom-environment                Fedora Custom Operating System              no
deepin-desktop-environment        Deepin Desktop                              no
developer-workstation-environment Development and Creative Workstation        no
i3-desktop-environment            i3 desktop                                  no
kde-desktop-environment           KDE Plasma Workspaces                      yes
kde-desktop-environment           KDE Plasma Workspaces                       no
kde-mobile-environment            KDE Plasma Mobile                           no
lxde-desktop-environment          LXDE Desktop                                no
lxqt-desktop-environment          LXQt Desktop                               yes
lxqt-desktop-environment          LXQt Desktop                                no
mate-desktop-environment          MATE Desktop                                no
miraclewm-desktop-environment     Miracle WM Desktop Environment              no
phosh-desktop-environment         Phosh Desktop                               no
server-product-environment        Fedora Server Edition                      yes
server-product-environment        Fedora Server Edition                       no
sugar-desktop-environment         Sugar Desktop Environment                   no
sway-desktop-environment          Sway Desktop                                no
web-server-environment            Web Server                                 yes
workstation-product-environment   Fedora Workstation                         yes
workstation-product-environment   Fedora Workstation                          no
xfce-desktop-environment          Xfce Desktop                                no

Trying to remove the environment wants to remove:

Removing groups:
 Basic Web Server                                                                                                                                                                                                                                                                                                           
Removing environmental groups:
 Web Server                     

Which is a no go as that takes down apache and php which are used on several public facing services.

Any ideas what’s going on here?

EDIT: Trying to reinstall the environment makes it clear that it doesn’t exist anymore and is probably deprecated at some point in the past and leftover somewhere.
grepping for in /etc returns no results. I’m now looking in /usr and /var but that’s going to take a while. If I don’t find where this is saved, I’ll have to take a look at dnf5’s code to see where these are read from unless someone has some better idea.

EDIT2:

  • Ok so the installed environments are saved in /usr/lib/sysimage/libdnf5/environments.toml. Remove any old deprecated ones from there.
  • The sddm conflict seems to be caused by having both plasma and sway installed at the same time. sddm wants to pull both sddm-wayland-plasma and sddm-wayland-miriway which conflict with each other.
  • The rest of the messages must be regarding deprecated groups/environments. I will check them extensively after the upgrade.

Can you check your etc/yum.repos.d/ ?

I had deleted all file into and I can’t find again them

Check /etc/yum.repos.d/ for what exactly? That’s where the repo definition files are. They’re irrelevant to the problem.

EDIT: Irrelevant to my problem at least. If you have deleted the repo definitions then obviously dnf does not know where to download packages from. So you should repair them.
Do:
rpm -qi fedora-repos

See what version of the fedora-repos package you have installed. Then download the rpm file and reinstall it.

1 Like

For me was just that problem, I restored /etc/yum.repos.d/ and it worked

So sorry and thank you for your time