beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.48k stars 352 forks source link

OpenSUSE `zypper` fails to install RPMs #1802

Open rmartin16 opened 1 month ago

rmartin16 commented 1 month ago

Describe the bug

The latest OpenSUSE Tumbleweed (i.e. 20240517) fails to install Briefcase-created RPMs.

de7199506088:/ # zypper --non-interactive --no-gpg-checks install --dry-run /dist/*-0.0.1-1.x86_64.rpm
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ..........................................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache ...............................................................................................................[done]
Retrieving repository 'Open H.264 Codec (openSUSE Tumbleweed)' metadata ...............................................................................................[done]
Building repository 'Open H.264 Codec (openSUSE Tumbleweed)' cache ....................................................................................................[done]
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ..............................................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Oss' cache ...................................................................................................................[done]
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata ...........................................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Update' cache ................................................................................................................[done]
Loading repository data...
Reading installed packages...
'_tmpRPMcache_:susetest=0:0.0.1-1' not found in package names. Trying capabilities.
No provider of '_tmpRPMcache_:susetest=0:0.0.1-1' found.

In CI: https://github.com/beeware/briefcase/actions/runs/9152053474/job/25159050882

Steps to reproduce

Attempt to install a Briefcase-created RPM in to OpenSUSE Tumbleweed as of 17-05-2024.

Expected behavior

The RPM can be installed in OpenSUSE.

This seems to be a regression (or feature...) in zypper such that it cannot reconcile a locally specified RPM anymore.

Screenshots

No response

Environment

Logs

No response

Additional context

No response

rmartin16 commented 1 month ago

Despite a new image release (20240523), this is still occurring. Interestingly, though, I can only replicate this in the Tumbleweed Docker image. When I create the RPM in a full Tumbleweed VM, zypper is able to install it...