1. Home
  2. Docs
  3. Update/Upgrade Troublesho...
  4. How do I upgrade to a new Nobara version?

How do I upgrade to a new Nobara version?

For existing installations only:

NOTES:
– You cannot skip versions. For example you cannot go from Nobara 37 to Nobara 39.
– Nobara 37 is no longer supported is not receiving any more updates.

PREPARE NOBARA 37 FOR UPGRADING TO NOBARA 38:

Fix repos:

wget https://nobara-baseos.nobaraproject.org/37/05909930-nobara-repos/nobara-repos-37-8.noarch.rpm
wget https://nobara-baseos.nobaraproject.org/37/05909930-nobara-repos/nobara-gpg-keys-37-8.noarch.rpm
sudo dnf update -y nobara-repos*.rpm nobara-gpg*.rpm

sudo mv /etc/yum.repos.d/nobara.repo.rpmnew /etc/yum.repos.d/nobara.repo

wget https://nobara-baseos.nobaraproject.org/37/05767440-fedora-repos/fedora-repos-37-12.noarch.rpm
wget https://nobara-baseos.nobaraproject.org/37/05767440-fedora-repos/fedora-gpg-keys-37-12.noarch.rpm

sudo dnf update -y fedora-repos*.rpm fedora-gpg*.rpm

Remove some old packages that have since been replaced by flatpaks:

sudo dnf remove -y blender discord telegram-desktop oneapi-level-zero onlyoffice-desktopeditors

Fix nobara-amdgpu-config package issue:

sudo dnf update --exclude=nobara-login --refresh -y
sudo rpm -e --nodeps nobara-amdgpu-config

Update the system:

nobara-sync

Remove AMD proprietary drivers and firmware if you have them installed — they are no longer needed for OBS as VAAPI support works great now:

sudo dnf remove -y amdamf-pro-runtime amdvlk-pro.i686 amdvlk-pro.x86_64 libdrm-pro.i686 libdrm-pro.x86_64 amd-gpu-pro-firmware amdgpu-opengl-switcher amdgpu-vulkan-switcher

Restore the normal libdrm and amdgpu firmware:

sudo dnf install -y libdrm.x86_64 libdrm.i686 amd-gpu-firmware

Run dracut so amd gpu firmware is re-added to all kernels:

sudo dracut --regenerate-all --force

UPGRADE THE SYSTEM:

sudo dnf install dnf-plugin-system-upgrade -y
sudo dnf system-upgrade download --releasever=38 -y
sudo dnf system-upgrade reboot

PREPARING NOBARA 38 TO UPGRADE TO NOBARA 39:

With Nobara 39 the ‘Official’ version has switched from a GNOME base to KDE. With that, the following packages shipped from Nobara are no longer available, and should be removed in GNOME and Official Nobara 38 installations before upgrading:

sudo rpm -e --nodeps nobara-gnome-layouts

sudo dnf remove \
gnome-shell-extension-arc-menu \
gnome-shell-extension-clipboard-history \
gnome-shell-extension-custom-accent-colors \
gnome-shell-extension-gesture-improvements \
gnome-shell-extension-quick-settings-tweaker \
gnome-shell-extension-wireless-hid \
gnome-shell-nobara-theming \
gnome-extension-manager \
gnome-x11-gesture-daemon

Remove some old packages that have since been replaced by flatpaks:

sudo dnf remove -y blender discord telegram-desktop oneapi-level-zero librist libndi-sdk firefox onlyoffice-desktopeditors

Fix nobara-amdgpu-config package issue:

sudo dnf update --exclude=nobara-login --refresh -y
sudo rpm -e --nodeps nobara-amdgpu-config

Update the system:

nobara-sync

UPGRADE THE SYSTEM:

sudo dnf install dnf-plugin-system-upgrade -y
sudo dnf system-upgrade download --releasever=39 -y
sudo dnf system-upgrade reboot

Media foundation fixups:

nobara-sync

Flatpak fixup:

The fedora flatpak repository has been removed. During updating if you had flatpaks installed from the fedora flatpak repository you may see failures like this:

Unable to update app/org.gabmus.hydrapaper/x86_64/stable: Remote "fedora" not found
Unable to update runtime/org.fedoraproject.Platform/x86_64/f38: Remote "fedora" not found

If this happens, you need to remove ALL flatpaks listed in the error that are coming from the ‘fedora’ repository listed in the error. Ex:

app/org.gabmus.hydrapaper
runtime/org.fedoraproject.Platform

Remove the affected flatpaks:

flatpak remove org.gabmus.hydrapape
flatpak remove org.fedoraproject.Platform

(Optionally) Reinstall the removed flatpaks from the ‘flathub’ repo instead of the ‘fedora’ repo:

flatpak install --user flathub org.gabmus.hydrapaper

Note here I am only reinstalling the ‘app/org.gabmus.hydrapaper flatpak’, you do not need to reinstall the runtime ‘runtime/org.fedoraproject.Platform’, it will get automatically installed as a dependency.

Reinstall previously removed packages:

As mentioned some packages have been migrated to their flatpak versions and/or needed media package changes, and so we had to remove them during the preparation phase. You may now re-install them if you wish:

Libreoffice:

sudo dnf install -y libreoffice

obs-studio:

sudo dnf install -y obs-studio

firefox:

*NOTE: We now ship chromium instead of firefox for compatibility with EmuDeck. You can install firefox again if you prefer or install chromium:

sudo dnf install -y firefox
sudo dnf install -y mozilla-openh264

or

sudo dnf install -y chromium

How can we help?