:: Re: [DNG] Why do I need xdg-desktop…
Top Page
Delete this message
Reply to this message
Author: Alessandro Vesely
Date:  
To: Florian Zieboll, dng
Subject: Re: [DNG] Why do I need xdg-desktop portal?

On Sat 12/Mar/2022 18:27:45 +0100 Florian Zieboll wrote:

> On Sat, 12 Mar 2022 11:06:44 +0100
> Alessandro Vesely via Dng <dng@???> wrote:
>
>> Hi all,
>>
>> I don't use flatpak, so yesterday I removed xdg-desktop-portal from a
>> machine where it was causing df to err trying to access a fuse mount.
>> I wandered how came xdg-desktop-portal was installed.
>>
>> Today I got the answer. I run apt-get dist-upgrade on another
>> machine, and got:
>>
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following NEW packages will be installed:
>>     linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common
>> linux-image-5.10.0-12-amd64 xdg-desktop-portal xdg-desktop-portal-gtk
>> The following packages will be upgraded:
>>     chromium chromium-common chromium-sandbox chromium-shell
>> linux-headers-amd64 linux-image-amd64 6 upgraded, 5 newly installed,
>> 0 to remove and 0 not upgraded. Need to get 169 MB/169 MB of archives.
>> After this operation, 365 MB of additional disk space will be used.
>> Do you want to continue? [Y/n]

>>
>> Oh well, I'm going to say Y and purge xdg-sektop-portal right after.
>>
>> Is there a way to ban it from future upgrades?
>
>
> Chromium has a hard dependency on 'xdg-desktop-portal', although (IIUC)
> it is only required by 'chromium-sandbox', which is /not/ a dependency
> of Chromium.



Indeed, it also uninstalled chromium. I'm not sure I had installed it
before. Perhaps it was installed and that's what triggered the
installation of xdg-desktop-portal.


Best
Ale
--