Can't remove discover

the error is that KDE needs it for some dependencies.
Anyway around this?

Hi!
To get more information about a given package simply do
sudo pacman -Si
in your terminal.

[pirx@koriolan ~]$ sudo pacman -Si discover
Repositorium             : extra
Name                     : discover
Version                  : 5.19.4-1
Beschreibung             : KDE and Plasma resources management GUI
Architektur              : x86_64
URL                      : https://userbase.kde.org/Discover
Lizenzen                 : LGPL
Gruppen                  : plasma
Stellt bereit            : Nichts
Hängt ab von             : knewstuff  kitemmodels  kdeclarative  qt5-graphicaleffects  appstream-qt
                           archlinux-appstream-data  hicolor-icon-theme  kirigami2  discount  kuserfeedback
Optionale Abhängigkeiten : packagekit-qt5: to manage packages from Arch Linux repositories
                           flatpak: Flatpak packages support
                           fwupd: firmware update support
In Konflikt mit          : Nichts
Ersetzt                  : Nichts
Größe des Downloads      : 7,83 MiB
Installationsgröße       : 10,39 MiB
Packer                   : Antonio Rojas <arojas@archlinux.org>
Erstellt am              : Di 28 Jul 2020 16:38:07 CEST
Verifiziert durch        : MD5-Summe  SHA-256-Summe  Signatur

…for example.
Then you can decide whether you need these packages or not and finally uninstall your package with
“sudo pacman -Rcns discover”, or you do “sudo pacman -R packagename” for every single package,

1 Like

https://www.archlinux.org/packages/extra/any/plasma-meta/

it is one dependency of this meta package… so first uninstall meta package to remove the dependencies: sudo pacman -R kde-meta
then the discover package:
sudo pacman -R discover

error: target not found: kde-meta

but default we do install plasma group and on a group you can remove packages …

what gives you sudo pacman -Rsc discover (do not press Yes !!! ) simple run and show what it says…

checking dependencies…
:: plasma-workspace optionally requires discover: manage applications installation from the launcher

Packages (1) discover-5.19.4-1

Total Removed Size: 10,39 MiB

no problem it will not remove it as it is optional…

should I go ahead with sudo pacman -Rsc discover
The reason is I keep getting 2 notifiers for updates, one from pacman and one from discover

  1. Make a backup.
  2. Yes.
2 Likes

Ok, making a fresh time backup

yes if your output from before was from that sudo pacman -Rsc discover command.
We will remove discover from future installs cause of it is not doing any good and we want to keep terminal centric :wink:

3 Likes

I also struggled when I tried to remove discover. Finally I did it. I just can’t remember how. But it’s gone now…:smile:

1 Like

Good riddance. It’s very irritating.

it’s gone for me as well. Bye bye discover!

1 Like

Removing discover was also something I did, soon after installing EndeavourOS KDE.

Running pacman -Rns discover removed both discover and archlinux-appstream-data. Nothing broke, the system works well without these two packages.

From my /var/log/pacman.log
[2020-07-26T18:42:59+0200] [PACMAN] Running 'pacman -Rns discover'
[2020-07-26T18:43:02+0200] [ALPM] transaction started
[2020-07-26T18:43:03+0200] [ALPM] removed discover (5.19.3-1)
[2020-07-26T18:43:03+0200] [ALPM] removed archlinux-appstream-data (20200720-1)
[2020-07-26T18:43:04+0200] [ALPM] transaction completed
[2020-07-26T18:43:04+0200] [ALPM] running '30-systemd-update.hook'...
[2020-07-26T18:43:04+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-07-26T18:43:04+0200] [ALPM] running 'update-appstream-cache.hook'...
[2020-07-26T18:43:04+0200] [ALPM-SCRIPTLET] AppStream cache update completed successfully.
[2020-07-26T18:43:04+0200] [ALPM] running 'update-desktop-database.hook'...
1 Like
community/packagekit-qt5 1.0.2-1 (101.6 KiB 373.4 KiB) 
    Qt5 bindings for PackageKit
community/packagekit 1.1.13-1 (428.1 KiB 2.2 MiB) (Installed)
    A system designed to make installation and updates of packages easier

may also unneeded if you are using eos-notifier and terminal to manage packages :wink:

2 Likes

And libpackagekit-glib, too.

Summary
[2020-08-12T23:58:11+0200] [PACMAN] Running 'pacman -Rns packagekit-qt5'
[2020-08-12T23:58:16+0200] [ALPM] transaction started
[2020-08-12T23:58:18+0200] [ALPM] removed packagekit-qt5 (1.0.2-1)
[2020-08-12T23:58:18+0200] [ALPM] removed packagekit (1.1.13-1)
[2020-08-12T23:58:18+0200] [ALPM] removed libpackagekit-glib (1.1.13-1)
[2020-08-12T23:58:18+0200] [ALPM] transaction completed
[2020-08-12T23:58:18+0200] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-08-12T23:58:19+0200] [ALPM] running '30-systemd-update.hook'...
[2020-08-12T23:58:19+0200] [ALPM] running 'dbus-reload.hook'...

Nice!

I also use pamac to surf for software, it’s kind of nice. I install through the terminal but like browsing pamac, which might be kind of weird.

1 Like

it is a good practice, pamac is a nice searchtool :wink:

2 Likes