• Antefree Cinnamon


    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 Cinnamon to Antefree Cinnamon 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 18:11:49
    
    antergos-alerts 18.9.9-1
    antergos-alpm-hooks 1.1-1
    antergos-keyring 20170524-1
    antergos-mirrorlist 20180830-2
    gksu 2.0.2-7
    libgksu 2.0.12-9
    light-locker-settings 1.5.3-1
    package-query 1.9.r380-3
    pamac 7.3.4-1
    systemd-manager 1.0.0-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/light-locker-settings

    Command:

    sudo pacman -Rcnssu light-locker-settings
    

    Details:

    $ dt && sudo pacman -Rcnssu light-locker-settings
    Current datetime:
    2019-07-02 18:13:18
    
    checking dependencies...
    
    Package (3)            Old Version  Net Change
    
    libxxf86misc           1.0.4-1       -0.05 MiB
    light-locker           1.8.0-2       -0.27 MiB
    light-locker-settings  1.5.3-1       -0.38 MiB
    
    Total Removed Size:  0.70 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/3) removing light-locker-settings               [----------------------] 100%
    (2/3) removing light-locker                        [----------------------] 100%
    (3/3) 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.2 antergos/systemd-manager

    Command:

    sudo pacman -Rcnssu systemd-manager
    

    Details:

    $ dt && sudo pacman -Rcnssu systemd-manager
    Current datetime:
    2019-07-02 18:15:52
    
    checking dependencies...
    
    Package (1)      Old Version  Net Change
    
    systemd-manager  1.0.0-1       -0.75 MiB
    
    Total Removed Size:  0.75 MiB
    
    :: Do you want to remove these packages? [Y/n] Y
    :: Processing package changes...
    (1/1) removing systemd-manager                     [----------------------] 100%
    :: Running post-transaction hooks...
    (1/5) Checking core system packages
    (2/5) Cleaning pacman cache...
    ==> no candidate packages found for pruning
    (3/5) Checking for core packages changes...
    (4/5) Arming ConditionNeedsUpdate...
    (5/5) Updating the desktop file MIME type cache...
    $
    

    4.3 antergos/antergos-keyring

    Command:

    sudo pacman -Rcnssu antergos-keyring
    

    Details:

    
    $ dt && sudo pacman -Rcnssu antergos-keyring
    Current datetime:
    2019-07-02 18:18:00
    
    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.4 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 18:21:43
    
    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.5 What are remaining [antergos] packages now?

    Command:

    paclist antergos
    

    Details:

    $ dt && paclist antergos
    Current datetime:
    2019-07-02 18:28:39
    
    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.6 antergos/pamac

    Command:

    sudo pacman -Rcnssu pamac
    

    Details:

    $ dt && sudo pacman -Rcnssu pamac
    Current datetime:
    2019-07-02 18:30:46
    
    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.7 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 18:32:01
    
    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.8 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 18:36:56
    
    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.9 antergos/yaourt

    Command:

    sudo pacman -Rcnssu yaourt
    

    Details:

    $ dt && sudo pacman -Rcnssu yaourt
    Current datetime:
    2019-07-02 18:45:42
    
    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.10 All [antergos] packages removed

    Let’s check that.

    Command:

    paclist antergos
    

    Details:

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

    Cinnamon transition from Antergos to Antefree completed.

    Done.

  • @just This is very helpful for everyone. I took a chance on my own with Cinnamon desktop and although I’m not sure i did everything correctly it seems to be working. I appreciate you doing this.

  • Thank you very much for providing such a detailed information. Much appreciated!! I’ll try it tomorrow.

    This topic should be made more visible…

  • @roger64 said in Antefree Cinnamon:

    …I’ll try it tomorrow.

    Check whether or not antergos-cinnamon-meta is installed.

    If yes, then it must be the first package to remove. Without dependencies:

    sudo pacman -Rdnu antergos-cinnamon-meta
    

    After that, it will be possible to proceed with one-by-one package removals, as described above.

  • @Just

    I’ve followed your detailed guide but bumped on this (over two years Antergos user):

    [[email protected] ~]$ sudo pacman -Rcnsu gksu
    [sudo] Mot de passe de roger : 
    vérification des dépendances…
    :: fzf peut nécessiter vim: plugin
    :: graphviz peut nécessiter xterm: vimdot
    :: htop peut nécessiter lsof: show files opened by a process
    :: inxi peut nécessiter wmctrl: -S active window manager (not all wm)
    :: virtualbox peut nécessiter vde2: Virtual Distributed Ethernet support
    :: vlc peut nécessiter libnfs: NFS access
    :: xorg-xinit peut nécessiter xterm
    
    Paquets (24) celt0.5.1-0.5.1.3-4  hdparm-9.58-1  jemalloc-1:5.2.0-1
                 libcacard-2.6.1-1  libgksu-2.0.12-9  libnfs-4.0.0-3
                 libutempter-1.1.6-3  lsof-4.91-1  multisystem-1.0432-1
                 numactl-2.0.12-2  qemu-4.0.0-3  seabios-1.12.0-1  spice-0.14.2-1
                 squashfs-tools-4.3-8  syslinux-6.04.pre2.r11.gbf6db5b4-1
                 usbredir-0.8.0-1  vde2-2.3.2-11  vim-8.1.1635-1
                 vim-runtime-8.1.1635-1  virglrenderer-0.7.0-1  wmctrl-1.07-5
                 xbitmaps-1.1.2-1  xterm-347-1  gksu-2.0.2-7
    
    Taille totale supprimée :  101,42 MiB
    
    :: Voulez-vous désinstaller ces paquets ? [O/n] n
    
    

    also I have a question: even if I manage to suppress cleanly all these packages, I suppose they have some utility. How am I supposed to replace them? (i.e. “desktop-settings”, etc.

    So finally, up to now, I reverted to starting point.

  • @roger64 said in Antefree Cinnamon:

    So finally, up to now, I reverted to starting point.

    That’s good. Don’t move further unless you know what are you doing.

    The situation looks unfamiliar to me. I don’t have virtualbox, vlc, fzf, graphviz packages installed. Clearly, it’s impossible to cover with examples all possible configurations and installed packages.

    Next time, please, temporarily switch terminal in English when posting the output. It is done with one command; terminal remains in English until it is closed:

    export LANG=C
    

    Please, post back here descending dependencies tree of your gksu, limiting the tree’s depth to the 2nd level:

    export LANG=C
    pactree --depth 2 gksu
    

    Also, try to not remove gksu’s acsending dependencies, by excluding cascade removals -c switch. Does it propose less packages to remove? :

    sudo pacman -Rnsu gksu
    

    Finally, it’s possible to remove gksu leaving its descending dependencies intact, by excluding recursive removals -s switch. But it will leave other packages without their optionaly needed gksu (dirty system):

    sudo pacman -Rnu gksu
    
  • Thanks for your quick reply

    [email protected] ~]$ pactree --depth 2 gksu
    gksu
    ├─libgksu provides libgksu>=2.0.12
    │ ├─gconf
    │ ├─gtk2
    │ ├─libgnome-keyring
    │ ├─libgtop
    │ └─startup-notification
    └─xorg-xauth
      └─libxmu
    [[email protected] ~]$ 
    
    

    Other info

    [[email protected] ~]$ export LANG=C
    [[email protected] ~]$ sudo pacman -Rnsu gksu
    checking dependencies...
    warning: removing gksu from target list
    warning: removing libgksu from target list
     there is nothing to do
    [[email protected] ~]$ sudo pacman -Rnu gksu
    checking dependencies...
    warning: removing gksu from target list
     there is nothing to do
    [[email protected] ~]$ 
    
    
  • I’d see two solutions in this case.

    1. Either

      • remove all packages, which optionaly require gksu; they are in your post
      • remove antergos/gksu with
        sudo pacman -Rdnu gksu
        
      • install removed packages back again
      • after that, install gksu back again from AUR with
        yay -S aur/gksu
        
    2. Or

      • remove antergos/gksu without dependencies with
        sudo pacman -Rdnu gksu
        
      • install aur/gksu with
        yay -S aur/gksu
        

    Are you sure that gksu was installed from [antergos] repo? Does it present in the list, returned by

    paclist antergos
    
  • It’s reported as such

    [[email protected] ~]$ paclist antergos
    antergos-alerts 18.9.9-1
    antergos-alpm-hooks 1.1-1
    antergos-desktop-settings 1.14-2
    antergos-gnome-defaults-list 1.1-3
    antergos-keyring 20170524-1
    antergos-midnight-timers 1.0-3
    antergos-mirrorlist 20180830-2
    antergos-wallpapers 0.7-3
    cower 18-2
    downgrade 6.0.0-2
    dropbox 70.4.93-1
    gksu 2.0.2-7
    grub2-theme-antergos 0.1-1
    libgksu 2.0.12-9
    light-locker-settings 1.5.3-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
    nvidia-installer 1.17-2
    pacaur 4.7.10-2
    package-query 1.9.r380-3
    pamac 7.3.4-1
    systemd-manager 1.0.0-1
    yay 9.2.0-1
    zuki-themes 20150516-1
    [[email protected] ~]$ 
    
    
  • Hi currently down to

    [[email protected] ~]$ paclist antergos
    dropbox 70.4.93-1
    grub2-theme-antergos 0.1-1
    numix-frost-themes 3.6.6-1
    nvidia-installer 1.17-2
    package-query 1.9.r380-3
    yay 9.2.0-1
    zuki-themes 20150516-1
    [[email protected] ~]$ 
    
    

    Considering further action… ;)

    I did not succeed reinstalling numix-frost-themes to AUR

  • @Just

    Reporting success. The Antergos repository has been inactivated. Everything is working nicely except two minor glitches:

    • Grub looks for the antergos theme during some seconds
    • I cannot reinstall dropbox.

    Out of that, a huge and good surprise. My wifi is working (it never did during the last 24 months). Probably an unnoticed update of linux-firmware did the trick…

    Thank you for your help and patience. Particularly helpful were the tips about Rcnssu, Rdnu and Rcnu and also the command

    yay -S aur/gksu (and others)
    
  • @roger64 said in Antefree Cinnamon:

    Reporting success…

    I’m really glad to hear that. You did a good job.

    I don’t use neither Grub 2 nor dropbox, so don’t want to make wrong suggestions.

    Though one thing about Grub 2 is for certain. If something has changed in its config - and you did it by removing Antergos theme, - then Grub 2 must be updated.

    I don’t remember the exact command to update Grub 2. Search for it in this forum. It was repeated here about a zillion times.

    I’m in vacation from tomorrow. For about a month. No civilization, no computers, no Wi-Fi. Only tablets and smartphone. So it won’t be possible for me to offer any serious help.

    Ciao

  • OK all problems solved!!

    http://pix.toile-libre.org/upload/original/1563966028.png

    and a big thank you!!

  • @just said in Antefree Cinnamon:

    I don’t remember the exact command to update Grub 2.

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

    And for the peeps that don’t use paclist or yaourt as myself, here is a command to find antergos packages pacman -Qq | grep antergos

  • @RvstFyth Thank you!

    @roger64 If you still have problems with Dropbox, I’d suggest to add Bluestar Linux repos to your system. Bluestar repo is a fantastic one every Arch system should have ☺ : . It has dropbox package.

    Place Bluestar repos at the very bottom of the /etc/pacman.conf file (i.e., at the lowest priority). Repos aren’t signed, so no keys are needed to use them. Add to pacman.conf:

    
    #==2019.07.24
    #--just borrowed from
    #--Bluestar 2019.06
    #--
    [bluestar-override]
    SigLevel = Never TrustAll
    Server = http://downloads.sourceforge.net/project/bluestarlinux/repo/override/$arch
    #--
    [bluestar]
    SigLevel = Optional TrustAll
    Server = http://downloads.sourceforge.net/project/bluestarlinux/repo/$arch
    #--
    #==
    

    Force repos update, so pacman sees newly added repos:

    sudo pacman -Syy
    

    Install Dropbox from Bluestar:

    sudo pacman -S bluestar/dropbox
    

    or

    yay -S bluestar/dropbox
    

    Edit

    Bluestar offers Kde only. Its packages are mostly tailored for this DE. Don’t know, how bluestar/dropbox will behave in other DEs.

cinnamon93 antefree9 Posts 15Views 582
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.