[Rpm-maint] [rpm-software-management/rpm] Support repoids (at least) in rpmdb (Discussion #3505)

Colin Walters notifications at github.com
Mon Jan 6 17:43:04 UTC 2025


> dnf download hello
> dnf install hello

I think you mean

```
dnf download hello
dnf install ./hello*.rpm
```

right? It's important to be clear here.

> Even though in the former install the package is directly from disk, the cache should be transparent.

I was going to reply at first "why the heck would you type "dnf download foo" and then "dnf install foo*.rpm" but actually that is of course how *dnf itself* does things today (which has its own problems around transient disk usage spikes, but that's an aside).

And I guess that's actually how the "hermetic" build stuff with lockfiles works in konflux today.

It does argue that it would make sense for dnf to e.g. store the repo (and other metadata) as say a `user.dnf.repoid` xattr on the file, and then when installing, pass that information to rpm. (Or equivalently I guess for now, just consume it itself).


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3505#discussioncomment-11751917
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/3505/comments/11751917 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250106/b575f912/attachment.htm>


More information about the Rpm-maint mailing list