Skip to content

Instantly share code, notes, and snippets.

@sun-jiao
Last active June 28, 2024 07:11
Show Gist options
  • Save sun-jiao/ada8190ee3b8392d2d9beccb6bffd89e to your computer and use it in GitHub Desktop.
Save sun-jiao/ada8190ee3b8392d2d9beccb6bffd89e to your computer and use it in GitHub Desktop.
Converting EndeavourOS to ArchLinux

Firstly:

sudo nano /etc/pacman.conf

Commenting EndeavourOS repository, and adding the arch community repo:

#[endeavouros]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/endeavouros-mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Check updates:

yay

All eos apps will be listed as "not in any repos".

Use sudo pacman -R app-name remove all of them. Handle the dependencies properly.

Reinstall base package group:

sudo pacman -Syyuu --noconfirm archlinux-keyring bash bzip2 coreutils file filesystem findutils gawk gcc-libs gettext glibc grep gzip iproute2 iputils licenses pacman pciutils procps-ng psmisc sed shadow systemd systemd-sysvcompat tar util-linux xz linux

Reinstall other packages:

sudo pacman -Syyuu --noconfirm breeze-grub breeze-gtk lsb-release

The default values of the name (aka. partlabel) and label of the root partition (if you did not modify it during installation) are also "endeavouros". Of course, it means nothing.

If you don't like it, you can use parted or other tools to change it.

Reboot and everything should be done.

首先:

sudo nano /etc/pacman.conf

注释掉EndeavourOS软件仓库,并添加community:

#[endeavouros]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/endeavouros-mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

然后检查更新:

yay

这一步会显示EOS应用不在仓库中。

使用sudo pacman -R app-name移除所有列出的软件,并妥善处理依赖。

重新安装base软件包组:

sudo pacman -Syyuu --noconfirm archlinux-keyring bash bzip2 coreutils file filesystem findutils gawk gcc-libs gettext glibc grep gzip iproute2 iputils licenses pacman pciutils procps-ng psmisc sed shadow systemd systemd-sysvcompat tar util-linux xz linux

重新安装其它需要更改的软件包:

sudo pacman -Syyuu --noconfirm breeze-grub breeze-gtk lsb-release

root分区的name(aka. partlabel)和label的默认值(如果你安装的时候没有修改)也是endeavouros,当然这其实没什么实际影响。

如果你觉得看着不顺眼,可以用parted等工具改掉。

重启,这样应该就完成了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment