diff options
author | David Kalnischkies <david@kalnischkies.de> | 2020-05-08 12:38:02 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2020-05-08 15:52:14 +0200 |
commit | 30fa50e8d593556553147478a2d5ea7a550f9e16 (patch) | |
tree | 84e00ee9bceff7a4cce666b9587459d75e0b04b7 /test/integration/test-apt-update-hashsum-mismatch | |
parent | e14e69b62720db780f2438c1fffcde4a3820cd96 (diff) |
Allow aptitude to MarkInstall broken packages via FromUser
apt marks packages coming from the commandline among others
as protected to ensure the various resolver parts do not fiddle
with the state of these packages. aptitude (and potentially others)
do not so the state is modified (to a Keep which for uninstalled means
it is not going to be installed) due to being uninstallable before
the call fails – basically reverting at least some state changes the
call made before it realized it has to fail, which is usually a good
idea, except if users expect you to not do it.
They do set the FromUser option though which has beside controlling
autobit also gained the notion of "the user is always right" over time
and can be used for this one here as well preventing the state revert.
References: 0de399391372450d0162b5a09bfca554b2d27c3d
Reported-By: Jessica Clarke <jrtc27@debian.org> on IRC
Diffstat (limited to 'test/integration/test-apt-update-hashsum-mismatch')
0 files changed, 0 insertions, 0 deletions