You are not logged in.
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
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
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
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 (2022-09-24 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
You might also run
pacman -Sc
to remove packages that aren't installed on the one hand and leftover repository data on the other hand. I guess in your case the latter can also be done with
rm -rf /var/lib/pacman/sync/chaotic-aur*
Last edited by sekret (2022-09-24 18:43:51)
Offline