File /var/tmp/TmpFile.nKb641 doesn't contain public key data

Of 3 tumbleweeds here 2 have updated recently without trouble but one is failing both zypper dup and zypper ref.

it hasn’t been updated since april, might that be a cause of trouble? if so how may it be fixed?

i just added the packman repo to it, and packman does its ref just fine, but the other repos complain:

  #  zypper ref
Repository 'packma' is up to date.                                                                                                                      
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid.
[repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.BuxMym doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ........................................................................................[error]
Repository 'openSUSE-Tumbleweed-Oss' is invalid.
[repo-oss|http://download.opensuse.org/tumbleweed/repo/oss/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.nKb641 doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata .....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://download.opensuse.org/update/tumbleweed/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.5My9fJ doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
Some of the repositories have not been refreshed because of an error.
  4#

There are no files matching /var/tmp/TmpFile* on either the ailing or the working tumbleweeds, and there’s no lack of filespace.

it’s having no trouble reaching the internet, the .repo files are identical to the working ones, i tried replacing the ailing /var/cache/zypp/raw/repo-non-oss/ with the content from a working one, that didn’t change the result. Also tried

  #  zypper removerepo openSUSE-Tumbleweed-Oss                                                          [5/96]
Removing repository 'openSUSE-Tumbleweed-Oss' ....................................................................................................[done]
Repository 'openSUSE-Tumbleweed-Oss' has been removed.
  0#  zypper addrepo -f http://download.opensuse.org/tumbleweed/repo/oss openSUSE-Tumbleweed-Oss
Adding repository 'openSUSE-Tumbleweed-Oss' ......................................................................................................[done]
Repository 'openSUSE-Tumbleweed-Oss' successfully added              
                                                                            
URI         : http://download.opensuse.org/tumbleweed/repo/oss
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 99 (default priority)

Repository priorities in effect:                                                                                        (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  3 repositories
  0#  zypper ref                    
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ........................................................................................[error]
Repository 'openSUSE-Tumbleweed-Oss' is invalid.
[openSUSE-Tumbleweed-Oss|http://download.opensuse.org/tumbleweed/repo/oss] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.Zc3Zec doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Repository 'packma' is up to date.    
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid.
[repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.2vnYgo doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata .....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://download.opensuse.org/update/tumbleweed/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.6NxKrk doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error. 
Some of the repositories have not been refreshed because of an error.
  4#

What could this ailing tumbleweed need?

Have either zypper or gpg changed in some way to cause this, and did i miss the window to easily update to those changes? if so how may i fix it?

You are probably being redirected to a bad mirror.

Wait a while, and see if it corrects itself. If not, you can edit the url to change it to a better mirror.

1 Like

My laptop updated just fine monday but now it’s getting the same problem too!

mirrors.opensuse.org” doesn’t show “update” for any mirror in the “tumbleweed” column! Does that mean tumbleweed updates are currently broken?

I just tried “zypper refresh” on my Tumbleweed system. And all repos refreshed without problems. But other people in your geographic area might be having similar problems.

1 Like

Tumbleweed is a rolling release distribution and doesn’t use the update directory! That is why it is not listed on the mirrors page. You can check yourself that the update directory for Tumbleweed only contains some dummy packages:
https://download.opensuse.org/update/tumbleweed/x86_64/
The update directory would only be used if there where ultra critical updates which needs to be provided prior the next snapshot.

2 Likes

All 3 of these:…

baseurl=http://ftp.uni-erlangen.de/update/tumbleweed/
baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/
baseurl=http://download.opensuse.org/app/server/ftp.halifax.rwth-aachen.de/tumbleweed/repo/oss

…fail thus:…

  #  zypper ref
Repository 'Branch project for package obs-studio (openSUSE_Tumbleweed)' is up to date.                                                                 
Repository 'microsoft-edge-dev' is up to date.                                                                                                          
Repository 'Packman' is up to date.                                                                                                                     
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid.
[repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.vO3p6r doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ........................................................................................[error]
Repository 'openSUSE-Tumbleweed-Oss' is invalid.
[repo-oss|http://download.opensuse.org/app/server/ftp.halifax.rwth-aachen.de/tumbleweed/repo/oss] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.k54lC9 doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata .....................................................................................[error]
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://ftp.uni-erlangen.de/update/tumbleweed/] Valid metadata not found at specified URL
History:
 - File /var/tmp/TmpFile.lrWeFd doesn't contain public key data

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
Some of the repositories have not been refreshed because of an error.
  4#

Surprising that they all fail, as if perhaps specifying the mirror is still usurped by a broken mirror redirect setup.

No wonder that these URLs fail. They do not exist. They are not even listed on the mirror page. So you created them yourself (whyever and however :roll_eyes:).

Wrong:
baseurl=http://ftp.uni-erlangen.de/update/tumbleweed/
should be:
baseurl=https://ftp.uni-erlangen.de/opensuse/update/tumbleweed/

Wrong:
baseurl=http://download.opensuse.org/app/server/ftp.halifax.rwth-aachen.de/tumbleweed/repo/oss
Should be:
baseurl=https://ftp.halifax.rwth-aachen.de/opensuse/tumbleweed/repo/oss/

1 Like

Yes well, it illustrates the valid original “non-oss” URL failing with the same error as bogus URLs.

And yes thanks for the corrections. After which the original “non-oss” URL still failed, as they have here in saint paul mn usa for 41 hours at least.

Sad to see automatic mirror selection failing for my location. indeed oogling shows the same has happened for others before.

But a couple more hours now and it’s recovered and working.

Sure would be handy if the failure messages would actually inform us of what is or might be happening.

Quick scan of the logs might reveal a 404 error.

I keep this (below) bookmarked, just in case … be sure to tap on the “Mirror Overview” selection. Might also be worth it to investigate the other options :+1:

1 Like

@gregrwm A “Cheese and Sprinkles” thing… :laughing: (from the Rio movie)…

I would suggest switching to Mirrorcache (MirrorCache - openSUSE Wiki), works fine down here in Mississippi…

I also suspect with a snapshot released some 7 odd hours ago (20231128) and one another hour ago (20231129 ) doesn’t help the Mirror load…

sadly eg 12/4 mirrorcache was suffering the same trouble here, i got going by selecting a mirror myself

You may try mirror.leaseweb.net. At Erlangen download.opensuse.org diverts to their servers, which are fast and reliable.

1 Like

This works (today anyway):

baseurl=https://mirrorcache.opensuse.org/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed

but none of these do:

baseurl=https://mirror.easyname.at/opensuse/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed
baseurl=https://ftp.gwdg.de/opensuse/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed
baseurl=https://ftp.gwdg.de/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed
baseurl=https://ftp.gwdg.de/home:/twotaps:/mediatools/openSUSE_Tumbleweed
baseurl=https://ftp.gwdg.de/twotaps:/mediatools/openSUSE_Tumbleweed

Where could i learn what mirrors are available for twotaps:/mediatools (obs-studio) and how to form a working address?

1. Open https://software.opensuse.org/package/obs-studio > Show community pages.

Copy and paste from expert download. Added flags -cf.

3400g:~ # zypper addrepo -cf https://download.opensuse.org/repositories/home:twotaps:mediatools/openSUSE_Tumbleweed/home:twotaps:mediatools.repo
Adding repository 'Branch project for package obs-studio (openSUSE_Tumbleweed)' ......................................................................................................................................................[done]
Repository 'Branch project for package obs-studio (openSUSE_Tumbleweed)' successfully added

URI         : https://download.opensuse.org/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed/
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 99 (default priority)

Repository priorities in effect:                                                                                                                                                                            (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  5 repositories
     100 (lowered priority) :  4 repositories
3400g:~ # 

2. Check repos:

3400g:~ # repos
#  | Alias                               | Enabled | GPG Check | Refresh | Priority | URI
---+-------------------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------------------------------
 5 | Packman                             | Yes     | (r ) Yes  | Yes     |   90     | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/
12 | home_MaxxedSUSE                     | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/home:/MaxxedSUSE/openSUSE_Tumbleweed/
18 | home_twotaps_mediatools             | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed/
25 | repo-non-oss                        | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/non-oss/
26 | repo-oss                            | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/oss/
28 | repo-update                         | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/update/tumbleweed/
 7 | YaST_Head_Rebuild                   | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/YaST:/Head:/Rebuild/openSUSE_Tumbleweed/
15 | home_eyecreate_branches_filesystems | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/home:/eyecreate:/branches:/filesystems/openSUSE_Tumbleweed/
16 | home_kukuk_qmapshack                | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/home:/kukuk:/qmapshack/openSUSE_Tumbleweed/
19 | jalbum                              | Yes     | (  ) No   | Yes     |  100     | https://jalbum.net/download/software/yumrepo/
3400g:~ # 

3. Check packages:

3400g:~ # zypper search --details --match-exact --type package obs-studio
Loading repository data...
Reading installed packages...

S  | Name       | Type    | Version             | Arch   | Repository
---+------------+---------+---------------------+--------+----------------------------------------------------------------------
i+ | obs-studio | package | 29.1.3-1699.1.pm.31 | x86_64 | Packman
v  | obs-studio | package | 30.0.2-3.8          | x86_64 | MaxxedSUSE - Linux made easy for Windows users. (openSUSE_Tumbleweed)
v  | obs-studio | package | 29.0.2-2.11         | x86_64 | Branch project for package obs-studio (openSUSE_Tumbleweed)
3400g:~ # 
1 Like

If you append .mirrorlist to any file name, you get the list of mirrors known to have this file. ftp.gwdg.de is listed there, but if you get closer look, the path is different to what you attempted.

https://download.opensuse.org/repositories/home:/twotaps:/mediatools/openSUSE_Tumbleweed/home:twotaps:mediatools.repo.mirrorlist

1 Like

Open repodata: https://download.opensuse.org/tumbleweed/repo/oss/repodata/

Click on breadcrumb repodata displays status page: https://download.opensuse.org/app/folder/1058752