Public bug reported:

[Impact]

Assuming packages A and B, with A depending on B. A has a failing prerm
script.

Expected behavior:
- A fails to be removed, A and B stay unchanged
Actual behavior:
- A fails to be removed
- B is still removed

This might crash their system (e.g. if A is systemd and B is
libsystemd0).

[Test case]
See Impact. An automated version of the test case (test-apt-get-remove-depends) 
is included and run on autopkgtest.

[Regression potential]
We now abort earlier in removal failures, that might be harder to recover from 
or not, nobody really knows.

** Affects: apt (Ubuntu)
     Importance: High
     Assignee: Julian Andres Klode (juliank)
         Status: Fix Committed

** Affects: apt (Debian)
     Importance: Unknown
         Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844634

Title:
  Removals keep removing dependencies if removal of a package fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1844634/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to