:: Re: [DNG] Why do I need xdg-desktop…
Página Inicial
Delete this message
Reply to this message
Autor: tito
Data:  
Para: dng
Assunto: Re: [DNG] Why do I need xdg-desktop portal?
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?
>
>
> Best
> Ale


Hi,

add:

Package: xdg-desktop-portal*
Pin:    Release n=*
Pin-Priority: -1


to /etc/apt/preferences.d/preferences

Ciao,
Tito