How to switch from Antergos to EndevourOS

How To:

done it like this: (before Antergos was gone offline!)

→ tested again with Antergos openbox install, and it works like a charm…

  • keep exactly the lineup from top to bottom, or it will fail in the middle!

  • let commands run till the end, special on the keyring stuff, if it will be interrupted, you will have screwed pacman!

  • this is only a lineup how you can do this and no officially supported method! it can leave stuff and will need you watching and knowing/get knowledged what you are doing!

yay -Syu
reboot

moving antergos at the bottom of pacman.conf
save the file :wink:
yay -Syu

getting a list of all packages from antergos repository:
pacman -Sl antergos > antergos-packages.txt what will give a file looking like this:

...
antergos n1 1.5.0-3
antergos nord-dircolors 0.1.1-2
antergos nord-gnome-terminal 0.1.0-1
antergos nord-konsole 0.1.0-1
antergos nord-termite 0.2.0-1
antergos nord-xfce-terminal 0.1.0-1
antergos numix-frost-themes 3.6.6-1 [installed
antergos numix-icon-theme 1:18.07.17-1 [installed]
antergos numix-icon-theme-circle 1:19.02.07-1 [installed]
antergos numix-icon-theme-square 2:19.02.07-1 [installed]
...

builds latest yay from aur:
yay -S aur/yay

now start uninstalling from the list all packages marked as installed, but NOT YAY!!! (yay from aur will be listed as antergos package)

like so:
sudo pacman -R numix-frost-themes numix-icon-theme....


comment antergos repo inside pacman.conf
save the file
update db

yay -Syy
yay -Syu

getting mirrorlist and keyring:

wget https://github.com/endeavouros-team/mirrors/releases/download/mirror2/endeavouros-keyring-1-4-any.pkg.tar.xz
wget https://github.com/endeavouros-team/mirrors/releases/download/mirror2/endeavouros-mirrorlist-1-10-any.pkg.tar.xz

sudo pacman -U endeavouros-keyring-1-4-any.pkg.tar.xz

sudo pacman -U endeavouros-mirrorlist-1-10-any.pkg.tar.xz


adding EndeavourOS at the end of the file:

sudo nano /etc/pacman.conf

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
save the file :wink:

  • Be sure to only add the repo to pacman.conf after you installed mirrorlist and keyring, otherwise pacman will stop working.
  • If you did it wrong, comment the repo at pacman.conf, install mirrorlist and keyring, then uncomment the repo at pacman.conf and so on.
sudo pacman-key --init
sudo pacman-key --populate archlinux endeavouros
sudo pacman-key --refresh-keys
sudo pacman -Syy

change lightdm greeter:

keep in mind to change lightdm greeter to something available as the antergos one will e uninstalled (if you do so before)
you can use lightdm-gtk-greeter instead:

sudo pacman -S lightdm-gtk-greeter lightdm-gtk-greeter-settings

sudo nano /etc/lightdm/lightdm.conf
change the line:

greeter-session=lightdm-webkit2k-greeter

to fit the new greeter:

greeter-session=lightdm-gtk-greeter

save the file …


fix os-release file:

wget https://raw.githubusercontent.com/endeavouros-team/archiso-offlineinstaller/master/airootfs/etc/os-release
sudo cp os-release /etc/os-release

install grub theme:
sudo pacman -S grub2-theme-endeavouros

now edit two line inside:
sudo nano /etc/default/grub

...
GRUB_DISTRIBUTOR="EndeavourOS"
....
GRUB_THEME="/boot/grub/themes/EndeavourOS/theme.txt"
...

update grub:

sudo grub-mkconfig -o /boot/grub/grub.cfg


Restart your system, be in good spirits, think of something beautiful and hope that everything worked out!