Repository 'AMDGPU 6.4.1 repository' is invalid

Hi,
I’m trying to update this morning and I get the following error. I do not understand if it’s a temporary issue or if I need to update the repository url.
Last night I made the update and packages related to amd where upgraded.
All is good apart this issue.

My current list of repos:

➜  ~ sudo zypper lr
Repository priorities in effect:                                                                                                                                                                                                              (See 'zypper lr -P' for details)
      70 (raised priority)  :  1 repository
      99 (default priority) : 16 repositories

#  | Alias                                    | Name                                                 | Enabled | GPG Check | Refresh
---+------------------------------------------+------------------------------------------------------+---------+-----------+--------
 1 | Education                                | Applications for education users (15.6)              | Yes     | (r ) Yes  | No
 2 | ROCm-6.4                                 | ROCm6.4                                              | Yes     | (r ) Yes  | No
 3 | amdgpu                                   | AMDGPU 6.4.1 repository                              | Yes     | ( p) Yes  | No
 4 | amdgpu-latest                            | amdgpu-latest                                        | Yes     | (r ) Yes  | No
 5 | devel_languages_perl                     | Perl and perl modules (15.6)                         | Yes     | (r ) Yes  | No
 6 | devel_tools_ide_vscode                   | devel_tools_ide_vscode                               | Yes     | (r ) Yes  | Yes
 7 | download.opensuse.org-non-oss            | Main Repository (NON-OSS)                            | Yes     | (r ) Yes  | Yes
 8 | download.opensuse.org-oss                | Main Repository (OSS)                                | Yes     | (r ) Yes  | Yes
 9 | download.opensuse.org-tumbleweed         | Main Update Repository                               | Yes     | (r ) Yes  | Yes
