You are not logged in.

#1 2025-05-12 22:47:45

siya
Member
Registered: 2024-11-20
Posts: 8

[Solved] Slow upgrades, should I really be recompiling at each pkg upd

Hello all.

I have been using Arch for a while now, maybe about a year. I took a class in which we installed Arch a number of times in virtual machines, following the wiki guide, and I referred to that guide when installing it on my own system too, and refer to it on occasion for stuff like how to install Yay or Fcitx5.

Although I've been compiling Wine for the past couple hours, my system is still relatively up to date as I upgrade at least every couple weeks.

Some system information follows.

[alex@Alex ~]$ pacman --version

 .--.                  Pacman v7.0.0 - libalpm v15.0.0
/ _.-' .-.  .-.  .-.   Copyright (C) 2006-2024 Pacman Development Team
\  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet
 '--'
                       This program may be freely redistributed under
                       the terms of the GNU General Public License.

[alex@Alex ~]$ yay --version
yay v12.5.0 - libalpm v15.0.0
[alex@Alex ~]$ neofetch
                   -`                    alex@Alex 
                  .o+`                   --------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: UX331UA 1.0 
               `+oooooo:                 Kernel: 6.14.6-arch1-1 
               -+oooooo+:                Uptime: 5 hours, 31 mins 
             `/:-:++oooo+:               Packages: 1925 (pacman) 
            `/++++/+++++++:              Shell: bash 5.2.37 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: GNOME 48.1 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Adwaita 
       -osssssso.      :ssssssso.        Theme: Arc-Darker [GTK2/3] 
      :osssssss/        osssso+++.       Icons: Papirus-Dark [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: tilix 
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-8550U (8) @ 4.000GHz 
  `+sso+:-`                 `.-/+oso:    GPU: Intel UHD Graphics 620 
 `++:.                           `-/+/   Memory: 5217MiB / 7788MiB 
 .`                                 `/

When I run "pacman -Suy" from time to time, it can take hours to finish all the upgrades. My system recompiles very large software projects like Wine, Xemu, and Anki. I removed some large applications that I don't use to speed this up a bit, like Qemu, Android Studio, Clementine, but that doesn't address the problem. I have been using Yay to install most things, and I notice that for a given package X there's often an X-bin option too.

I am wondering if this is a normal part of using Arch or something I can fix, by preferring to install binaries from the AUR over building from source (this is sounding kind of obvious as I write it unless I am missing something), or some other way.

Last edited by siya (2025-05-12 23:06:21)


一只小鸭
思量考查

Offline

#2 2025-05-12 22:50:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: [Solved] Slow upgrades, should I really be recompiling at each pkg upd

siya wrote:

When I run "pacman -Suy" from time to time, it can take hours to finish all the upgrades. My system recompiles very large software projects like Wine, Xemu, and Anki..

This pretty much CAN'T happen. Pacman doesn't compile packages like that. Are you actually running pacman or yay? Are you using the packages in question from the repos or from the AUR?

Offline

#3 2025-05-12 23:05:16

siya
Member
Registered: 2024-11-20
Posts: 8

Re: [Solved] Slow upgrades, should I really be recompiling at each pkg upd

Scimmia wrote:
siya wrote:

When I run "pacman -Suy" from time to time, it can take hours to finish all the upgrades. My system recompiles very large software projects like Wine, Xemu, and Anki..

This pretty much CAN'T happen. Pacman doesn't compile packages like that. Are you actually running pacman or yay? Are you using the packages in question from the repos or from the AUR?

I must have mixed them up which makes things pretty simple. Yeah, I must have actually run yay instead and forgot, and running "history" seems to confirm this. I cancelled it and restarted the upgrade and it went normally (with nothing to upgrade). I will mark this as solved.


一只小鸭
思量考查

Offline

Board footer

Powered by FluxBB