You are not logged in.

#1 2021-11-03 07:54:39

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Trying to remove kde-applications but I want to exclude some.

What command do I use?
I tried pacman -R kde-applications --ignorepkgs=pkg1 pkg2 pkg3 (etc.)
But it doesnt work. What do I use?

Offline

#2 2021-11-03 08:20:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: Trying to remove kde-applications but I want to exclude some.

Since the -R operation does not support an --ignore flag you'll need to do this in a few steps e.g.

pacman -Qgq kde-applications | grep -vE 'pkg1|pkg2|pkg3' | sudo pacman -R -

Last edited by V1del (2021-11-03 08:20:56)

Offline

Board footer

Powered by FluxBB