• Antefree Gnome


    Warning: Long text ahead. Be patient.

    The post demonstrates one of possible ways to remove all packages, installed from [antergos] repo, and the repo itself, from an existing Antergos installation. It is transformed into [antergos]-free system, or Antefree ☺ for short. The final system uses native Arch repos and packages only.

    This is an example of Antergos Gnome to Antefree Gnome transition. Other similar posts are:

    Do a full backup of the system before going further. Make sure to be able to restore it.

    Let’s start. There are five main steps:

    1. Place [antergos] repo at the lowest priority
    2. Upgrade the system at least once
    3. Get a list of all packages, installed from [antergos] repo
    4. Remove them one by one, taking care to not damage the system
    5. Remove [antergos] repo

    Optionally, do some

    1. Final adjustments

    All commands are executed in terminal. Forget about graphical package managers.

    Steps is details.

    1. Place [antergos] repo at the lowest priority

    The step prepares to replace [antergos] packages with their counterparts from standard Arch repos.

    Edit /etc/pacman.conf file and move the [antergos] entry in it below all other repository entries. It must be the last entry in the file. Save the file. Reboot or logout-login aren’t needed.

    2. Upgrade the system at least once

    The step replaces [antergos] packages, if any, with their counterparts from official Arch repos.

    Upgrade with pacman allowing downgrades:

    sudo pacman -Syuu
    

    If a package is installed from [antergos] and a package with the same name exists in Arch repos, then [antergos] package will be replaced, upgraded or downgraded with the package from Arch repos at this step.

    Reboot and make sure that the system remains stable and runs well.

    3. Get a list of all packages, installed from [antergos] repo

    Use yaourt or paclist (one of pacman’s helpers) to obtain a list.

    With yaourt:

    yaourt -Q | sort | grep antergos/
    

    With paclist:

    paclist antergos
    

    In examples below I use dt alias. It simply displays current date and time. Ignore and do not use it.

    Example:

    $ dt && yaourt -Q | sort | grep antergos/
    Current datetime:
    2019-07-02 11:34:14
    
    antergos/antergos-alerts 18.9.9-1 (antergos-base)
    antergos/antergos-alpm-hooks 1.1-1 (antergos-base)
    antergos/antergos-gnome-defaults-list 1.1-3
    antergos/antergos-keyring 20170524-1 (antergos-base)
    antergos/antergos-mirrorlist 20180830-2 (antergos-base)
    antergos/antergos-wallpapers 0.7-3
    antergos/gksu 2.0.2-7
    antergos/libgksu 2.0.12-9
    antergos/numix-frost-themes 3.6.6-1 (themes themes::gtk)
    antergos/numix-icon-theme 1:18.07.17-1
    antergos/numix-icon-theme-square 2:19.02.07-1
    antergos/nvidia-installer 1.17-2
    antergos/package-query 1.9.r380-3
    antergos/pamac 7.3.4-1
    antergos/yay 9.2.0-1
    $
    

    4. Remove packages one by one, taking care to not damage a working system

    A very long step. Each package removal is shown in details.

    The order, in which packages are removed, is not important. I’d only suggest to remove antergos/yaourt as the last package.

    Not only [antergos] but also other packages are some time removed. These are packages, which were installed as dependencies. The goal is to remove them as well, to keep the system clean and without orphans.

    4.1 antergos/antergos-wallpapers

    Command:

    sudo pacman -Rcnssu antergos-wallpapers
    

    Details:

    $ dt && sudo pacman -Rcnssu antergos-wallpapers
    Current datetime:
    2019-07-02 11:41:52
    
    checking dependencies...
    
    Package (1)          Old Version  Net Change
    
    antergos-wallpapers  0.7-3         -5.82 MiB
    
    Total Removed Size:  5.82 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing antergos-wallpapers                 [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.2 antergos/numix-frost-themes, -icon-theme, -icon-theme-square

    Caution: do not use neither single -s nor double -ss switch removing numix themes. Otherwise murrine gtk engine will be also removed.

    Command:

    sudo pacman -Rcnu numix-frost-themes numix-icon-theme numix-icon-theme-square
    

    Detaila:

    $ dt && sudo pacman -Rcnu numix-frost-themes numix-icon-theme numix-icon-theme-square
    Current datetime:
    2019-07-02 11:47:22
    
    checking dependencies...
    
    Package (3)              Old Version   Net Change
    
    numix-frost-themes       3.6.6-1        -4.54 MiB
    numix-icon-theme         1:18.07.17-1  -26.69 MiB
    numix-icon-theme-square  2:19.02.07-1   -9.84 MiB
    
    Total Removed Size:  41.06 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/3) removing numix-icon-theme-square   [---------] 100%
    (2/3) removing numix-icon-theme          [---------] 100%
    (3/3) removing numix-frost-themes        [---------] 100%
    :: Running post-transaction hooks...
    (1/3) Updating icon theme caches...
    (2/3) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/3) Arming ConditionNeedsUpdate...
    $
    

    4.3 antergos/nvidia-installer

    Command:

    sudo pacman -Rcnssu nvidia-installer
    

    Details:

    $ dt && sudo pacman -Rcnssu nvidia-installer
    Current datetime:
    2019-07-02 11:49:21
    
    checking dependencies...
    
    Package (1)       Old Version  Net Change
    
    nvidia-installer  1.17-2        -0.05 MiB
    
    Total Removed Size:  0.05 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing nvidia-installer                    [----------------------] 100%
    :: Running post-transaction hooks...
    (1/3) Checking core system packages
    (2/3) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/3) Arming ConditionNeedsUpdate...
    $
    

    4.4 antergos/yay

    Caution: don’t use double -ss switch removing yay. Otherwise sudo and other useful packages will be also removed.

    Command:

    sudo pacman -Rcnsu yay
    

    Details:

    $ dt && sudo pacman -Rcnsu yay
    Current datetime:
    2019-07-02 11:54:53
    
    checking dependencies...
    
    Package (1)  Old Version  Net Change
    
    yay          9.2.0-1       -6.31 MiB
    
    Total Removed Size:  6.31 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing yay                                 [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.5 antergos/antergos-gnome-defaults-list

    Command:

    sudo pacman -Rcnssu antergos-gnome-defaults-list
    

    Details:

    $ dt && sudo pacman -Rcnssu antergos-gnome-defaults-list
    Current datetime:
    2019-07-02 12:37:10
    
    checking dependencies...
    
    Package (1)                   Old Version  Net Change
    
    antergos-gnome-defaults-list  1.1-3         -0.04 MiB
    
    Total Removed Size:  0.04 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing antergos-gnome-defaults-list        [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.6 antergos/gksu and antergos/libgksu

    Caution: do not use double -ss switch removing gksu. Otherwise libgnome-keyring will be also removed.

    Command:

    sudo pacman -Rcnsu gksu
    

    Details:

    $ dt && sudo pacman -Rcnsu gksu
    Current datetime:
    2019-07-02 12:45:17
    
    checking dependencies...
    
    Package (2)  Old Version  Net Change
    
    libgksu      2.0.12-9      -0.46 MiB
    gksu         2.0.2-7       -0.07 MiB
    
    Total Removed Size:  0.52 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Running pre-transaction hooks...
    (1/1) Uninstalling GConf schemas...
    :: Processing package changes...
    (1/2) removing gksu                                [----------------------] 100%
    (2/2) removing libgksu                             [----------------------] 100%
    :: Running post-transaction hooks...
    (1/3) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/3) Arming ConditionNeedsUpdate...
    (3/3) Updating the desktop file MIME type cache...
    $
    

    4.7 antergos/pamac

    Command:

    sudo pacman -Rcnssu pamac
    

    Details:

    $ dt && sudo pacman -Rcnssu pamac
    Current datetime:
    2019-07-02 13:59:50
    
    checking dependencies...
    
    Package (4)               Old Version  Net Change
    
    appstream-glib            0.7.15-1      -2.95 MiB
    archlinux-appstream-data  20190614-1   -17.15 MiB
    gcab                      1.2-1         -0.36 MiB
    pamac                     7.3.4-1       -3.19 MiB
    
    Total Removed Size:  23.65 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/4) removing pamac                               [----------------------] 100%
    (2/4) removing archlinux-appstream-data            [----------------------] 100%
    (3/4) removing appstream-glib                      [----------------------] 100%
    (4/4) removing gcab                                [----------------------] 100%
    :: Running post-transaction hooks...
    (1/6) Updating icon theme caches...
    (2/6) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/6) Reloading system manager configuration...
    (4/6) Arming ConditionNeedsUpdate...
    (5/6) Updating the desktop file MIME type cache...
    (6/6) Updating the MIME type database...
    $
    

    4.8 antergos/antergos-alerts, -alpm-hooks, -mirrorlist

    A group of packages will be removed here:

    • antergos/antergos-alerts
    • antergos/antergos-alpm-hooks
    • antergos/antergos-mirrorlist
    • python-termcolor

    Backup /etc/pacman.d/antergos-mirrorlist file. We will need it later to remove remaining packages.

    Backup:

    sudo cp /etc/pacman.d/antergos-mirrorlist /etc/pacman.d/antergos-mirrorlist-backup
    

    Remove antergos-alerts and related packages.

    Command:

    sudo pacman -Rcnssu antergos-alerts
    

    Details:

    $ dt && sudo pacman -Rcnssu antergos-alerts
    Current datetime:
    2019-07-02 14:01:33
    
    checking dependencies...
    
    Package (4)          Old Version  Net Change
    
    antergos-alpm-hooks  1.1-1         -0.03 MiB
    antergos-mirrorlist  20180830-2    -0.01 MiB
    python-termcolor     1.1.0-6       -0.01 MiB
    antergos-alerts      18.9.9-1      -0.40 MiB
    
    Total Removed Size:  0.45 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/4) removing antergos-mirrorlist                 [----------------------] 100%
    (2/4) removing antergos-alpm-hooks                 [----------------------] 100%
    (3/4) removing antergos-alerts                     [----------------------] 100%
    (4/4) removing python-termcolor                    [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    ``

    Temporarily restore /etc/pacman.d/antergos-mirrorlist file. We need it to uninstall remaining packages. The file will be deleted later.

    Restore:

    sudo cp /etc/pacman.d/antergos-mirrorlist-backup /etc/pacman.d/antergos-mirrorlist
    

    4.9 What are remaining [antergos] packages now?

    Command:

    yaourt -Q | sort | grep antergos/
    

    Details:

    $ dt && yaourt -Q | sort | grep antergos/
    Current datetime:
    2019-07-02 14:14:03
    
    antergos/antergos-keyring 20170524-1 (antergos-base)
    antergos/gksu 2.0.2-6
    antergos/libgksu 2.0.12-8
    antergos/package-query 1.9.r380-3
    $
    

    4.10 antergos/antergos-keyring

    Command:

    sudo pacman -Rcnssu antergos-keyring
    

    Details:

    $ dt && sudo pacman -Rcnssu antergos-keyring
    Current datetime:
    2019-07-02 14:31:01
    
    checking dependencies...
    
    Package (1)       Old Version  Net Change
    
    antergos-keyring  20170524-1    -0.04 MiB
    
    Total Removed Size:  0.04 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing antergos-keyring                    [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.11 antergos/yaourt

    Command:

    sudo pacman -Rcnssu yaourt
    

    Details:

    $ dt && sudo pacman -Rcnssu yaourt
    Current datetime:
    2019-07-02 14:31:52
    
    checking dependencies...
    
    Package (3)    Old Version  Net Change
    
    package-query  1.9.r380-3    -0.08 MiB
    yajl           2.1.0-2       -0.19 MiB
    yaourt         1.9-1         -0.81 MiB
    
    Total Removed Size:  1.09 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/3) removing yaourt                              [----------------------] 100%
    (2/3) removing package-query                       [----------------------] 100%
    (3/3) removing yajl                                [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.12 All [antergos] packages removed

    Let’s check that.

    Command:

    paclist antergos
    

    Details:

    $ dt && paclist antergos
    Current datetime:
    2019-07-02 14:36:41
    
    $
    

    The list is empty. It is possible to remove [antergos] repo now.

    5. Remove [antergos] repo

    Edit /etc/pacman.conf and delete or comment out the [antergos] entry in it. Save the file. Reboot or logout-login aren’t needed.

    Example:

    #==2019.07.02
    #--just removed
    #--the repo.
    #--it's Antefree
    #--now.
    #--
    #--[antergos]
    #--SigLevel = PackageRequired
    #--Include = /etc/pacman.d/antergos-mirrorlist
    #==
    

    Check that we remain with standard native Arch repos only.

    Command:

    sudo pacman -Syy
    

    Details:

    $ sudo pacman -Sy
    :: Synchronizing package databases...
     core is up to date
     extra is up to date
     community is up to date
     multilib is up to date
    $
    

    6. Final adjustments

    We’ll remove /etc/pacman.d/antergos-mirrorlist file, which is not needed anymore.

    We have removed antergos/yaourt, antergos/yay and antergos/gksu packages. But it’s hard to live without them. Let’s build yaourt as a local package, because it’s not in AUR anymore. We’ll build yay and gksu normally, from AUR.

    We’ll change the hostname, to reflect the fact that we use Antefree now.

    6.1 Remove antergos-mirrorlist

    It’s better to rename the file instead of deleting it. It may be used later to consult the list of Antergos mirrors.

    Command:

    sudo mv /etc/pacman.d/antergos-mirrorlist /etc/pacman.d/antergos-mirrorlist-notusedanymore
    

    6.2 Restore yaourt

    I want to have yaourt for 2 reasons:

    • yay, in default configuration, has failed building gksu from AUR. yaourt did the job perfectly. I want to have yaourt as a backup for yay.

    • I have two dozens of sophisticated aliases. Many of them use yaourt. I’m too lazy to rewrite them to use yay instead of yaourt.

    Two packages are needed to build yaourt as a local package:

    • package-query
    • yaourt

    Get them from one of Antergos mirrors. Use another mirror from antergos-mirrorlist, if the one below doesn’t work for you.

    6.2.1 Get package-query

    Command:

    wget http://mirror.host.ag/antergos/antergos/x86_64/package-query-1.9.r380-3-x86_64.pkg.tar.xz
    

    Details:

    $ wget http://mirror.host.ag/antergos/antergos/x86_64/package-query-1.9.r380-3-x86_64.pkg.tar.xz
    --2019-07-02 21:35:20--  http://mirror.host.ag/antergos/antergos/x86_64/package-query-1.9.r380-3-x86_64.pkg.tar.xz
    Resolving mirror.host.ag (mirror.host.ag)... 5.104.175.130, 2a07:5741:0:501::1
    Connecting to mirror.host.ag (mirror.host.ag)|5.104.175.130|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 27232 (27K) [application/x-xz]
    Saving to: ‘package-query-1.9.r380-3-x86_64.pkg.tar.xz.1’
    
    package-query-1.9.r380-3-x86 100%[==============================================>]  26.59K  --.-KB/s    in 0.07s
    
    2019-07-02 21:35:20 (357 KB/s) - ‘package-query-1.9.r380-3-x86_64.pkg.tar.xz.1’ saved [27232/27232]
    
    $
    

    6.2.2 Get yaourt

    Command:

    wget http://mirror.host.ag/antergos/antergos/x86_64/yaourt-1.9-1-any.pkg.tar.xz
    

    Details:

    $ wget http://mirror.host.ag/antergos/antergos/x86_64/yaourt-1.9-1-any.pkg.tar.xz
    --2019-07-02 21:34:43--  http://mirror.host.ag/antergos/antergos/x86_64/yaourt-1.9-1-any.pkg.tar.xz
    Resolving mirror.host.ag (mirror.host.ag)... 5.104.175.130, 2a07:5741:0:501::1
    Connecting to mirror.host.ag (mirror.host.ag)|5.104.175.130|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 113748 (111K) [application/x-xz]
    Saving to: ‘yaourt-1.9-1-any.pkg.tar.xz’
    
    yaourt-1.9-1-any.pkg.tar.xz  100%[==============================================>] 111.08K   485KB/s    in 0.2s
    
    2019-07-02 21:34:43 (485 KB/s) - ‘yaourt-1.9-1-any.pkg.tar.xz’ saved [113748/113748]
    
    $
    

    6.2.3 Build yaourt

    By default wget puts downloaded files in the current standard user home directory.

    To build yaourt, package-query package must be built first.

    Command:

    sudo pacman -U ~/package-query-1.9.r380-3-x86_64.pkg.tar.xz
    

    Details:

    $ sudo pacman -U ~/package-query-1.9.r380-3-x86_64.pkg.tar.xz
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    
    Package (2)    New Version  Net Change  Download Size
    
    extra/yajl     2.1.0-2        0.19 MiB       0.03 MiB
    package-query  1.9.r380-3     0.08 MiB
    
    Total Download Size:   0.03 MiB
    Total Installed Size:  0.28 MiB
    
    :: Proceed with installation? [Y/n] Y
    :: Retrieving packages...
     yajl-2.1.0-2-x86_64                          35.8 KiB  0.00B/s 00:00 [---------------------------------------] 100%
    (2/2) checking keys in keyring                                        [---------------------------------------] 100%
    (1/2) checking package integrity                                      [---------------------------------------] 100%
    (1/2) loading package files                                           [---------------------------------------] 100%
    (2/2) checking for file conflicts                                     [---------------------------------------] 100%
    (2/2) checking available disk space                                   [---------------------------------------] 100%
    :: Processing package changes...
    (1/2) installing yajl                                                 [---------------------------------------] 100%
    (2/2) installing package-query                                        [---------------------------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    
    ==> finished: 1 packages removed (disk space saved: 35.84 KiB)
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    After that, we can build yaourt.

    Command:

    sudo pacman -U ~/yaourt-1.9-1-any.pkg.tar.xz
    

    Details:

    $ sudo pacman -U ~/yaourt-1.9-1-any.pkg.tar.xz
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    
    Package (2)   New Version  Net Change  Download Size
    
    core/gettext  0.19.8.1-3     8.02 MiB       1.75 MiB
    yaourt        1.9-1          0.81 MiB
    
    Total Download Size:   1.75 MiB
    Total Installed Size:  8.83 MiB
    
    :: Proceed with installation? [Y/n] Y
    :: Retrieving packages...
     gettext-0.19.8.1-3-x86_64                  1796.9 KiB  2.61M/s 00:01 [---------------------------------------] 100%
    (2/2) checking keys in keyring                                        [---------------------------------------] 100%
    (1/2) checking package integrity                                      [---------------------------------------] 100%
    (1/2) loading package files                                           [---------------------------------------] 100%
    (2/2) checking for file conflicts                                     [---------------------------------------] 100%
    (2/2) checking available disk space                                   [---------------------------------------] 100%
    :: Processing package changes...
    (1/2) installing gettext                                              [---------------------------------------] 100%
    Optional dependencies for gettext
        git: for autopoint infrastructure updates [installed]
    (2/2) installing yaourt                                               [---------------------------------------] 100%
    Optional dependencies for yaourt
        aurvote: vote for favorite packages from AUR
        customizepkg: automatically modify PKGBUILD during install/upgrade
        rsync: retrieve PKGBUILD from official repositories
    :: Running post-transaction hooks...
    (1/3) Cleaning pacman cache...
    
    ==> finished: 1 packages removed (disk space saved: 1.75 MiB)
    (2/3) Arming ConditionNeedsUpdate...
    (3/3) Updating the info directory file...
    $
    

    We have yaourt now, installed as a local package.

    6.3 Build yay

    For now, yaourt is the only tool we can use to build yay from AUR. Let’s build yay. Note that we use yay-bin PCKGBUILD, not the yay.

    Command:

    yaourt -S yay-bin
    

    Details:

    $ yaourt -S yay-bin
    
    ==> Downloading yay-bin PKGBUILD from AUR...
    x .SRCINFO
    x .gitignore
    x PKGBUILD
    LChris314 commented on <a href="#comment-697766" class="date">2019-06-20 14:23</a>
    
    jguer commented on <a href="#comment-697842" class="date">2019-06-21 09:49</a>
    
    bjo commented on <a href="#comment-697843" class="date">2019-06-21 10:02</a>
    
    jguer commented on <a href="#comment-697859" class="date">2019-06-21 12:16</a>
    
    yay-bin 9.2.1-3  (2019-06-21 12:15)
    ( Unsupported package: Potentially dangerous ! )
    ==> yay-bin dependencies:
     - pacman>=5.1 (already installed)
     - sudo (already installed)
     - git (already installed)
    
    
    ==> Continue building yay-bin ? [Y/n]
    ==> ---------------------------------
    ==>
    ...
    ==> Cleaning up...
    
    ==> Continue installing yay-bin ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> Y
    
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    
    Package (1)  New Version  Net Change
    
    yay-bin      9.2.1-3        6.27 MiB
    
    Total Installed Size:  6.27 MiB
    
    :: Proceed with installation? [Y/n] Y
    (1/1) checking keys in keyring                                        [---------------------------------------] 100%
    (1/1) checking package integrity                                      [---------------------------------------] 100%
    (1/1) loading package files                                           [---------------------------------------] 100%
    (1/1) checking for file conflicts                                     [---------------------------------------] 100%
    (1/1) checking available disk space                                   [---------------------------------------] 100%
    :: Processing package changes...
    (1/1) installing yay-bin                                              [---------------------------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    No database errors have been found!
    $
    

    We have yay now, built from AUR.

    6.4 Build gksu

    We can use yay now to do that.

    Command:

    yay -S aur/gksu aur/libgksu
    

    Details:

    $ yay -S aur/gksu aur/libgksu
    :: Checking for conflicts...
    :: Checking for inner conflicts...
    [Aur: 2]  libgksu-2.0.12-8  gksu-2.0.2-6
    
      2 libgksu                          (Installed) (Build Files Exist)
      1 gksu                             (Installed) (Build Files Exist)
    ==> Packages to cleanBuild?
    ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
    ==>
    :: PKGBUILD up to date, Skipping (1/2): gksu
    :: PKGBUILD up to date, Skipping (2/2): libgksu
      2 libgksu                          (Installed) (Build Files Exist)
      1 gksu                             (Installed) (Build Files Exist)
    ==> Diffs to show?
    ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
    ==>
    :: Parsing SRCINFO (1/2): libgksu
    :: Parsing SRCINFO (2/2): gksu
    ==> Making package: libgksu 2.0.12-8 (Wed 03 Jul 2019 12:07:42 MSK)
    ==> Retrieving sources...
      -> Found libgksu-2.0.12.tar.gz
    ...
    Package (1)  Old Version  New Version  Net Change
    
    gksu         2.0.2-6      2.0.2-6        0.03 MiB
    
    Total Installed Size:  0.07 MiB
    Net Upgrade Size:      0.03 MiB
    
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring                                      [-------------------------------------] 100%
    (1/1) checking package integrity                                    [-------------------------------------] 100%
    (1/1) loading package files                                         [-------------------------------------] 100%
    (1/1) checking for file conflicts                                   [-------------------------------------] 100%
    (1/1) checking available disk space                                 [-------------------------------------] 100%
    :: Processing package changes...
    (1/1) installing gksu                                             [-------------------------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    We have gksu, built from AUR.

    6.5 Change hostname

    To remember that we’re on Antefreee now, let’s change the hostname.

    Get current hostname:

    hostname
    

    Set new hostname:

    sudo hostnamectl set-hostname antefree.net
    

    You may set the old hostname back again, if you don’t like the new one.

    Conclusion

    We have removed all packages, installed from [antergos] repo. We have completely removed [antergos] repo. We use only standard Arch repos. We have re-installed from AUR some essential tools, previously installed from [antergos].

    Gnome transition from Antergos to Antefree completed.

    Done.

  • Wow, thank you for this post @just . I am happy to see that somebody has done this and that it works. I was already thinking that the developers would do exactly this in a script in their “last update” (I do not understand why does it take so long?) but I prefer to do this by hand.

  • I can confirm this incredible “step by step” really works and following it removes all Antergos package on system, resulting in a pure Arch Linux OS. Thanks!

  • Hey, somehow removing the antergos wallpapers also lead to lightdm failing to start from the next boot on. It probably removed a dependency it better shouldn’t have. Maybe I did something wrong.

    Does any of you know a way of reverting the last uninstall of antergos wallpapers or have a guess how to repair lightdm? I actually only copied the command in the instructions above.

  • The first instruction in OP says to “do a full system backup”. So the easiest way to recover antergos-wallpapers is to restore a system from a backup.

    If there was no malefic antergos-gnome-meta package installed in your system, then antergos wallpapers didn’t have any dependencies. It’s hard to remove something that doesn’t exist.

    If antergos-gnome-meta was/is installed, then nothing from OP will work in your system.

    Restore LightDm is an easy task. You should only know, whether you use gtk- or webkit2-greeter.

    1. Boot into runlevel 3
    2. Login into bash with your user
    3. Install 2 packages with pacman from standard Arch repos:
      • lightdm
      • either lightdm-gtk-greeter or lightdm-webkit2-greeter
    4. Enable lightdm service
    5. Reboot
  • Thank you so much for your answer! I have a backup, but want to get rid off the antergos repo. Sorry for my

    Antergos-gnome-meta was installed, but was removed now. I did what you said and then additionally had to reinstall xorg-server and now lightdm works again.

    I have some other files apart from the ones listed in you tutorial (see below).

    Do you think I can continue with your instructions (removing all the remaining antergos packages) now?

    (My remaining packages would be:
    antergos/antergos-alerts 18.9.9-1 (antergos-base)
    antergos/antergos-alpm-hooks 1.1-1 (antergos-base)
    antergos/antergos-gnome-defaults-list 1.1-3
    antergos/antergos-keyring 20170524-1 (antergos-base)
    antergos/antergos-midnight-timers 1.0-3
    antergos/antergos-mirrorlist 20180830-2 (antergos-base)
    antergos/aurman 2.18-1
    antergos/etcher 1.5.5-1
    antergos/gnome-shell-extension-status-menu-buttons 0.3-2
    antergos/grub2-theme-antergos 0.1-1
    antergos/package-query 1.9.r380-3
    antergos/pamac 7.3.4-1
    )

  • The OP wasn’t intended as step-by-step instructions to follow blindly. It rather aims to give an overall idea about how to proceed with removal. Two identically configured computers don’t exist.

    The idea is:

    1. Check, what is about to be removed with -Rcnssu switches
    2. If more than one package are about to be removed, then stop
    3. Try to remove a package with less global -Rcnsu switch
    4. Again, if more than one package are about to be removed, then stop
    5. Try to remove a package with even less global -Rnsu switch
    6. Again, if more than one package are about to be removed, then stop
    7. Try to remove a package with innocent -Rnu switch
    8. Repeat steps above, gradually reducing the “removal strengh” until only one package, or only packages we want to remove, are proposed by pacman for removal

    Most of the packages you’re asking about are removed in Antefree-Cinnamon, -Mate, -Plasma posts. Links a re given in the OP.

    For remaining, not described removals follow steps 1-8 above.

    I can only add that Antefree-Mate, -Gnome, -Cinnamon, -Plasma all work like a charm here. Lovely, nice, clean, joyful, simple Arch systems.

    Good luck

  • Thanks for this detailed help file! I tried it on an XFCE installation and it worked… pretty much. There were a couple other antergos packages which I removed with -Rcnssu. A little risky, but nothing appears to have broken.

    One think to note, after removing grub2-theme-antergos 0.1-1, the next time I rebooted, grub threw an error because it couldn’t find the theme. Not fatal, thankfully. I fixed this by installing grub-customizer from the Arch commuinity repository and choosing a different theme.

  • The other solution for Grub, was

    • edit the /etc/default/grub file and comment the GRUB_THEME line. Save.
      then
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    
  • @roger64 Thank you, Roger! I was searching for your previous suggestion about Grub 2, to repeat it here. Thanks again.

  • When I reach the gksu step and run sudo pacman -Rcnsu gksu I see it propose to remove these packages as well:

    Packages (6) libgksu-2.0.12-9  libgnome-keyring-3.12.0+11+g3766bcc-1
                 libuser-0.62-2  system-config-samba-1.2.100-1
                 wacom-utility-1.21-6  gksu-2.0.2-7
    

    Are these others safe to remove as well? I see you mention that libgnome-keyring is not safe to remove. I definitely am not running the remove command with the double -ss switch.

  • @JPL said in Antefree Gnome:

    Are these others safe to remove as well?

    Do not remove anything, until pacman proposes to remove only gksu itself.

    gksu may be installed later back again. From AUR or numerous 3rd-party repos.

    Do it by gradually reducing “removal power” of the -R command. How to achieve it is explained just 4 (four) posts above your’s one, in this thread, just sccroll the topic a bit higher, it’s here.

    It’s impossible to provide exact step-by-step instructions for each and every Antergos system configs in the world.

  • @just I tried those steps, but I don’t understand how to remove gksu + libgksu without it also removing libgnome-keyring.

    Just in case it matters, before the list of packages in my previous post I see this: “:: subversion optionally requires libgnome-keyring: for GNOME Keyring for auth credentials”

  • One way to remove a package only, without its dependencies, is to remove it by -Rd command.

    Its a bad way to uninstall something. Arch is made by dependencies, not by packages. The -Rd breaks all dependencies, leading to troubles. But sometimes it is inevitable. For example, to remove the dammned meta-packages, introduced in Antergos.

    I don’t use subversion. But gksu is indicated as an optional, not mandatory dependency for it. It’s important to not remove subversion itself; gksu, which it optionally wants, you’ll install later.

  • @just Ah okay, I think I got it, and now I understand more of how pacman’s remove options work. Thanks for the help, and for this guide.

    The one thing remaining from Antergos seems to be my /etc/os-release and /etc/issue files, identifying the system as Antergos (which screenfetch and gnome-control-center-info read).

  • @JPL said in Antefree Gnome:

    I think I got it, and now I understand more of how pacman’s remove options work.

    That’s good.

    The one thing remaining from Antergos seems to be my /etc/os-release and /etc/issue files, identifying the system as Antergos…

    (A side note: /etc/os-release is a softlink, not a real file; it points to real file /usr/lib/os-release)

    Both os-release and issue files may be modified by a user, obviously, with caution. It’s what we’re doing installing native Arch. For example, mine are modified in such a way that they report AnteFree Gnome instead of default Antergos Linux:

    AnteFree Gnome About

gnome361 antefree9 Posts 16Views 1447
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.