10 | graphics_darktable_master                | Darktable-Org Master snapshots (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No
11 | openSUSE-20250127-0                      | openSUSE-20250127-0                                  | No      | ----      | ----
12 | packman                                  | Packman                                              | Yes     | (r ) Yes  | Yes
13 | repo-debug                               | openSUSE-Tumbleweed-Debug                            | No      | ----      | ----
14 | repo-openh264                            | Open H.264 Codec (openSUSE Tumbleweed)               | Yes     | (r ) Yes  | Yes
15 | repo-source                              | openSUSE-Tumbleweed-Source                           | No      | ----      | ----
16 | rocm                                     | rocm                                                 | Yes     | (r ) Yes  | Yes
17 | science                                  | Software for Scientists and Engineers (SLE_15_SP5)   | Yes     | (r ) Yes  | No
18 | shells_zsh-users_zsh-autosuggestions     | zsh-autosuggestions (openSUSE_Tumbleweed)            | Yes     | (r ) Yes  | No
19 | shells_zsh-users_zsh-completions         | zsh-completions (openSUSE_Tumbleweed)                | Yes     | (r ) Yes  | No
20 | shells_zsh-users_zsh-syntax-highlighting | zsh-syntax-highlighting (openSUSE_Tumbleweed)        | Yes     | (r ) Yes  | No

This is the error:

Repository 'Main Update Repository' is up to date.                                                                                                                                                                                                                            
Repository 'Applications for education users (15.6)' is up to date.                                                                                                                                                                                                           
Repository 'ROCm6.4' is up to date.                                                                                                                                                                                                                                           
Retrieving repository 'AMDGPU 6.4.1 repository' metadata ..............................................................................................................................................................................................................[error]
Repository 'AMDGPU 6.4.1 repository' is invalid.
[amdgpu|https://repo.radeon.com/amdgpu/6.4.1/sle/20250515/main/x86_64] Failed to retrieve new repository metadata.
History:
 - [amdgpu|https://repo.radeon.com/amdgpu/6.4.1/sle/20250515/main/x86_64] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'AMDGPU 6.4.1 repository' because of the above error.
Repository 'amdgpu-latest' is up to date.                                                                                                                                                                                                                                     
Repository 'Perl and perl modules (15.6)' is up to date.                                                                                                                                                                                                                      
Repository 'devel_tools_ide_vscode' is up to date.                                                                                                                                                                                                                            
Repository 'Main Repository (NON-OSS)' is up to date.                                                                                                                                                                                                                         
Repository 'Main Repository (OSS)' is up to date.                                                                                                                                                                                                                             
Repository 'Darktable-Org Master snapshots (openSUSE_Tumbleweed)' is up to date.                                                                                                                                                                                              
Repository 'Packman' is up to date.                                                                                                                                                                                                                                           
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.                                                                                                                                                                                                            
Repository 'rocm' is up to date.                                                                                                                                                                                                                                              
Repository 'Software for Scientists and Engineers (SLE_15_SP5)' is up to date.                                                                                                                                                                                                
Repository 'zsh-autosuggestions (openSUSE_Tumbleweed)' is up to date.                                                                                                                                                                                                         
Repository 'zsh-completions (openSUSE_Tumbleweed)' is up to date.                                                                                                                                                                                                             
Repository 'zsh-syntax-highlighting (openSUSE_Tumbleweed)' is up to date.                                                                                                                                                                                                     
Some of the repositories have not been refreshed because of an error.

Thanks.

I think I’ve found the issue:

 3 | amdgpu                                   | AMDGPU 6.-> | Yes     | ( p) Yes  | No      | https://repo.radeon.com/amdgpu/6.4.1/sle/20250515/main/x86_64
 4 | amdgpu-latest                            | amdgpu-la-> | Yes     | (r ) Yes  | No      | https://repo.radeon.com/amdgpu/latest/sle/15.6/main/x86_64/

I removed the repo 3 and now is ok.

Nice that you found it.

Nevertheless some pedantic remarks for the next time you ask for help here.

  • Please, always post the computer in/output complete. That means including the line with prompt/command (which you did fine in the first code part, but you omitted it in the second one), all output up to and at best including the new prompt line (which then signals it is complete).
  • Posting your list of configured repositories is rather useless when the URLs of the repos aren’t included. The Names and Aliases are local to your system and basically can be anything. Thus something like zypper lr -d will do much better.

Thanks!
I realized that after posting, but didn’t want to remove the original post — maybe other people have the same issues :slight_smile:

I omitted the command because it’s a custom alias, I’m using to update/upgrade:

alias zup="sudo zypper ref && sudo env ZYPP_PCK_PRELOAD=1 zypper dup && flatpak update -y"

and I thought can be confusing without the detailed alias. But you are absolutely right at pointing this out.

Not a solution. No Tumbleweed user should have all these repos.

1 Like

I understand the comment, but I have been using linux since 1996 and Tumbleweed since 2023 and I know that I can expect problems at any time. But honestly these repos have never given me any problems. I recently upgraded a hard drive on my machine and reinstalled AMDGPU and that’s probably when I messed up.

The rest of the repositories:

  • darktable, I take advantage of OBS and that way I can use/test the nightly build

  • zsh*, also OBS and are the scripts to install autocompletion/suggestion in zsh; of course I could install the scripts from github by hand, but OBS and zypper are much more convenient

  • packman and codecs are always recommended for installing codecs

  • rocm… I have an AMD card and need it for ollama and testing LLM, pytorch etc

Then if I wanted to take it easy, I could continue to use my boring macbook and my boring macOS :slight_smile:

It’s always good to know the cause. If that repo ever worked, then the repo changed.

It is now:

https://repo.radeon.com/amdgpu/6.4.1/sle/15.6/main/x86_64/

Or…

https://repo.radeon.com/amdgpu/6.4.1/sle/15.7/main/x86_64/

The one you were using had a date in the address:

https://repo.radeon.com/amdgpu/6.4.1/sle/20250515/main/x86_64

If you go here you can see that there is no folder with a date anymore. You only have 15.6 or 15.7.

https://repo.radeon.com/amdgpu/6.4.1/sle/

1 Like

AMD’s website https://repo.radeon.com is intended for SLE 15 SP6 (Leap 15.6) or SLE 15 SP7 (plus some other distributions), but not for TW.

You can use it with Leap 15.6. For TW you can use Distrobox or virtual machine to get AMD’s software running on TW.
This repo Index of /amdgpu/6.4.1/sle/15.6/main/x86_64/ provides drivers for Leap 15.6 - i.e. Linux kernel 6.4, which is not available for TW (incl. Slowroll).

ROCm repo Index of /rocm/zyp/ provides Python, LLVM & other stuff for Leap, with TW you use newer versions => incompatibility.

Thanks, I have another question: which is the safest way to get rid of the packman repo? I’m having issues in the latest week and I think it’s related to Mesa. I checked with the command sudo zypper se -ir xxx all the repo in the first message and removed the ones that were not used.

The only reason I remember about the packman repo I have installed is because of opi codecs but at this point I’m not even sure.

Use packman essentials don’t think it has mesa packages???

Change the mesa packages vendor from packman to openSUSE. Easiest done from Yast.

Note you only need packman for proprietary stuff

Thanks, to summarise, I have these repos:

➜  ~ sudo zypper lr -u                                                  
Repository priorities in effect:                                                                                                                                                                                                              (See 'zypper lr -P' for details)
      70 (raised priority)  :  1 repository
      90 (raised priority)  :  1 repository
      99 (default priority) : 10 repositories

#  | Alias                                    | Name                                                 | Enabled | GPG Check | Refresh | URI
---+------------------------------------------+------------------------------------------------------+---------+-----------+---------+-----------------------------------------------------------------------------------------------------------
 1 | ROCm-latest                              | ROCm-latest                                          | Yes     | (r ) Yes  | Yes     | https://repo.radeon.com/rocm/zyp/latest/main/
 2 | amdgpu-latest                            | amdgpu-latest                                        | Yes     | (r ) Yes  | Yes     | https://repo.radeon.com/amdgpu/latest/sle/15.6/main/x86_64/
 3 | devel_tools_ide_vscode                   | devel_tools_ide_vscode                               | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/openSUSE_Tumbleweed
 4 | download.opensuse.org-non-oss            | Main Repository (NON-OSS)                            | Yes     | (r ) Yes  | Yes     | N/A
 5 | download.opensuse.org-oss                | Main Repository (OSS)                                | Yes     | (r ) Yes  | Yes     | N/A
 6 | download.opensuse.org-tumbleweed         | Main Update Repository                               | Yes     | (r ) Yes  | Yes     | N/A
 7 | graphics_darktable_master                | Darktable-Org Master snapshots (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     | https://download.opensuse.org/repositories/graphics:/darktable:/master/openSUSE_Tumbleweed/
 8 | openh264                                 | openh264                                             | Yes     | (r ) Yes  | Yes     | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/
 9 | packman-essentials                       | packman-essentials                                   | Yes     | (r ) Yes  | Yes     | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/
10 | shells_zsh-users_zsh-autosuggestions     | zsh-autosuggestions (openSUSE_Tumbleweed)            | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/shells:/zsh-users:/zsh-autosuggestions/openSUSE_Tumbleweed/
11 | shells_zsh-users_zsh-completions         | zsh-completions (openSUSE_Tumbleweed)                | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/shells:/zsh-users:/zsh-completions/openSUSE_Tumbleweed/
12 | shells_zsh-users_zsh-syntax-highlighting | zsh-syntax-highlighting (openSUSE_Tumbleweed)        | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/openSUSE_Tumbleweed/

And from packman-essentials I get only these:

➜  ~ sudo zypper se -ir 9                    
Loading repository data...
Reading installed packages...

S  | Name                          | Summary                                                          | Type
---+-------------------------------+------------------------------------------------------------------+--------
i+ | ffmpeg-7                      | Set of libraries for working with various multimedia formats     | package
i+ | gdk-pixbuf-loader-libheif     | GDK PixBuf Loader for libheif                                    | package
i+ | gstreamer-plugins-bad-codecs  | Codecs/plugins for gstreamer-plugins-bad                         | package
i+ | gstreamer-plugins-ugly-codecs | Codecs/plugins for gstreamer-plugins-ugly                        | package
i+ | libavcodec58_134              | FFmpeg codec library                                             | package
i+ | libavcodec61                  | FFmpeg codec library                                             | package
i+ | libavdevice61                 | FFmpeg device library                                            | package
i+ | libavfilter10                 | FFmpeg audio and video filtering library                         | package
i+ | libavformat58_76              | FFmpeg's stream format library                                   | package
i+ | libavformat61                 | FFmpeg's stream format library                                   | package
i+ | libavutil56_70                | FFmpeg's utility library                                         | package
i+ | libavutil59                   | FFmpeg's utility library                                         | package
i  | libde265-0                    | Open H.265 video codec implementation - libraries                | package
i  | libfaac0                      | Shared library part of faac                                      | package
i  | libfaad2                      | Shared library part of faad2                                     | package
i+ | libfdk-aac2                   | A standalone library of the Fraunhofer FDK AAC code from Android | package
i+ | libheif-aom                   | Plugin AOM encoder and decoder for AVIF                          | package
i+ | libheif-dav1d                 | Plugin dav1d decoder for AVIF                                    | package
i+ | libheif-ffmpeg                | Plugin FFMPEG decoder (HW acc) for HEIC                          | package
i+ | libheif-jpeg                  | Plugin encoder and decoder for JPEG in HEIF                      | package
i+ | libheif-openjpeg              | Plugin OpenJPEG J2K encoder and decoder for JPEG-2000 in HEIF    | package
i+ | libheif-rav1e                 | Plugin rav1e encoder for AVIF                                    | package
i+ | libheif-svtenc                | Plugin SVT-AV1 encoder for AVIF                                  | package
i+ | libheif1                      | HEIF/AVIF file format decoder and encoder                        | package
i  | libopenaptx0                  | An implementation of Audio Processing Technology codec (aptX)    | package
i+ | libpostproc55_9               | FFmpeg post-processing library                                   | package
i+ | libpostproc58                 | FFmpeg post-processing library                                   | package
i+ | libquicktime0                 | Library for Reading and Writing Quicktime Movie Files            | package
i  | librtmp1                      | RTMP Stream Dumper Library                                       | package
i+ | libswresample3_9              | FFmpeg software resampling library                               | package
i+ | libswresample5                | FFmpeg software resampling library                               | package
i+ | libswscale5_9                 | FFmpeg image scaling and colorspace/pixel conversion library     | package
i+ | libswscale8                   | FFmpeg image scaling and colorspace/pixel conversion library     | package
i+ | libvlc5                       | Shared code for the VLC media player program                     | package
i+ | libvlccore9                   | Shared code for the VLC media player program                     | package
i  | libx264-164                   | A free h264/avc encoder - encoder binary                         | package
i  | libx265-215                   | A free H265/HEVC encoder - encoder binary                        | package
i+ | pipewire-aptx                 | PipeWire Bluetooth aptX codec plugin                             | package
i+ | vlc                           | Graphical media player                                           | package
i+ | vlc-codec-gstreamer           | GStreamer integration for the VLC media player                   | package
i+ | vlc-codecs                    | Additional codecs for the VLC media player                       | package
i+ | vlc-noX                       | VLC without X dependencies                                       | package
i+ | vlc-qt                        | Qt interface for the VLC media player                            | package
i+ | vlc-vdpau                     | Additional vdpau codecs for the VLC media player                 | package
➜  ~ 

If I try to change vendor, I get an error but no other explanations.

➜  ~ sudo zypper dup --allow-vendor-change                              
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 83 packages are going to be upgraded:
  adwaita-icon-theme checkmedia docker-compose gdk-pixbuf-loader-rsvg ghc-array ghc-base ghc-binary ghc-blaze-builder ghc-blaze-html ghc-blaze-markup ghc-bytestring ghc-citeproc ghc-containers ghc-deepseq ghc-directory ghc-exceptions ghc-filepath ghc-ghc-bignum
  ghc-ghc-boot-th ghc-ghc-internal ghc-http-client ghc-http-client-tls ghc-mtl ghc-os-string ghc-pandoc ghc-parsec ghc-pretty ghc-process ghc-regex-tdfa ghc-skylighting ghc-skylighting-core ghc-skylighting-format-ansi ghc-skylighting-format-blaze-html
  ghc-skylighting-format-context ghc-skylighting-format-latex ghc-skylighting-format-typst ghc-stm ghc-template-haskell ghc-texmath ghc-text ghc-time ghc-transformers ghc-typst ghc-typst-symbols ghc-unix ghc-xml-conduit hugo hugo-bash-completion hugo-zsh-completion
  kitty kitty-shell-integration kitty-terminfo libaa1 libguestfs libguestfs0 libguestfs-appliance libguestfs-winsupport libguestfs-xfs libmediacheck6 libosmgpsmap-1_0-1 librsvg-2-2 libsoup-2_4-1 libsoup-3_0-0 libvpl2 MozillaThunderbird MozillaThunderbird-openpgp-librnp
  nodejs-electron openSUSE-build-key openSUSE-release openSUSE-release-ftp ovmf pandoc-cli passt passt-apparmor passt-selinux python311-packaging python311-setuptools python313-packaging python313-setuptools qemu-ovmf-x86_64 rootlesskit ShellCheck xen-libs

The following product is going to be upgraded:
  openSUSE Tumbleweed  20250515-0 -> 20250522-0

The following 15 packages are going to be downgraded:
  libgbm1 libmpdec4 libvdpau_r600 libvdpau_radeonsi libvulkan_lvp libvulkan_radeon Mesa Mesa-dri Mesa-gallium Mesa-KHR-devel Mesa-libEGL1 Mesa-libEGL-devel Mesa-libGL1 Mesa-libva Mesa-vulkan-device-select

The following 15 packages are going to change vendor:
  libgbm1                    http://packman.links2linux.de -> openSUSE
  libmpdec4                  obs://build.opensuse.org/science -> openSUSE
  libvdpau_r600              http://packman.links2linux.de -> openSUSE
  libvdpau_radeonsi          http://packman.links2linux.de -> openSUSE
  libvulkan_lvp              http://packman.links2linux.de -> openSUSE
  libvulkan_radeon           http://packman.links2linux.de -> openSUSE
  Mesa                       http://packman.links2linux.de -> openSUSE
  Mesa-dri                   http://packman.links2linux.de -> openSUSE
  Mesa-gallium               http://packman.links2linux.de -> openSUSE
  Mesa-KHR-devel             http://packman.links2linux.de -> openSUSE
  Mesa-libEGL1               http://packman.links2linux.de -> openSUSE
  Mesa-libEGL-devel          http://packman.links2linux.de -> openSUSE
  Mesa-libGL1                http://packman.links2linux.de -> openSUSE
  Mesa-libva                 http://packman.links2linux.de -> openSUSE
  Mesa-vulkan-device-select  http://packman.links2linux.de -> openSUSE

83 packages to upgrade, 15 to downgrade, 15  to change vendor.

Package download size:   331.9 MiB

Package install size change:
              |      1.39 GiB  required by packages that will be installed
    -9.8 MiB  |  -   1.40 GiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
Installation has completed with error.

I checked the logs that you can see here and from my understanding there are some packages that are missing the URl and I guess is my fault messing up with repos :stuck_out_tongue:

Any suggestions to fix this it will be very appreciated.

Edit:

Checking one random package that give an error:

➜  ~ zypper info --provides ghc-pandoc


    Note: Repository 'Main Repository (NON-OSS)' is out-of-date. You can run 'zypper refresh' as
    root to update it.

    Note: Repository 'Main Repository (OSS)' is out-of-date. You can run 'zypper refresh' as root to
    update it.

    Note: Repository 'Main Update Repository' is out-of-date. You can run 'zypper refresh' as root
    to update it.
Loading repository data...
Reading installed packages...

[...PACKAGE INFORMATION HERE]

and I’m realizing now that the tumbleweed repos links are N/A. I don’t think this is normal but AFAIK I never modified those.

You have no openSUSE Tumbleweed repos. Repo 4-6 have no URL. You only have arbitrary development repos setup. You need to add proper URLs.

http://download.opensuse.org/tumbleweed/repo/oss/
http://download.opensuse.org/tumbleweed/repo/non-oss/
http://download.opensuse.org/update/tumbleweed/
1 Like

@hui you are right, I just noticed the same and updated the previous reply. I’ll try to add the repo link and run dup again.

update run smoothly :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.