Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category Backend/Core
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Loading...