You are not logged in.

#1 2024-05-15 11:30:27

art
Member
Registered: 2019-08-12
Posts: 51

AUR tool, yay installs too many packages.

Please help me to understand how yay works, chooses to install packages. I'm following instructions at https://github.com/Jguer/yay?tab=readme … #first-use but when I run it, "yay -Syu --devel", it tries to compile electron19 and electron25, and gcc11 and other (see below) which takes a lot of time (I never waited till the end). It takes hours? Where can I remove those packages from my installation or they are required? See my configuration below. Thanks

> yay -Syu --devel
 :: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 custom is up to date
:: Searching AUR for updates...
:: Checking development packages...
:: Searching databases for updates...
 -> mullvad-vpn-bin: local (2024.1-1) is newer than custom (2023.6-1)
 -> mullvad-vpn-bin-debug: local (2024.1-1) is newer than custom (2023.6-1)
 -> Packages not in AUR: adwaita-qt5  adwaita-qt6  haskell-connection  haskell-cprng-aes  haskell-x509-store  haskell-x509-system  haskell-x509-validation  intel-oneapi-compiler-shared-opencl-cpu  js78  jupyter-server-ydoc  libopenaptx  libvterm01  mlt6  python-backcall  python-contextlib2  python-exceptiongroup  termite-terminfo
 -> Orphan (unmaintained) AUR Packages: python-pytoml  rttr  xcursor-simpleandsoft
:: 4 dependencies will also be installed for this operation.
   extra/nodejs-lts-hydrogen     -> 18.20.2-2
   (make dependency of electron25)
   extra/patchutils              -> 0.4.2-2
   (make dependency of electron25)
   aur/gklib                     -> 5.1.1-4
   aur/python-docstring-parser   -> 0.16-1

:: 28 packages to upgrade/install.
28  core/iproute2               6.8.0-2          -> 6.9.0-1
27  core/libnghttp2             1.61.0-1         -> 1.62.0-1
26  core/libnghttp3             1.2.0-1          -> 1.3.0-1
25  core/mkinitcpio             39-1             -> 39.1-1
24  extra/enchant               2.6.5-1          -> 2.7.3-1
23  extra/firefox               125.0.3-2        -> 126.0-1
22  extra/git                   2.45.0-1         -> 2.45.1-1
21  extra/gmic                  3.3.5-1          -> 3.3.6-1
20  extra/kio                   6.2.0-1          -> 6.2.0-2
19  extra/mypy                  1.10.0-1         -> 1.10.0-2
18  extra/python-pytest         1:8.1.2-1        -> 1:8.1.2-2
17  extra/semver                7.6.0-1          -> 7.6.2-1
16  aur/celt                    0.11.3-4         -> 0.11.3-6
15  aur/electron25              25.9.8-5         -> 25.9.8-6
14  aur/gcc11                   11.3.0-5         -> 11.4.0-1
13  aur/gcc11-libs              11.3.0-5         -> 11.4.0-1
12  aur/metis                   5.1.0.p10-2      -> 5.2.1-2
11  aur/ncurses5-compat-libs    6.3-1            -> 6.4-2
10  aur/openssl-1.0             1.0.2.u-1        -> 1.0.2.u-6
 9  aur/python-async_generator  1.10-8           -> 1.10-9
 8  aur/python-jsonargparse     4.15.1-2         -> 4.28.0-1
 7  aur/python-nilearn          0.10.0-1         -> 0.10.3-1
 6  aur/python-pylsp-mypy       0.6.8-2          -> 0.6.8-3
 5  aur/python-sysv_ipc         1.1.0-3          -> 1.1.0-6
 4  aur/python2                 2.7.18-5         -> 2.7.18-10
 3  aur/qt5-webkit              5.212.0alpha4-18 -> 5.212.0alpha4-22
 2  aur/rttr                    0.9.6-3          -> 0.9.6-4
 1  devel/electron19            19.1.9-5         -> latest-commit
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems

My configuration:

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

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

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

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

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

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

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

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

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

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

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

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

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

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

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

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

[custom]
SigLevel = Optional TrustAll
Server = file:///home/aur_custom_pkgs

My packages:

❯ pacman -Qqe
acpi
adwaita-qt5
adwaita-qt6
aichat-bin
alacritty
alacritty-themes
alsa-utils
android-file-transfer
android-tools
anki-official-binary-bundle
arandr
ascii
asoundconf
aurutils
autoconf
automake
autopep8
autorandr
bandwhich
base
base-devel
bat
bcprov
binutils
bison
blueman
bluez
bluez-utils
boost
brightnessctl
ccache
ccid
chatblade
chromium
chrono-date
chrysalis
cmake
cmus
csvkit
cython
devtools
dialog
dict-gcide
dict-moby-thesaurus
dict-wikt-en-all
dict-wn
dictd
dmenu
docker
docker-compose
dos2unix
dotnet-runtime
dotnet-sdk
doublecmd-qt5
droidcam
dust
ebook-tools
efibootmgr
eigen
evince
exfat-utils
exo
expect
fd
feh
filezilla
firefox
flatbuffers-git
flex
foliate
font-manager
fwupd
fx
fzf
fzf-tab-git
garcon
gcalcli
gcc
gdb
ghostwriter
gimp
git
git-annex
git-delta
git-filter-repo
git-lfs
git-repair
gnome-keyring
gocryptfs
gpac
gperf
grub
gst-libav
gufw
gvim
hledger
hledger-ui
hledger-web
htop
i3-wm
i3blocks
i3lock-color
i3status
icedtea-web
ifcplugin
inetutils
java-commons-lang
jdk11-openjdk
jq
jupyterlab
keepassxc
languagetool
lib32-fakeroot
lib32-gcc-libs
lib32-glibc
lib32-libltdl
lib32-ncurses
lib32-readline
lib32-zlib
libappindicator-gtk2
libcurl-gnutls
libgepub
libreoffice-fresh
librewolf-bin
libspeechd
linux
linux-firmware
linux-headers
lsof
lxappearance
lynx
m4
maim
make
man-db
man-pages
micromamba-bin
mono
mousepad
mpdecimal
mpv
mtr
mullvad-vpn-bin
ncdu
neovide
neovim
neovim-qt
network-manager-applet
networkmanager
networkmanager-pptp
newsboat
nftables
nlohmann-json
nm-connection-editor
nmap
nnn
nodejs
nodejs-hexo-cli
nordvpn-bin
noto-fonts-emoji
npm
nsync
ntfs-3g
nuget
nyx
oh-my-zsh-git
ookla-speedtest-bin
openresolv
openssh
openvpn
p7zip
pacman-contrib
pacutils
pandoc-cli
pasystray
patch
patool
pavucontrol
pdfjs
pdftk
perl-switch
picom
pkgconf
pnglatex
polybar
prettier
pulseaudio
pulseaudio-alsa
pulseaudio-bluetooth
pup
python-annexremote
python-backcall
python-cairosvg
python-einops
python-flatbuffers
python-frozendict
python-ipywidgets
python-jedi
python-jsonargparse
python-jupytext
python-lightning-utilities
python-looseversion
python-lsp-black
python-lsp-server
python-lxml
python-markdown-it-py
python-matplotlib
python-mccabe
python-mdit_py_plugins
python-multitasking
python-nibabel
python-nilearn
python-onnx
python-openai
python-pdfminer
python-pip
python-pipenv
python-pipx
python-plotly
python-pure-eval
python-pyaml
python-pycodestyle
python-pydeprecate
python-pydocstyle
python-pyflakes
python-pymupdf
python-pynacl
python-pynvim
python-pythondialog
python-rope
python-sympy
python-tensorboardx
python-xlsx2csv
python-yfinance
python2
python310
qt5-websockets
qutebrowser
rclone
redshift
redshiftgui-bin
reflector
ripgrep
rofi
rofi-calc
rsshub-git
rsync
schedtool
sd
sdcv
seahorse
shellcheck
signal-desktop
squashfs-tools
sshfs
strace
sudo
swig
syncthing
systemd-swap
tabbed
tcpdump
telegram-desktop
texinfo
texlive-basic
texlive-fontsrecommended
texlive-langother
texlive-luatex
thunar
thunar-archive-plugin
thunar-media-tags-plugin
thunar-volman
tk
tmux
tor
traceroute
trash-cli
tree
ttf-dejavu
ttf-meslo-nerd-font-powerlevel10k
ttf-vista-fonts
tumbler
udiskie
ueberzug
ufw
unzip
usb_modeswitch
usbutils
v4l2loopback-dc-dkms
v4l2loopback-dkms
virtualbox
visual-studio-code-bin
vlc
webtorrent-cli
wget
wireguard-tools
xclip
xcursor-breeze
xcursor-simpleandsoft
xdotool
xfce4-appfinder
xfce4-artwork
xfce4-battery-plugin
xfce4-clipman-plugin
xfce4-cpufreq-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dict
xfce4-diskperf-plugin
xfce4-eyes-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-mailwatch-plugin
xfce4-mount-plugin
xfce4-mpc-plugin
xfce4-netload-plugin
xfce4-notes-plugin
xfce4-notifyd
xfce4-panel
xfce4-power-manager
xfce4-pulseaudio-plugin
xfce4-screensaver
xfce4-screenshooter
xfce4-sensors-plugin
xfce4-session
xfce4-settings
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
xfce4-taskmanager
xfce4-terminal
xfce4-time-out-plugin
xfce4-timer-plugin
xfce4-verve-plugin
xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-whiskermenu-plugin
xfce4-xkb-plugin
xfconf
xfdesktop
xfwm4
xfwm4-themes
xorg-server
xorg-xev
xss-lock
xsv
xterm
yay
yt-dlp
z
zathura
zathura-djvu
zathura-pdf-mupdf
zip
zoom
zotero-bin
zsh
zsh-completions
zsh-pure-prompt

