Hello community! I installed yesterday again Manjaro KDE in the minimal version and for reasons I do not understand I found Evince preinstalled next to Okular? Why Evince??? When I tried to uninstall it, I got the following error message:
sudo pacman -R evince ✔
Abhängigkeiten werden geprüft …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Entfernen von evince verletzt Abhängigkeit »evince«, benötigt von xdg-desktop-portal-gnome
pacman -Qi xdg-desktop-portal-gnome 127 ✘
Name : xdg-desktop-portal-gnome
Version : 41.1-1
Beschreibung : A backend implementation for xdg-desktop-portal for the GNOME desktop environment
Architektur : x86_64
URL : https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome
Lizenzen : LGPL
Gruppen : Nichts
Stellt bereit : xdg-desktop-portal-impl
Hängt ab von : xdg-desktop-portal-gtk>=1.10.0-2 gtk4 gnome-keyring evince
Optionale Abhängigkeiten : Nichts
Benötigt von : xdg-desktop-portal
Optional für : Nichts
In Konflikt mit : xdg-desktop-portal-gtk<1.10.0-2
Ersetzt : xdg-desktop-portal-gtk<1.10.0-2
Installationsgröße : 451,56 KiB
Packer : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Erstellt am : Sa 06 Nov 2021 02:12:36 CET
Installiert am : So 23 Jan 2022 13:46:17 CET
Installationsgrund : Installiert als Abhängigkeit eines anderen Pakets
Installations-Skript : Nein
Verifiziert durch : Signatur
It says it is because xdg-desktop-portal requires xdg-desktop-portal-impl, which xdg-desktop-portal-gnome does provide … but so does xdg-desktop-portal-kde.
Only xdg-desktop-portal and xdg-desktop-portal-kde are listed for the KDE ISO … and then, only for the ‘full’ (not minimal) version.
pacman -Qi xdg-desktop-portal ✔
Name : xdg-desktop-portal
Version : 1.12.1-1
Beschreibung : Desktop integration portals for sandboxed apps
Architektur : x86_64
URL : https://github.com/flatpak/xdg-desktop-portal
Lizenzen : LGPL
Gruppen : Nichts
Stellt bereit : Nichts
Hängt ab von : glib2 pipewire fuse2 geoclue2 xdg-desktop-portal-impl
Optionale Abhängigkeiten : Nichts
Benötigt von : manjaro-kde-settings
Optional für : firefox
In Konflikt mit : Nichts
Ersetzt : Nichts
Installationsgröße : 1753,61 KiB
Packer : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Erstellt am : Mi 22 Dez 2021 18:39:18 CET
Installiert am : So 23 Jan 2022 13:46:17 CET
Installationsgrund : Installiert als Abhängigkeit eines anderen Pakets
Installations-Skript : Nein
Verifiziert durch : Signatur
It is strange that it’s included. I was playing around with a copy of manjaro kde minimal on Virtualbox, and I was able to remove Evince. I took a look at the required dependencies and found I had to first uninstall manjaro-kde-settings. Furthermore reinstalling manjaro-kde-settings does not bring in Evince.
Oh right, I’m not sure why these packages are even included in a kde minimal iso, I assume it’s a packaging error someone overlooked?
Anyway the packages such as gnome-desktop and gnome-keyring - if you have no use for them and they’re not required by anything else then those can be safely removed.
No need to reinstall from ISO, just uninstall xdg-desktop-portal-gnome with sudo pacman -Rns xdg-desktop-portal-gnome , it will take the additional, unnecessary installed crap with it (including evince)
Then just check with pacman -Qs xdg-desktop that you have both the -portal and -portal-kde packages.