this post was submitted on 06 Apr 2024
22 points (100.0% liked)

Linux

48323 readers
638 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Voytrekk@lemmy.world 3 points 7 months ago (1 children)

Seems you already fixed it, but in general the system should be updated with nobara-sync or dnf distrosync. Sometimes he will downgrade packages so it's best to just have it synced up with the same versions upstream.

[–] yo_scottie_oh@lemmy.ml 1 points 7 months ago

Gotcha, thanks for the tip!