Error in installing packages from opi

When I try to install package directly from zypper it install it correctly but when i try to search package in obs and install it, it gives me the following error i am tired of it and i’ve tried to find solution but i didn’t get anything please help me in solving the problem
this is the error when i try to search a package


umesh@localhost:~> opi filelight
Searching repos for: filelight
1. filelight
2. filelight-lang
3. kde3-filelight
4. trinity-filelight
5. filelight-debuginfo
6. filelight-debugsource
7. kde3-filelight-lang
8. trinity-filelight-debuginfo
Pick a number (0 to quit): 1
You have selected package name: filelight
Error building the cache:
[https-download.opensuse.org-36b3e273|https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/] Valid metadata not found at specified URL
History:
 - Can't create metadata cache directory.

Error building the cache:
[https-download.opensuse.org-8fc25acb|https://download.opensuse.org/repositories/home:/mnhauke:/security/openSUSE_Tumbleweed/] Valid metadata not found at specified URL
History:
 - Can't create metadata cache directory.

Error building the cache:
[https-download.opensuse.org-b70998cd|https://download.opensuse.org/tumbleweed/repo/oss/] Valid metadata not found at specified URL
History:
 - Can't create metadata cache directory.

Some of the repositories have not been refreshed because of an error.
Traceback (most recent call last):
  File "/usr/bin/opi", line 146, in <module>
    repo_query(args.query)
  File "/usr/bin/opi", line 85, in repo_query
    packages = opi.search_local_repos(selected_pkg_name) + packages
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/opi/__init__.py", line 206, in search_local_repos
    sr = subprocess.check_output(['zypper', '-ntc', zc.name, '--no-refresh', 'se', '-sx', '-tpackage', package], env={'LANG': 'c'}).decode()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['zypper', '-ntc', '/tmp/tmpo5w26iq0', '--no-refresh', 'se', '-sx', '-tpackage', 'filelight']' returned non-zero exit status 106.

It is redundant, it redirects to the standard Tumbleweed repository.

Otherwise it may be temporary network problem or you get redirected to bad mirror. I can access all those URLs.

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