You are not logged in.

#1 Yesterday 06:48:41

raninepaths
Member
Registered: Yesterday
Posts: 2

How to completely remove Chaotic-AUR repository?

Hello, I wish to completely remove Chaotic-AUR repository from my computer.
When installing I ran following commands :-

pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com
pacman-key --lsign-key FBA220DFC880C036
pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' 

And then edited /etc/pacman.conf and added the following:-

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist 

From the commands above I conclude that to remove Chaotic-AUR repository completely , I have to remove packages chaotic-keyring and chaotic-mirrorlist. I have already saved list of packages installed from chaotic aur. Then run the following command for removing key ID:-

pacman-key --delete FBA220DFC880C036

And remove the changes I made to pacman.conf.
Should I remove all keys from pacman keys and re-initialize them for cleaning the unnecessary keys by :-

mv /etc/pacman.d/gnupg /root/pacman-key.bak
pacman-key --init
pacman-key --populate

Are there any other leftover ?
Am I correctly removing the unnessary keys added during Chaotic-AUR repository?
Should I take any other action?

Offline

#2 Yesterday 09:16:22

cloverskull
Member
Registered: 2018-09-30
Posts: 113

Re: How to completely remove Chaotic-AUR repository?

You should be in good shape, however did you install anything using that repository?

Honestly I wouldn't worry about removing the keys or anything. Simply commenting out the chaotic-aur lines in your pacman.conf should be sufficient.

Offline

#3 Yesterday 09:33:36

raninepaths
Member
Registered: Yesterday
Posts: 2

Re: How to completely remove Chaotic-AUR repository?

cloverskull wrote:

You should be in good shape, however did you install anything using that repository?

Honestly I wouldn't worry about removing the keys or anything. Simply commenting out the chaotic-aur lines in your pacman.conf should be sufficient.

As I have mentioned in the post that I have already saved list of packages installed from chaotic aur. And I will install them by myself later.

Offline

#4 Today 12:37:56

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,390

Re: How to completely remove Chaotic-AUR repository?

Is chaotic-aur listed in your pacman.conf above other repos that (may) have packages with the same name ?

If yes, consider running pacman -Syuu once after the removal.

Last edited by Lone_Wolf (Today 12:38:40)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB