-
-
Notifications
You must be signed in to change notification settings - Fork 127
dom0-updates: disarm protected packages in updatevm #620
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #620 +/- ##
=======================================
Coverage 71.10% 71.10%
=======================================
Files 3 3
Lines 481 481
=======================================
Hits 342 342
Misses 139 139 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DNF in updatevm doesn't have full knowledge to properly evaluate protected packages - especially it doesn't have full config, but also older DNF version (like in Debian / Whonix) may have different defaults. This for example leads to R4.2->R4.3 upgrade issue, when `dnf` removal is refused, while it should be allowed (as part of migration to `dnf5`). Fix this by setting empty list of protected packages. Dom0's DNF will enforce protected packages on its own. QubesOS/qubes-issues#10256 (comment) https://forum.qubes-os.org/t/qubes-dist-upgrade-script-error-4-3-rc-2/36435
ad70728 to
3d75a22
Compare
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025110513-4.3&flavor=pull-requests Test run included the following:
Upload failures
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025081011-4.3&flavor=update
Failed tests24 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/149225#dependencies 81 fixed
Unstable testsPerformance TestsPerformance degradation:18 performance degradations
Remaining performance tests:157 tests
|
DNF in updatevm doesn't have full knowledge to properly evaluate
protected packages - especially it doesn't have full config, but also
older DNF version (like in Debian / Whonix) may have different defaults.
This for example leads to R4.2->R4.3 upgrade issue, when
dnfremoval isrefused, while it should be allowed (as part of migration to
dnf5).Fix this by setting empty list of protected packages. Dom0's DNF will
enforce protected packages on its own.
QubesOS/qubes-issues#10256 (comment)
https://forum.qubes-os.org/t/qubes-dist-upgrade-script-error-4-3-rc-2/36435