-
Notifications
You must be signed in to change notification settings - Fork 86
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
transaction.run() doesn't raise an error if it fails because of not enough disk space #1074
Comments
Hi, I was checking the situation compared to the dnf4 and it seems we are not setting the |
I did some testing and here's what I've found:
|
Sorry for the confusion. The required
|
Thanks to the discussion in rpm-software-management/dnf5#1074 lorax will now correctly log installation size errors like: The transaction process has ended abruptly: installing package llvm-libs-17.0.6-2.fc40.x86_64 needs 107MB more space on the / filesystem installing package libXv-1.0.12-1.fc40.x86_64 needs 107MB more space on the / filesystem installing package libXcomposite-0.4.6-1.fc40.x86_64 needs 107MB more space on the / filesystem
Thanks, that works great! |
I ran into this while checking the dnf5 branch of lorax against Fedora 40 in a VM without enough disk space. I'm using
python3-libdnf5-5.1.8-1.fc40.x86_64
.If there isn't enough space to download the rpms it will raise an error as expected.
But if there is enough for the download, but not enough to install them, transaction.run() returns without raising an error. I also checked transaction.get_problems() and it doesn't indicate a problem.
The text was updated successfully, but these errors were encountered: