• Antefree Mate


    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 in [antergos]-free system, or Antefree ☺ for short. The final system uses native Arch repos and packages only.

    This is an example of Antergos Mate to Antefree Mate 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 && paclist antergos
    Current datetime:
    2019-07-02 16:37:21
    
    antergos-alerts 18.9.9-1
    antergos-alpm-hooks 1.1-1
    antergos-keyring 20170524-1
    antergos-mirrorlist 20180830-2
    antergos-wallpapers 0.7-3
    antergos-welcome 0.3-2
    brisk-menu 0.6.0.r31.g3d5e639-1
    caja-gksu 1.18.1-1
    gksu 2.0.2-7
    libgksu 2.0.12-9
    light-locker-settings 1.5.3-1
    mate-mint-menu 5.9.0-1
    numix-frost-themes 3.6.6-1
    numix-icon-theme 1:18.07.17-1
    numix-icon-theme-square 2:19.02.07-1
    package-query 1.9.r380-3
    pamac 7.3.4-1
    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-keyring

    Command:

    sudo pacman -Rcnssu antergos-keyring
    

    Details:

    $ sudo pacman -Rcnssu antergos-keyring
    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.2 antergos/antergos-wallpapers

    Command:

    sudo pacman -Rcnssu antergos-wallpapers
    

    Details:

    $ dt && sudo pacman -Rcnssu antergos-wallpapers
    Current datetime:
    2019-07-02 16:43:08
    
    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.3 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
    

    Details:

    $ dt && sudo pacman -Rcnu numix-frost-themes numix-icon-theme numix-icon-theme-square
    Current datetime:
    2019-07-02 16:45:39
    
    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.4 antergos/brisk-menu

    Command:

    sudo pacman -Rcnssu brisk-menu
    

    Details:

    $ dt && sudo pacman -Rcnssu brisk-menu
    Current datetime:
    2019-07-02 16:47:53
    
    checking dependencies...
    
    Package (1)  Old Version           Net Change
    
    brisk-menu   0.6.0.r31.g3d5e639-1   -0.59 MiB
    
    Total Removed Size:  0.59 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing brisk-menu                          [----------------------] 100%
    :: Running post-transaction hooks...
    (1/4) Compiling GSettings XML schema files...
    (2/4) Updating icon theme caches...
    (3/4) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (4/4) Arming ConditionNeedsUpdate...
    $
    

    4.5 antergos/mate-mint-menu

    Caution: do not use double -ss switch removing mate-mint-menu. Otherwise mozo (mate menu editor) will be also removed.

    Command:

    sudo pacman -Rcnsu mate-mint-menu
    

    Details:

    $ dt && sudo pacman -Rcnsu mate-mint-menu
    Current datetime:
    2019-07-02 16:50:00
    
    checking dependencies...
    :: fusion-icon optionally requires python2-gobject: For the GTK+ Interface
    
    Package (5)      Old Version  Net Change
    
    python2-gobject  3.32.2-1      -1.19 MiB
    python2-six      1.12.0-1      -0.10 MiB
    python2-xdg      0.26-2        -0.29 MiB
    python2-xlib     0.24-1        -1.27 MiB
    mate-mint-menu   5.9.0-1       -2.26 MiB
    
    Total Removed Size:  5.12 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/5) removing mate-mint-menu                      [----------------------] 100%
    (2/5) removing python2-xlib                        [----------------------] 100%
    (3/5) removing python2-xdg                         [----------------------] 100%
    (4/5) removing python2-six                         [----------------------] 100%
    (5/5) removing python2-gobject                     [----------------------] 100%
    :: Running post-transaction hooks...
    (1/3) Compiling GSettings XML schema files...
    (2/3) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/3) Arming ConditionNeedsUpdate...
    $
    

    Note: python2-gobject, optionally required by fusion-icon (compiz) was removed. We can re-install python2-gobject later, if it really needed by fusion-icon.

    4.6 antergos/light-locker-settings

    Command:

    sudo pacman -Rcnssu light-locker-settings
    

    Details:

    $ dt && sudo pacman -Rcnssu light-locker-settings
    Current datetime:
    2019-07-02 16:54:16
    
    checking dependencies...
    
    Package (4)            Old Version  Net Change
    
    libxxf86misc           1.0.4-1       -0.05 MiB
    light-locker           1.8.0-2       -0.27 MiB
    python-psutil          5.6.3-1       -2.35 MiB
    light-locker-settings  1.5.3-1       -0.38 MiB
    
    Total Removed Size:  3.06 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/4) removing light-locker-settings               [----------------------] 100%
    (2/4) removing python-psutil                       [----------------------] 100%
    (3/4) removing light-locker                        [----------------------] 100%
    (4/4) removing libxxf86misc                        [----------------------] 100%
    :: Running post-transaction hooks...
    (1/4) Compiling GSettings XML schema files...
    (2/4) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/4) Arming ConditionNeedsUpdate...
    (4/4) Updating the desktop file MIME type cache...
    $
    

    4.7 antergos/antergos-welcome

    Caution: do not use double -ss switch removing antergos-welcome. Otherwise mate-notification-daemon will be also removed.

    Command:

    sudo pacman -Rcnsu antergos-welcome
    

    Details:

    $ dt && sudo pacman -Rcnsu antergos-welcome
    Current datetime:
    2019-07-02 16:55:32
    
    checking dependencies...
    
    Package (3)        Old Version  Net Change
    
    python-pydbus      0.6.0-3       -0.13 MiB
    python-simplejson  3.16.1-1      -0.36 MiB
    antergos-welcome   0.3-2         -1.87 MiB
    
    Total Removed Size:  2.36 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/3) removing antergos-welcome                    [----------------------] 100%
    (2/3) removing python-simplejson                   [----------------------] 100%
    (3/3) removing python-pydbus                       [----------------------] 100%
    :: Running post-transaction hooks...
    (1/4) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/4) Reloading system manager configuration...
    (3/4) Arming ConditionNeedsUpdate...
    (4/4) Updating the desktop file MIME type cache...
    $
    

    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 17:16:25
    
    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...
    error: config file /etc/pacman.d/antergos-mirrorlist could not be read: No such file or directory
    error parsing '/etc/pacman.conf'
    ==> 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?

    Command:

    paclist antergos
    

    Details:

    $ dt && paclist antergos
    Current datetime:
    2019-07-02 17:25:42
    
    caja-gksu 1.18.1-1
    gksu 2.0.2-7
    libgksu 2.0.12-9
    package-query 1.9.r380-3
    pamac 7.3.4-1
    yay 9.2.0-1
    $
    

    4.10 antergos/pamac

    Command:

    sudo pacman -Rcnssu pamac
    

    Details:

    $ dt && sudo pacman -Rcnssu pamac
    Current datetime:
    2019-07-02 17:26:53
    
    checking dependencies...
    
    Package (5)               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
    libstemmer                0+337-3       -0.36 MiB
    pamac                     7.3.4-1       -3.19 MiB
    
    Total Removed Size:  24.01 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/5) removing pamac                               [----------------------] 100%
    (2/5) removing archlinux-appstream-data            [----------------------] 100%
    (3/5) removing appstream-glib                      [----------------------] 100%
    (4/5) removing libstemmer                          [----------------------] 100%
    (5/5) 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.11 antergos/yay

    Caution: do not 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 17:28:12
    
    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.12 antergos/yaourt

    Command:

    sudo pacman -Rcnssu yaourt
    

    Details:

    $ dt && sudo pacman -Rcnssu yaourt
    Current datetime:
    2019-07-02 17:29:13
    
    checking dependencies...
    
    Package (4)    Old Version  Net Change
    
    gettext        0.19.8.1-3    -8.02 MiB
    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:  9.11 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Running pre-transaction hooks...
    (1/1) Removing old entries from the info directory file...
    :: Processing package changes...
    (1/4) removing yaourt                              [----------------------] 100%
    (2/4) removing package-query                       [----------------------] 100%
    (3/4) removing yajl                                [----------------------] 100%
    (4/4) removing gettext                             [----------------------] 100%
    :: Running post-transaction hooks...
    (1/2) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (2/2) Arming ConditionNeedsUpdate...
    $
    

    4.13 antergos/gksu, antergos/libgksu, antergos/caja-gksu

    Command:

    sudo pacman -Rcnssu caja-gksu
    

    Details:

    $ dt && sudo pacman -Rcnssu caja-gksu
    Current datetime:
    2019-07-02 17:34:42
    
    checking dependencies...
    
    Package (3)  Old Version  Net Change
    
    gksu         2.0.2-7       -0.07 MiB
    libgksu      2.0.12-9      -0.46 MiB
    caja-gksu    1.18.1-1      -0.05 MiB
    
    Total Removed Size:  0.57 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Running pre-transaction hooks...
    (1/1) Uninstalling GConf schemas...
    :: Processing package changes...
    (1/3) removing caja-gksu                           [----------------------] 100%
    (2/3) removing gksu                                [----------------------] 100%
    (3/3) 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.14 All [antergos] packages removed

    Let’s check that.

    Command:

    paclist antergos
    

    Details:

    $ dt && paclist antergos
    Current datetime:
    2019-07-02 17:37: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].

    Mate transition from Antergos to Antefree completed.

    Done.

  • You never stop surprising me, impeccable as always !!!

    👌 👍

    My respects.

  • I am sorry that Antergos will be discontinued. During the 18 months since the installation I had no major problems. The inconsistency of libraries after an update of mate could be repaired by setting a link which could be removed after the next version of mate had come.
    Thanks for your help in getting free from Antergos-dependencies!
    I have tried for follow your plan. But when I entered your command to remove brisk-menu (or mate-mint-menu and probably many more) I have been warned that 95 packages with 585,21 MiB would be removed as well. So I stopped everything and performed a complete restore of the system.
    I suppose that this enormous amount of packages that would be removed comes from antergos-mate-meta being still in my output-list of “paclist antergos”. How can I ship around this package-octopus?
    Having moved the Antergos repos to the end of the list of packages the following upgrade brought only the installation of one or two packages. (I repeated the upgrade with no better success.) I would have expected dozens of packages to be upgraded and antergos-mate-meta to be removed.
    Can you please try to hint at what might have gone wrong?

  • @huberge said in Antefree Mate:

    …I have been warned that 95 packages with 585,21 MiB would be removed as well…

    That’s because of antergos-mate-meta presence.

    …So I stopped everything and performed a complete restore of the system.

    Excellent!

    I suppose that this enormous amount of packages that would be removed comes from antergos-mate-meta being still in my output-list of “paclist antergos”.

    You’re absolutely right.

    …How can I ship around this package-octopus?

    The malefic meta-package may be removed with:

    sudo pacman -Rdnu antergos-mate-meta
    

    The -d swiths means “don’t check dependencies while removing”. Only antergos-
    mate-meta must be proposed by pacman for removal. Check that twice before confirming the removal.

    Once you’re free from the root-of-all-evil meta-package, the rest of suggested package-by-package removal should work as described earlier.

    Having moved the Antergos repos to the end of the list of packages the following upgrade brought only the installation of one or two packages. (I repeated the upgrade with no better success.)

    It’s absolutely normal. Fortunately, Antergos didn’t have replaced many native Arch packages with its own. Two or three, maybe one, or even none. No worries.

    …I would have expected dozens of packages to be upgraded and antergos-mate-meta to be removed.

    It was a wrong expectation, in two aspects:

    • antergos-mate-meta doesn’t related in any way to packages, installed from native Arch repos (99.9% of all installed pkgs in Antergos)
    • antergos-mate-meta removal doesn’t depend in any way of repo’s priority. It is installed by default in Anetrgos, and may be removed only by hand. It’s never removed automatically.

    …Can you please try to hint at what might have gone wrong?

    Absolutely nothing. You did a very good, thorough job. You did everything right.

    Just remove antergos-mate-meta. Once it is removed, the rest will work as described in OP.

    PS. I’m firmly convinced that Antergos’ decline has been started with meta-packages introduction. I’ve tried to convince the devs to not use them, tried to explain that meta-packages have many more CONs than PROs, but without a success.

  • Many thanks for your immediate and competent answer!

    Using the command you have proposed, antergos-meta-mate was removed without problems.
    But trying to uninstall antergos-wallpapers I have been warned that 64 packages would be removed as well (Sorry, I could not find out how to insert a text window):

    [[email protected] ~]$ sudo pacman -Rcnssu antergos-wallpapers
    Prüfe Abhängigkeiten…
    :: firefox benötigt optional pulseaudio: Audio support
    :: handbrake benötigt optional libdvdcss: for decoding encrypted DVDs
    :: libcanberra benötigt optional libcanberra-pulse: PulseAudio driver
    :: libdvdread benötigt optional libdvdcss: for decoding encrypted DVDs
    :: mate-settings-daemon benötigt optional libcanberra-pulse: PulseAudio support
    :: mate-settings-daemon benötigt optional pulseaudio-alsa: PulseAudio support
    :: mate-themes benötigt optional gtk-engine-murrine: for gtk2 themes
    :: mesa benötigt optional mesa-vdpau: for accelerated video playback
    :: networkmanager benötigt optional bluez: Bluetooth support
    :: vlc benötigt optional libdvdcss: decoding encrypted DVDs

    "Pakete (64) accountsservice-0.6.55-1 alsa-plugins-1.1.9-2
    antergos-common-meta-1.5-1 antergos-desktop-settings-1.14-2
    bluez-5.50-6 dconf-editor-3.32.0-1 ffmpegthumbnailer-2.2.0-2
    gnome-backgrounds-3.32.0-1 gstreamer-vaapi-1.16.0-1
    gtk-engine-murrine-0.98.2-3 inetutils-1.9.4-7
    libcanberra-pulse-0.30+2+gc0620e4-2 libdvdcss-1.4.2-1
    libxfont2-2.0.3-1 libxxf86misc-1.0.4-1 light-locker-1.8.0-2
    light-locker-settings-1.5.3-1 lightdm-1:1.30.0-2
    lightdm-webkit2-greeter-2.2.5-2 mesa-vdpau-19.1.2-1
    numix-frost-themes-3.6.6-1 numix-icon-theme-1:18.07.17-1
    numix-icon-theme-square-2:19.02.07-1 pavucontrol-1:4.0-1
    pulseaudio-12.2-2 pulseaudio-alsa-2-4 pulseaudio-bluetooth-12.2-2
    qt5ct-0.39-2 rtkit-0.12-1 xf86-input-libinput-0.28.2-1
    xf86-video-fbdev-0.5.0-1 xf86-video-vesa-2.4.0-2
    xorg-iceauth-1.0.8-1 xorg-server-1.20.5-2
    xorg-server-common-1.20.5-2 xorg-sessreg-1.1.2-1
    xorg-setxkbmap-1.3.2-1 xorg-smproxy-1.0.6-2 xorg-x11perf-1.6.1-1
    xorg-xbacklight-1.2.3-1 xorg-xcmsdb-1.0.5-2
    xorg-xcursorgen-1.0.7-1 xorg-xdriinfo-1.0.6-1 xorg-xev-1.2.3-1
    xorg-xgamma-1.0.6-2 xorg-xhost-1.0.8-1 xorg-xinit-1.4.1-1
    xorg-xinput-1.6.2-2 xorg-xkbcomp-1.4.2-1 xorg-xkbevd-1.1.4-2
    xorg-xkbutils-1.0.4-3 xorg-xkill-1.0.5-1 xorg-xlsatoms-1.1.3-1
    xorg-xlsclients-1.1.4-1 xorg-xmodmap-1.0.10-1 xorg-xpr-1.0.5-1
    xorg-xrdb-1.2.0-1 xorg-xrefresh-1.0.6-1 xorg-xsetroot-1.1.2-1
    xorg-xvinfo-1.1.4-1 xorg-xwd-1.0.7-1 xorg-xwininfo-1.1.5-1
    xorg-xwud-1.0.5-1 antergos-wallpapers-0.7-3

    Gesamtgröße der entfernten Pakete: 115,97 MiB

    :: Möchten Sie diese Pakete entfernen? [J/n] "

    Yesterday I met the same reaction. But I did not mention it because I thought it would have its origin in the existence of antergos-meta-mate as well. Is there another meta package about?

    By the way, when removing antergos-keyring I dozens of message of this kind:
    “:: Starte post-transaction hooks…
    (1/2) Compiling GSettings XML schema files…
    Kein Schlüssel »side-by-side-tiling« in Schema »org.mate.Marco.general« wie angegeben in überschreibender Datei »/usr/share/glib-2.0/schemas/90_antergos_mate.gschema.override«; Überschreiben dieses Schlüssels wird ignoriert.”
    In short and in English: this key and dozens of others are not overwritten because they do not exist – if I am not mistaken.

    Now I have stopped the procedure again. Can I live without antergos-keyring – at least for the moment?
    Or would you recommend to perform a complete restore again?

    Here is the output with antergos packages (any problem-makers or special cases among the candidates?):

    “[[email protected] ~]$ paclist antergos
    antergos-alerts 18.9.9-1
    antergos-alpm-hooks 1.1-1
    antergos-common-meta 1.5-1
    antergos-desktop-settings 1.14-2
    antergos-keyring 20170524-1
    antergos-midnight-timers 1.0-3
    antergos-mirrorlist 20180830-2
    antergos-wallpapers 0.7-3
    brisk-menu 0.6.0.r31.g3d5e639-1
    caja-gksu 1.18.1-1
    downgrade 6.0.0-2
    gksu 2.0.2-7
    grub2-theme-antergos 0.1-1
    hunspell-de-frami 20170112-3
    libgksu 2.0.12-9
    light-locker-settings 1.5.3-1
    mate-mint-menu 5.9.0-1
    mate-tweak 18.04.16-1
    numix-frost-themes 3.6.6-1
    numix-icon-theme 1:18.07.17-1
    numix-icon-theme-square 2:19.02.07-1
    pamac 7.3.4-1
    profile-sync-daemon 6.33-1
    ttf-google-fonts-typewolf 17.11.git+94dff3e-1”

    I am sorry to tackle you again. But I would not be surprised if you had a good idea anew …

  • @huberge said in Antefree Mate:

    …Is there another meta package about?

    Please, read your own output. Yes, there’s another meta-package installed in your system. It’s antergos-common-meta. It’s the third one in your list of 64 pkgs to remove.

    And please, if you want to post a terminal output, then switch it temporarily to English with the command:

    export LANG=C
    

    antergos-common-meta ties together a huge amount of other low-level, system packages. Again, it’s only Antergos… invention. Nothing similar exists in native Arch.

    Remove antergos-common-meta - again, WITHOUT dependencies - before going further:

    export LANG=C
    sudo pacman -Rdnu antergos-common-meta
    
  • Thanks for your patience! Indeed, I should have seen the second meta-package myself.
    But now my Arch Linux is nearly completely “ante-free” (I followed your guide regarding AUR as well.) The grub2-themes seem to be the very last bastion of Antergos. But sooner or later I will remove them too.

  • I can’t help with Grub2-related things. I don’t use it, never install it, remove it immediately if it cannot be disabled at installation time.

    Good luck

mate69 antefree9 Posts 8Views 371
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.