Zypper dup fails with 404 error (Security tools repository)

When trying to update (Zypper dup), I get this:

Preloading: libfipscheck1-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: fipscheck-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: libfipscheck1-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: libfipscheck1-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: fipscheck-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: fipscheck-1.7.0-47.41.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: fipscheck-1.7.0-47.41.x86_64.rpm [The requested URL returned error: 404]
Preloading: libfipscheck1-1.7.0-47.41.x86_64.rpm [The requested URL returned error: 404]
(...)
Preload finished. [files missing (6.6 MiB/s) ] .............................................................................................[done]
Installation has completed with error.

It looks as if zypper is trying to use the version from the “Security tools” repo. I added that for Veracrypt.

bernd@linux:~> sudo zypper se -s libfipscheck
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...

S  | Name                          | Type    | Version     | Arch   | Repository
---+-------------------------------+---------+-------------+--------+-------------------------------------
   | libfipscheck1                 | package | 1.7.0-47.41 | x86_64 | Security tools (openSUSE_Tumbleweed)
   | libfipscheck1                 | package | 1.7.0-2.3   | x86_64 | repo-oss
   | libfipscheck1                 | package | 1.7.0-47.41 | i586   | Security tools (openSUSE_Tumbleweed)
   | libfipscheck1-32bit           | package | 1.7.0-47.41 | x86_64 | Security tools (openSUSE_Tumbleweed)
   | libfipscheck1-32bit           | package | 1.7.0-2.3   | x86_64 | repo-oss
   | libfipscheck1-32bit-debuginfo | package | 1.7.0-47.41 | x86_64 | Security tools (openSUSE_Tumbleweed)
   | libfipscheck1-debuginfo       | package | 1.7.0-47.41 | x86_64 | Security tools (openSUSE_Tumbleweed)

but that fails.

Now, is there a way to tell zypper to use the oss repo for these files instead?
And is there a problem with the security tools repo?

My repository list:

bernd@linux:~> sudo zypper lr --uri
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                      | Name                                   | Enabled | GPG Check | Refresh | URI
--+----------------------------+----------------------------------------+---------+-----------+---------+--------------------------------------------------------------------------------
1 | NVIDIA:repo-non-free       | repo-non-free                          | Yes     | (r ) Yes  | Yes     | https://download.nvidia.com/opensuse/tumbleweed
2 | home_Alexx2000             | Double Commander (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/home:/Alexx2000/openSUSE_Tumbleweed/
3 | openSUSE:repo-non-oss      | repo-non-oss                           | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/tumbleweed/repo/non-oss
4 | openSUSE:repo-openh264     | repo-openh264                          | Yes     | (r ) Yes  | Yes     | https://codecs.opensuse.org/openh264/openSUSE_Tumbleweed
5 | openSUSE:repo-oss          | repo-oss                               | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/tumbleweed/repo/oss
6 | openSUSE:repo-oss-debug    | repo-oss-debug                         | No      | ----      | ----    | http://cdn.opensuse.org/debug/tumbleweed/repo/oss
7 | openSUSE:repo-oss-source   | repo-oss-source                        | No      | ----      | ----    | http://cdn.opensuse.org/source/tumbleweed/repo/oss
8 | openSUSE:update-tumbleweed | update-tumbleweed                      | Yes     | (r ) Yes  | Yes     | http://cdn.opensuse.org/update/tumbleweed
9 | security                   | Security tools (openSUSE_Tumbleweed)   | Yes     | (r ) Yes  | No      | https://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/

You have improperly added repos. Simply activate the auto refresh for the security repo.
sudo zypper mr -r 9

Oh. Thank you very much.
I guess I could have noticed the “refresh” column myself :frowning:

However, does that mean that whenever I add a repo, for example

zypper addrepo https://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/security.repo

that is not enough, and I always need to set autorefresh for that manually?

You can avoid this by adding the repo in a different way. If you don’t use the repo file, you can add the repo with the -f flag. This enables the auto refresh.

sudo zypper ar -f https://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/ Security

From man zypper under de part for the addrepocommand:

-f, --refresh
Enable autorefresh of the repository. The autorefresh is disabled by default when adding new repositories.

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