Uninstall Evince on Plasma

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

How do I get Evince off my computer now?

xdg-desktop-portal-gnome relies on it. Do you have that installed for a reason?

One way to show a dependency tree is with pactree:

pactree -r evince

If you want to uninstall it as well … then include it

sudo pacman -Rns evince xdg-desktop-portal-gnome

See man pacman and/or pacman - ArchWiki

1 Like

Clear no, it is a fresh installation of minimal.iso.
What is xdg-desktop-portal-gnome doing there anyway?

I dont know … I dont see it on the lists … what is the output of pactree?
(and/or pacman -Qi 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

I still dont see why.

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.

So … what about

pacman -Qi xdg-desktop-portal
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

however, ii’s the ISO from Manjaro - Downloads

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.

That means: sudo pacman -Rns manjaro-kde-settings evince and then sudo pacman -S manjaro-kde-settings ?

But what about the unneeded GNOME crap?

Found a weird dependency issue on the profile … or rather … package manjaro-kde-settings.
Stay tuned :slight_smile:

1 Like

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.

1 Like

OK, what all do I need to do specifically now?
sudo pacman -Rns what?

Or should I rather wait for the bug to be cleaned up in the ISO and then reinstall with that?

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.


Thanks @tuxmanjarino, that was it. However, I still have
local/xdg-desktop-portal-gtk 1.12.0-1 on it. Is this ok?

But would be good if the garbage from the minimal.iso could disappear :wink:

thanks @tuxmanjarino @cscs @ydar for the help :+1:t2:

I think you can remove that too, one backend should be enough as far as I know.

1 Like

It should be fixed for future ISO’s

For whatever its worth … all I have are

1 Like

@cscs already fixed:

I know … I helped make those changes during a chat with yochanon.
I was just reporting here that it “should be fixed for future ISOs”.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.