FS#58083 - Removal of package leads to incorrect warning about optional dependency
Attached to Project:
Pacman
Opened by PyroPeter (pyropeter) - Tuesday, 03 April 2018, 16:05 GMT
Last edited by Allan McRae (Allan) - Thursday, 15 December 2022, 01:00 GMT
Opened by PyroPeter (pyropeter) - Tuesday, 03 April 2018, 16:05 GMT
Last edited by Allan McRae (Allan) - Thursday, 15 December 2022, 01:00 GMT
|
Details
Pacman will emit incorrect warnings about breaking optional
dependencies on a virtual package when instructed to remove
a package that provides the virtual package, even when there
is a second package providing the virtual package still
installed.
This is a case of bad user experience. Steps to reproduce: 1. Install two jdk?-openjdk packages. Install libreoffice-still. 2. Instruct pacman to remove one of the openjdk packages. The following warning will be displayed: "libreoffice-still optionally requires java-environment: required by extension-wiki-publisher and extension-nlpsolver" This is wrong, because the optional dependency is still satisfied after removal due to the second openjdk package. |
This task depends upon