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

Why does libzypp store to be downloaded RPM's first in tmppath #589

Open
Thaodan opened this issue Nov 16, 2024 · 2 comments
Open

Why does libzypp store to be downloaded RPM's first in tmppath #589

Thaodan opened this issue Nov 16, 2024 · 2 comments

Comments

@Thaodan
Copy link

Thaodan commented Nov 16, 2024

Hey,

We noticed that libzypp stores downloaded rpm's first in /var/tmp
before moving them to the packagesdir.
Why does it do that?

@bzeller
Copy link
Contributor

bzeller commented Nov 18, 2024

Because after downloading zypp needs to make sure that the checksum and the signature is correct and that the rpm was signed with a known key. Only then it is transferred into the trusted cache.

Not a bug.

@mlandres
Copy link
Member

And the moving is usually cheap. If tmp and cache are on the same disk, it's just a hardlink.

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

3 participants