Skip to content

fix: remove debug counterpart packages when conflict is resolved - #2820

Open
NBAFrigge wants to merge 1 commit into
Jguer:nextfrom
NBAFrigge:fix/#2499
Open

fix: remove debug counterpart packages when conflict is resolved#2820
NBAFrigge wants to merge 1 commit into
Jguer:nextfrom
NBAFrigge:fix/#2499

Conversation

@NBAFrigge

Copy link
Copy Markdown

Fixes #2499

When installing an AUR package that produces a -debug counterpart and
conflicts with an installed package, the conflicting package's -debug
counterpart was not being removed, causing a file conflict error.

This fix reads the conflicts declared in the .SRCINFO of the package
being installed, checks if their -debug counterparts are installed
locally, and removes them before calling pacman -U.

@NBAFrigge
NBAFrigge requested a review from Jguer as a code owner May 7, 2026 00:08
@NBAFrigge NBAFrigge closed this May 7, 2026
@NBAFrigge NBAFrigge reopened this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacement of a conflicting package doesn't replace the debug counterpart, and fails on it

1 participant