You are not logged in.

#1 2022-05-13 09:23:20

oniony
Member
Registered: 2009-06-30
Posts: 3

xdg-desktop-portal-impl providers

Hi,

I'm attempting to run a system upgrade and pacman is asking me which xdg-desktop-portal-impl provider to use. When I get these questions I try to work out what is using the package and potentially uninstall stuff I'm no longer using. But in this case, I'm a bit confused as I don't have xdg-desktop-portal installed, so I don't know how to identify why it's asking me for a provider for it.

> sudo pacman -Syu                                                                                                                                                                                                                                           ~
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
:: There are 5 providers available for xdg-desktop-portal-impl:
:: Repository extra
   1) xdg-desktop-portal-gnome  2) xdg-desktop-portal-gtk  3) xdg-desktop-portal-kde
:: Repository community
   4) xdg-desktop-portal-lxqt  5) xdg-desktop-portal-wlr

Enter a number (default=1): 
^C
Interrupt signal received

[130] > pacman -Ss xdg-desktop-portal                                                                                                                                                                                                                              ~
extra/xdg-desktop-portal 1.14.4-1
    Desktop integration portals for sandboxed apps
extra/xdg-desktop-portal-gnome 42.1-1
    A backend implementation for xdg-desktop-portal for the GNOME desktop environment
extra/xdg-desktop-portal-gtk 1.14.0-1
    A backend implementation for xdg-desktop-portal using GTK
extra/xdg-desktop-portal-kde 5.24.5-1 (plasma)
    A backend implementation for xdg-desktop-portal using Qt/KF5
community/xdg-desktop-portal-lxqt 0.2.0-1
    A backend implementation for xdg-desktop-portal using Qt/KF5/libfm-qt
community/xdg-desktop-portal-wlr 0.5.0-1
    xdg-desktop-portal backend for wlroots

Notice how none of these are currently installed. Does anyone know any magic to work out why pacman now wants to install xdg-desktop-portal during the upgrade?

Thanks in advance,
Paul

Offline

#2 2022-05-13 09:48:45

null
Member
Registered: 2009-05-06
Posts: 398

Re: xdg-desktop-portal-impl providers

You have a pending update of a package that will require `xdg-desktop-portal-impl` if installed. Therefore, pacman is asking you which package providing `xdg-desktop-portal-impl` you want to install.

Most likely a package is not directly depending on `xdg-desktop-portal-impl` but on `xdg-desktop-portal` which is a package that depends on `xdg-desktop-portal-impl` which in turn is provided by the listed options.

Offline

#3 2022-05-13 10:08:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,279

Re: xdg-desktop-portal-impl providers

I agree with null .

Here's  a list of packages that could cause that :

$ pactree --reverse --sync --depth 1 xdg-desktop-portal
xdg-desktop-portal
├─flatpak
├─kooha
├─krfb
├─shutter
├─xdg-desktop-portal-lxqt
└─xdg-desktop-portal-wlr
$

Do you have any of those installed ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2022-05-13 10:43:48

oniony
Member
Registered: 2009-06-30
Posts: 3

Re: xdg-desktop-portal-impl providers

Thanks null, Lone_Wolf.

I didn't have any of those installed.

I went ahead with the upgrade choosing the xdg-desktop-portal-gtk option, and after upgrade I've traced the culprit down to:

    gnome-control-center ❯ malcontent ❯ flatpak ❯ xdg-desktop-portal

Strangely gnome-control-center was installed as a dependency but unused, despite me clearing out all the orphans prior to the upgrade and it not appearing in `pacman -Qdt` either before or after upgrade. I think this is because `-t` excludes those that are optional dependencies.

Offline

Board footer

Powered by FluxBB