I’m trying to install system updates on my gaming PC, which runs on Nobara 38. Typically I’d accomplish this in the command line by issuing dnf upgrade, but it refuses to update because doing so would remove the protected package nobara-amdgpu-config. Trying --skip-broken produces the same result.

How do I get past this issue or work around it so that I can install updates?

Command line output:

[yo_scottie_oh@nobara ~]$ sudo dnf upgrade
Last metadata expiration check: 0:33:19 ago on Sat 06 Apr 2024 05:57:10 PM EDT.
Error: 
 Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config
(try to add '--skip-broken' to skip uninstallable packages)
[yo_scottie_oh@nobara ~]$ sudo dnf upgrade --skip-broken
Last metadata expiration check: 0:33:42 ago on Sat 06 Apr 2024 05:57:10 PM EDT.
Error: 
 Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config
[yo_scottie_oh@nobara ~]$ sudo dnf update nobara-login
[sudo] password for scott: 
Last metadata expiration check: 0:43:46 ago on Sat 06 Apr 2024 05:57:10 PM EDT.
Error: 
 Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config
(try to add '--skip-broken' to skip uninstallable packages)
[yo_scottie_oh@nobara ~]$ nobara-sync
# Option “-x” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
[yo_scottie_oh@nobara ~]$ 

EDIT: I’m still attempting to solve this on my own. Trying solutions found in this Super User thread and this Reddit thread, which points to this documentation on the Nobara project site.

EDIT 2: Issuing nobara-sync seems to have done the trick. The Nobara project documentation that I linked to above explains why they recommend nobara-sync instead of dnf upgrade.

No comments yet!

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 1.9K

    Monthly active users

  • 2.9K

    Posts

  • 16K

    Comments