Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing local RPMs is no longer possible #551

Closed
bwoodsend opened this issue Jun 2, 2024 · 1 comment
Closed

Installing local RPMs is no longer possible #551

bwoodsend opened this issue Jun 2, 2024 · 1 comment

Comments

@bwoodsend
Copy link

I used to be able to install a local RPM using zypper install /local/package.rpm. Now it seems to reject them, deferring to searching (and usually failing) in capabilities.

I'm using the latest tumbleweed Docker container (
docker.io/opensuse/tumbleweed@sha256:9e65b8bf919cd51723d588025da9d22cf87ca993367fb1350c7a8682466f27ef) which contains zypper 1.14.73.

$ docker run -it docker.io/opensuse/tumbleweed@sha256:9e65b8bf919cd51723d588025da9d22cf87ca993367fb1350c7a8682466f27ef

6bf6507f2649:/ # zypper download wget
...
Retrieving: wget-1.24.5-1.1.x86_64 (openSUSE-Tumbleweed-Oss)                                                                                                                                                              (1/1), 375.8 KiB    
...
(1/1) /var/cache/zypp/packages/repo-oss/x86_64/wget-1.24.5-1.1.x86_64.rpm

6bf6507f2649:/ # zypper install -y --name /var/cache/zypp/packages/repo-oss/x86_64/wget-1.24.5-1.1.x86_64.rpm
Loading repository data...
Reading installed packages...
Package '_tmpRPMcache_:wget=0:1.24.5-1.1' not found in specified repositories.

Note that without the --name option to zypper install, it goes on to search in repositories for wget=0:1.24.5-1.1 in capabilities which actually works in this case because (I think) wget's package name is the same as one of its capabilities and wget is in the repository (which usually isn't the case if you're installing a custom local package).

I can't easily downgrade but I do have a rather stale Docker image containing zypper 1.14.62 which behaves normally.

bwoodsend added a commit to bwoodsend/polycotylus that referenced this issue Jun 9, 2024
Ever since openSUSE/obs-build#967 there has
been issue after issue upstream with OpenSUSE, all of the catastrophic
and all but the *ambiguous build dependencies*
(3fdd2cb) being completely
un-workaround-able. It's been about 4 months since even hello world was
build-able. The current issues are zypper can no longer install local
packages (openSUSE/zypper#551) and yet another
createzyppdeps expansion error – this time it can't find
/usr/sbin/iconvconfig which is in the dependency tree unconditionally.

I'm tired of vain attempts at resuscitation. OpenSUSE clearly don't
consume their own build system nor test it in any meaningful way.
@mlandres
Copy link
Member

It's a duplicate of openSUSE/libsolv#567.
The libsolv-tools-base package lacks a requirement to findutils and does not indicate the missing find as an error. It returns 0 and creates an empty packagecache instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants