Skip to content

Duplicate "provides" packages are not uninstalled #144

@MenacingPerson

Description

@MenacingPerson

General description of the problem:

So for example say you have xdg-desktop-portal{,-kde} installed and in config. If you also install xdg-desktop-portal-wlr (and mark it as dependency), it will not get uninstalled on the next aconfmgr apply.

Steps to reproduce the problem:

  1. Use the provided config and apply it
  2. Install xdg-desktop-portal-wlr (or any other flavour)
  3. Run aconfmgr apply.

Configuration:

AddPackage xdg-desktop-portal
AddPackage xdg-desktop-portal-kde

Expected result:

It should remove xdg-desktop-portal-wlr because that is not in the config.

Actual result:

It does not remove it, instead merely unpinning it if it was marked as explicit.

Log:

None

Additional context:

So basically, xdg-desktop-portal-{gnome,gtk,kde,wlr} are backends for xdg-desktop-portal. They can be installed side-by-side, and they all are indirect dependencies of xdg-desktop-portal since they all provide xdg-desktop-portal-impl. However, they do not conflict. So aconfmgr ignores all of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions