Repo of AMDGPU could not resolve host

Hello,

Requirements:

I have [Searched] the forum for my issue and found nothing related or helpful
I have checked the [Resources) ([Resources Index]
I have reviewed the for relevant information
I have read the the [Release Notes and Errata]

OpenMandriva Lx version:
25.12 (Rome) Rolling for znver1

Desktop environment (KDE, LXQT…):
Doesn’t work

Description of the issue (screenshots if relevant):
Ever since the clean install of the latest OpenMandriva Rome, whenever the AMDGPU repo would get refreshed, it would output how it could not resolve host name.
I tried looking online (and in the resources above before posting this) and I couldn’t figure out how it would get resolved.
Today I tried to change from Rock release to Rolling release in the package manager UI of OpenMandriva, which let KDE to stop working due to AMDGPU repo not being available

I tried installing plasma without a desktop environment, but all repos output errors such as:
“Curl error (6) Could not resolve host name for repo Radeon AMD GPU 30.20.1”
Repo Radeon graphics 7.1.1
Repo Radeon rocm

Apologies for some oddities in the post, I’m currently on the phone while my main pc doesn’t have a desktop environment currently

Relevant informations (hardware involved, software version, logs or output…):
I’m on zen3 CPU and rDNA 3 GPU

1 Like

How did you enable these in the first place?

Can you still login from the TTY?

I enabled additional repos from the repo selection of open mandriva
Yup, I can access the computer using the terminal, just no visual interface due to amdgpu repos not working

Have you tried running startx or startplasma-wayland from the TTY?

Nice, didn’t know startx existed, my KDE desktop environment is back! Thanks

Is there a way for it to start X automatically?

Also the AMDGPU 30.20.1 repo still throws the error “Usable URL not found” when I try to refresh the repos, any way to fix it?

Welcome @User1 to OpenMandriva Forum and community.

For support try posting ALL OF the exact error you are seeing.

[Forum] How to post code as code

The amdgpu driver is a kernel module, to my knowledge, there should be nothing to install or enable. If you get a graphical desktop using startx then it sure would seem that graphics is working meaning amdgpu driver is working.

The repos are name main, extra, non-free, and restricted. I do not know what AMDGPU Repo even is. And I do have AMD graphics. My graphic hardware:

$ inxi -G
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Barcelo driver: amdgpu v: kernel
  Device-2: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
  Display: x11 server: X.org with: Xwayland v: 24.1.9 driver: X:
    loaded: modesetting dri: radeonsi gpu: amdgpu resolution: 1920x1200~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.4 renderer: AMD
    Radeon Graphics (radeonsi renoir ACO DRM 3.64 6.18.7-desktop-2omv2590)
  API: Vulkan v: 1.4.341 drivers: radv,llvmpipe surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

Edit: I may not fully understand the problem but it sounds more like something wrong with sddm or something with authentication. The output of dmesg orjournalctl is likely to tell us what the problem is. To start with lets get the output of dmesg like this:

dmesg > dmesg.txt

That creates the file dmesg.txt which you can post here. You want to do this after a boot that did not automatically boot to graphical desktop. Let’s see what that tells us.

I should correct myself, yes there are repos with radeon or amdgpu but those are not for user install that I know of. I presume that they are used by kernel.,org to add the modules to the Linux kernel packages. (As I understand things.)

dmesg.txt (124.1 KB)

Also:

Removed 15 files, 18 directories (total of 23 MiB). 0 errors occurred.
repo id repo name
amdgpu AMDGPU 30.20.1 repository
amdgraphics AMD Graphics 7.1.1 repository
repository LibreWolf Software Repository
rocm ROCm 7.1.1 repository
rolling-znver1 OpenMandriva Rolling - znver1
rolling-znver1-extra OpenMandriva Rolling - Extra - znver1
rolling-znver1-non-free OpenMandriva Rolling - Non-free - znver1
rolling-znver1-restricted OpenMandriva Rolling - Restricted - znver1
Updating and loading repositories:
LibreWolf Software Repository 100% | 3.9 KiB/s | 3.8 KiB | 00m01s

repomd.xml GPG signature verification error: Error during parsing OpenPGP packets: Corrupt PGP
AMD Graphics 7.1.1 repository 100% | 2.5 KiB/s | 2.2 KiB | 00m01s
Status code: 404 for https://repo.radeon.com/graphics/7.1.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/graphics/7.1.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/graphics/7.1.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/graphics/7.1.1/el/6.0/main/x86_64/repodata/repomd
Usable URL not found
AMDGPU 30.20.1 repository 100% | 2.5 KiB/s | 2.2 KiB | 00m01s
Status code: 404 for https://repo.radeon.com/amdgpu/30.20.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/amdgpu/30.20.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/amdgpu/30.20.1/el/6.0/main/x86_64/repodata/repomd
Status code: 404 for https://repo.radeon.com/amdgpu/30.20.1/el/6.0/main/x86_64/repodata/repomd
Usable URL not found
OpenMandriva Rolling - Restricted - znver1 100% | 15.8 KiB/s | 38.7 KiB | 00m02s
ROCm 7.1.1 repository 100% | 33.5 KiB/s | 65.5 KiB | 00m02s
OpenMandriva Rolling - Non-free - znver1 100% | 11.3 KiB/s | 33.5 KiB | 00m03s
Curl error (6): Could not resolve hostname for https://openmandriva.mirror.liteserver.nl/rolli
OpenMandriva Rolling - znver1 100% | 1.0 MiB/s | 5.8 MiB | 00m06s
OpenMandriva Rolling - Extra - znver1 100% | 159.3 KiB/s | 1.5 MiB | 00m09s
Curl error (7): Could not connect to server for https://openmandriva.mirror.liteserver.nl/rolling/repository/znver1/extra/release/repodata/ec7c7a00c541a8b16c3be8d6afeb6a9f313b85d254d7cbc6d0f81b6cd5e9f7b0-pr
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: systemd
You can try to add to command line:
–skip-broken to skip uninstallable packages
Press enter to close konsole

this is what I see everytime I update open mandriva from the open mandriva GUI updater, at first I ignored it, but then this AMDGPU thing is what messed up the switch from Rock to Rolling, plus all GPU sensors are missing on plasma system monitor when I was on Rock

Thankfully I now know about the startx command, so whenever I log in on the TTY session I gotta do this command to properly start things

I do not see any problem in your dmesg log that I recognize. I am not a developer. The dmesg covers the boot process up to, but not including, when the system would start loading the graphical desktop. So unless I missed something a dev would see the boot process looks like it is working OK.

Why are the amd and rocm repos there? Those are not OpenMandriva repos. These:

Are not realated to OpenMandriva we can not do anything about that. I would disable those until I had my system sorted. There may be good reasons to have those, but simplify to solve the current problem.

This:

https://openmandriva.mirror.liteserver.nl

Is one mirror of a list of mirrors, If you are using the default OM repo setup then Mirrorbits is redirecting you to another mirror. That is demonstrated by this line:

Repositories loaded.

But there is a problem, a big one:

Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: systemd

There is a fix for that here. systemd is the init system and it does affect the loading of the desktop so this may well be the problem, in any case this must be corrected before proceeding further in problem solving.

Now back to the title of this thread. Repo of AMDGPU could not resolve host. That has nothing to do with OpenMandriva. I would suggest you contact where ever you got those repos from. I believe that would be https://repo.radeon.com. We can’t do a thing about dnfor curl not finding that url.

Edit: I admit to being slow to recognize what this problem was, it should have been obvious even to this old man.

As far as the desktop not starting automatically that should not be happening and we are happy to help with that. But the title of the thread should be changed to reflect that or a new thread with a descriptive title started.

Why do you need this repo? It’s part of the distribution, as there are open source drivers.

While trying to remove the libre wolf repo that cause issues I noticed there was additional AMDGPU repo in /etc/yum.repos.d/ so I removed those and the errors when away but

Removed 6 files, 8 directories (total of 19 MiB). 0 errors occurred.
repo id repo name
rolling-znver1 OpenMandriva Rolling - znver1
Updating and loading repositories:
OpenMandriva Rolling - znver1 100% | 1.1 MiB/s | 5.8 MiB | 00m05s
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: systemd
You can try to add to command line:
–skip-broken to skip uninstallable packages
Press enter to close konsole

While running the update GUI, it is still trying to remove systemD, is there something else I should remove?

I did the fix mentioned to stop the updating process trying to remove systemd

Although sudo dsync --allowerasing --refresh threw an error saying it didn’t know what dsync meant

Now the login kinda works, it goes to UI login on boot, but after login it hangs 30 seconds before the session starts (black screen and a white _ blincking top left as if it is a terminal)

When updating, it’ll say there is a curl error Openmandriva mirror lite server rolling repo (no other errors yay)

Also tries to remove 3gb and add 100mb worth of packages, and some of the packages included in the removed 3gb worry me because they look quite important like dnf and sudo

Also after the session starts, it lasts about 1 or 2 minutes before it forcefully logs me out

Replace dsync with distro-sync ?

Postedit:
ah.. not sudo dsync it must be sudo dnf distro-sync

About the repositories, we always suggest to disable any 3rd party repo before starting the system upgrade.

That still leads to removal of 3gb worth of packages including dnf and sudo (while also adding 100 mb)

Are you sure you his won’t break anything?

Also I disabled the extra, free and 3rd party repo of the open mandriva repo manager GUI

Of course not.

See also ROME major upgrade expected - #57 by rugyada and the links there (use online translator if any need)

Do
sudo dnf clean all ; dnf repolist
to confirm your current enabled repos.

Start the system upgrade process from tty. Logout and open a virtual terminal (ctrl+alt+F3 -or F4 F5 F6 as you wish)

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1 | tee 20260205-rome-dsync-log.txt

Abort the transaction and attach the log file here if you feel something is not right or clear.

20260205-rome-dysync-log.txt (557 Bytes)

Edit: phew uploaded the file just in time, it forced me out of the session right after it

Also, there was only one repo, the rolling one

1 Like

Ok.

What does it return?

Removed 4 files, 4 directories, total of 0 B, 0 errors occured

Only one repo:
Rolling-znver1. OpenMandriva rolling znver1

1 Like

Ok.

Backups:

sudo cp /etc/dnf/dnf.conf /etc/dnf/dnf.conf-bak
cp -r /etc/yum.repos.d $HOME
cp /etc/dnf/repos.override.d/99-config_manager.repo $HOME
#

or copy by hand the above dir and files where you prefer

Do:
sudo om-mirror-selector.sh -m

pick a mirror near to your location (preferred option) or abf-download

sudo dnf clean all ; dnf repolist

Then same as before, start the system upgrade process from tty.
You may want to edit the log filename so to not overwrite the older, for example

sudo dnf distro-sync --refresh --allowerasing 2>&1 | tee 20260205.2-rome-dsync-log.txt

Report back your find.