Offline

#2 2024-05-15 12:00:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,952
Website

Re: AUR tool, yay installs too many packages.

Stop using yay, learn how to use the AUR properly first, then decide if using an AUR helper is worthwhile.

https://wiki.archlinux.org/title/Arch_User_Repository

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-05-15 14:03:04

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 101

Re: AUR tool, yay installs too many packages.

No love for AUR helpers here sad

electron25, electron19 and gcc11 are code based AUR packages (meaning the package script contains instructions how to compile and build the artifact).

Compilation takes time (especially gcc).

Some packages that are distributed like this may have same package as *-bin. this

If you don't use any of these 3 package, just remove them. If you do need them, you can get the electron bin (though they are out of date).

Execute this to check which packages depend on the ones you want to remove:

pacman -Qi gcc11 | grep Required

Last edited by impossibleveins23 (2024-05-15 14:04:54)


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#4 2024-05-16 09:39:50

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,027

Re: AUR tool, yay installs too many packages.

 3  aur/qt5-webkit              5.212.0alpha4-18 -> 5.212.0alpha4-22

5.212.0alpha4-19 was uploaded to aur almost a year ago, https://aur.archlinux.org/cgit/aur.git/ … 372c95812d
Your system still has -18 , how often do you update aur packages ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2024-05-16 10:14:49

art
Member
Registered: 2019-08-12
Posts: 51

Re: AUR tool, yay installs too many packages.

Thank you all for your answers. I will learn more about AUR. I haven't updated some AUR packages for weeks because of this issue with yay.

Offline

#6 2024-05-16 11:12:14

fmc000
Member
Registered: 2020-05-12
Posts: 61

Re: AUR tool, yay installs too many packages.

You basically added another reason to ditch yay (and all other AUR helpers, of course).


Linux user since 1996. Currently running Arch on an I7 11th gen laptop with root on zfs with continuous snapshots and replication.

Offline

Board footer

Powered by FluxBB