How to find out what AUR packages are installed and how to remove them

Hello community,

How to remove that error and remove it?

resolving dependencies...
looking for conflicting packages...
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] y
:: python-protonvpn-nm-lib and protonvpn-gui are in conflict. Remove protonvpn-gui? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing protonvpn-cli breaks dependency 'protonvpn-cli' required by protonvpn
:: removing protonvpn-gui breaks dependency 'protonvpn-gui' required by protonvpn
 -> exit status 1

p.s. btw Is there a way to remove all AUR packages from system at once?

thanks.

Could we see what is above this line?
The whole output might help.

2 Likes

i ran

pacman -Rsc

and removed that

protonvpn-cli

fully.

Now is there any commands who will clean out all AUR packages and its traces on system?

I always use packages only from arch repo. I do not want that aur.

thanks.

:thinking:

Only you know what packages you have installed from AUR.

Then use:

sudo pacman -R PKG1 PKG2 etc…

i found that command on here:

https://wiki.archlinux.org/title/pacman#Removing_packages

how to get which aur package have on system?

I have as i remember Timeshift and protonvpn.

thanks

Well that’s not the full command you would use.

pacman -Qm

However this will show other packages from other sources as well if you have any.

4 Likes

pacman -Qme will show all explicitly installed foreign packages (“foreign” meaning packages that are not in the Arch repos).

3 Likes

pacman -Qm
libkipi 22.04.0-1
libkipi-debug 22.04.0-1
timeshift 21.09.1-4
virtualbox-ext-oracle 6.1.34-1

That is outputs

pacman -Qme
timeshift 21.09.1-4
virtualbox-ext-oracle 6.1.34-1

Ok i only want Virtual box.

Now others how to remove fully with its traces ?

and is any commands fro EOS to cleans up system from unneeded packeges or files?

btw virtualbox why is not on official repo?

It is.

What you are talking about is the extension pack. virtualbox-ext-oracle
It is not in the arch repo for licensing reasons.

2 Likes

You could check via pacman -Qi and see if it “Depends:” on any other packages or not, if “None” then it should be safe enough to remove. Or also use pactree -r to see what applications might still use the package your searching for. pacman -R to remove just the package, pacman -Rs to remove the package AND it’s dependencies, or pacman -Rns to remove the package, the dependencies, and any config files.

1 Like

Familiarize yourself with the welcome application included with EndeavourOS. Many useful functions there, targeted at novice users. :hugs:

3 Likes

Thanks for your kind supports. I removed all aur packages from system:

pacman -Qme


there is nothing on output.

Thanks friends. really love this community.

2 Likes

Please mark the post which gave you the solution to your issue as “solution”. Thanks!

1 Like

all your responses was here useful and can not say which one exactly. All was for me useful.

This command was given by @Stagger_Lee so I guess this is the closest to a solution.

1 Like

6 Likes