How to uninstall all the EOS/endeavouros packages?

I made a Timeshift backup of my system, as well as a system image backup, and now I would like to see what things look like if I uninstall all the EOS/endeavouros packages.
How to do that?

Remove package

sudo pacman -R PROGRAM

Remove package & unused dependencies

sudo pacman -Rns PROGRAM
1 Like

To list installed packages from the endeavouros repo:

pacman -Sl endeavouros | grep installed

Then do what keybreak suggests:

sudo pacman -R package01 package02 package03 ...

Alternatively, do both of the above commands at the same time:

sudo pacman -R $(pacman -Sl endeavouros | grep installed | cut -d' ' -f2)

When you’ve removed all packages from the repo, check than none remain with the first command. Then you can edit your /etc/pacman.conf and remove these three lines:

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

And then update:

sudo pacman -Syyu

BTW, you’re still not using Arch, as defined by the people on the Arch Forum – that requires you to install it the Arch WayTM :wink:

3 Likes

The one-liner needs also package eos-bash-shared.

1 Like

Getting there…
I did the above and reinstalled grub and rebooted.
but inxi and grub still think I am running EOS, although I don’t see any EOS theming or apps.

If you want to change that too, the answer is in the post you marked as solution here :arrow_double_down:

1 Like

Thanks to all for your help in this experiment. Now, after removing it, I appreciate how good the EOS theming is. :upside_down_face:
And EOS also provides certain basic tools that I would immediately install in any case, such as inxi .

Grub gets is OS name from a line in /etc/default/grub.

1 Like

Thanks. I discovered that the no-brainer way to change the grub name is with grub-customizer

You need to reinstall the packages filesystem, lsb-release and probably grub after removing the EOS packages.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

Now I am reversing the changes I made I added EOS back to pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
ILoveCandy
#TotalDownload
# We cannot check disk space from within a chroot environment
#CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

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

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

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

But something is not right because when I run
sudo pacman -Syyu
it is not getting the EOS packages:

sudo pacman -Syyu
[sudo] password for shmuel: 
:: Synchronizing package databases...
 core                  136.1 KiB   517 KiB/s 00:00 [-----------------] 100%
 extra                1570.0 KiB  7.94 MiB/s 00:00 [-----------------] 100%
 community               5.6 MiB  5.19 MiB/s 00:01 [-----------------] 100%
 multilib              151.5 KiB  3.70 MiB/s 00:00 [-----------------] 100%
 endeavouros.db failed to download
error: failed retrieving file 'endeavouros.db' from archlinux.mivzakim.net : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.kumi.systems : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from arch.jensgutermuth.de : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirrors.xtom.de : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.selfnet.de : The requested URL returned error: 418
error: failed retrieving file 'endeavouros.db' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'endeavouros.db' from mirror.ams1.nl.leaseweb.net : The requested URL returned error: 418
error: failed retrieving file 'endeavouros.db' from mirror.fra10.de.leaseweb.net : The requested URL returned error: 418
error: failed retrieving file 'endeavouros.db' from mirrors.n-ix.net : The requested URL returned error: 418
error: failed retrieving file 'endeavouros.db' from mirror.rackspace.com : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)

Or maybe it is the fault of my proxy?

As said above, remove these 3 lines:

But removing those three lines is what I did when I converted to “pure” Arch. Now I want to return to EOS. How will I get EOS packages without those lines? :thinking:

You won’t.

But this looks like your endeavouros-mirrorlist from /etc/pacman.d is not quite well.

Use this:

`######################################################
####                                              ####
###        EndeavourOS Repository Mirrorlist       ###
####                                              ####
######################################################
#### Entry in file /etc/pacman.conf:
###     [endeavouros]
###     SigLevel = PackageRequired
###     Include = /etc/pacman.d/endeavouros-mirrorlist
######################################################

## Germany
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch

## Netherlands
Server = https://mirror.easylee.nl/endeavouros/repo/$repo/$arch

## Sweden
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch

## Canada
Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch

## China
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch

## India
Server = https://mirror.ghead.work/endeavouros/repo/$repo/$arch

## Github
Server = https://raw.githubusercontent.com/endeavouros-team/repo/master/$repo/$arch
`
1 Like

Back to EOS :smiley: