Hello everyone.
I have installed the arco Linux repos for testing purposes. What can or must I do to uninstall it again?
Or can I restore the “original” EndeavourOS repos ?
Check what packages you have installed from Arco’s repos:
pacman -Ss | grep arcolinux | grep installed
You may want to uninstall them.
Then look into your /etc/pacman.conf and remove Arco’s repos.
If you want you could post the contents of this file so we can have a look at.
Be careful with this. It is likely there is overlap with the arcolinux repo, the AUR and the EOS repo. I would not recommend blindly uninstalling all the packages on that list.
As a side note, a cleaner way to do that command would be:
pacman -Sl arcolinux_repo arcolinux_repo_3party arcolinux_repo_xlarge | grep installed
An even cleaner(but more complicated) way would be:
comm -12 <(pacman -Slq arcolinux_repo arcolinux_repo_3party arcolinux_repo_xlarge | sort) <(pacman -Qq | sort)
You can simply remove it. However, first you might want to consider running the above command to see what you have installed.
Also, where you put it in /etc/pacman.conf
matters. If you put it at the bottom of all your other repos, it will be fine to just remove it.
If you had put it at the top, you will have a frankenstein of mixed packages and you will need to decide if you care about that or not.
You are right. I should have included your remark in the post.
The thing is Arcolinux uses three different specific repositories with three different names:
arcolinux_repo
arcolinux_repo_3party
arcolinux_repo_xlarge
Mine was a “blunt” command to catch them all but it has the issue you mentioned.
Perhaps your commands can be modified to catch them or else they should be run one at a time with each Arco’s repository?
Perhaps your commands can be modified to catch them
You can just list them, like this:
pacman -Slq arcolinux_repo arcolinux_repo_3party arcolinux_repo_xlarge
I updated the above.