Just installed EndeavourOS with Gnome, and trying to add a repo to my pacman.conf.
It seems to be a read-only file though. How would I actually go by editing it?
Reason is I’m following this guide to install stuff specific to my laptop
Are you trying to edit it using a graphical editor or a cli editor?
You need root privileges to edit pacman.conf file.
If you want to edit it using nano use:
sudo nano /etc/pacman.conf
and then make changes and save the file.
Or just install those packages from the AUR, without adding a third-party repo.
are there, as well as the
G14 kernel (which you probably don’t need).
The page says “Packages like asusctl-git from AUR aren’t supported.”
Welcome to the
Please mark my post as the solution so that this topic can be closed
Yeah, of course they’re going to say that. They want you to add their repo.
Personally, I wouldn’t (at least not without first trying the AUR packages), but it’s your system.
This is something I wrote last year and posted somewhere else. I thought it was worth sharing here as I see a lot of people using 3rd party repos.
There are often discussions about the dangers of using AUR but it seems like there a lot less focus is on the dangers of using 3rd party repos.
In general, using a 3rd party repo is much more dangerous than using AUR. With an AUR package, everything is fully transparent and the package is built on your machines. A quick look at the PKGBUILD file wi…
Ahh…this would concern me:
SigLevel = DatabaseNever Optional TrustAll
This was a good read. Nice work
@dalto !! It would be great if it were in the wiki. This sort of information is important. I didn’t know before.
Yeah, it looks very fishy.
Well crap, I’m an idiot. Sorry I’m brand new to the Linux space lol.
How would I go by removing it now that I’ve installed it haha.
Welcome to the
Even though you got your solution, how to edit your pacman.conf as root, I would be really careful which repos you stick in there, IMHO.
Ok I removed most things:
Deleted repo from pacman.conf
sudo pacman -R asusctl
sudo pacman -R supergfxctl
sudo pacman -R linux-g14 linux-g14-headers
sudo grub-mkconfig -o /boot/grub/grub.cfg
Not sure how I would undo this:
After adding the repo run a full system update before you go to install tools from the repo:
this is wrong, the right command is sudo pacman -Syu
You already did by removing the packages.
if you install packages with dependencies, you can remove the package and the dependencies with the following command:
pacman -Rs package_name
Oooooh I get it, that’s the command to just update the actual EndeavourOS?
Thank you all very much. I have had an issue with installing base Arch, and then moving to EndeavourOS, and had an issue literally every step of the way. Just now I had to learn to fix bluetooth because my UE Boom wouldn’t get sound, and my headphones would disconnect immediately (all fixed now I think by switching to pulseaudio instead of pre-installed pipewire!)
I really appreciate everybody’s help and knowledge in regards to this pacman.conf situation