You are not logged in.

#1 2023-08-12 09:53:35

Archerino
Member
Registered: 2023-08-12
Posts: 7

[solved] No download/progress bars when Retrieving packages....

On 2 of my machines there are no longer any progress bars when retrieving packages. I have #NoProgressBar in etc/pacman.conf.
It just says 'Retrieving packages...'. and doesn't produce any progress bars on downloading individual packages. It used to display individual progress bars.
When every package is finished downloading it shows a list without progress bars. I have searched both the web and wiki but can't find a solution.
What could be done to fix this issue?

 
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (56) amd-ucode-20230804.7be2766d-2  audit-3.1.2-1  firefox-116.0.2-1  fuse-common-3.16.1-1  graphicsmagick-1.3.40-4  graphviz-8.1.0-2  gtkmm3-3.24.8-1  imagemagick-7.1.1.15-2  lib32-libldap-2.6.6-1  lib32-libxml2-2.11.5-1  lib32-systemd-254.1-1  libgexiv2-0.14.2-1  libinih-57-1  libmm-glib-1.20.6-2  libproxy-0.5.3-2  libxml2-2.11.5-1  libxnvctrl-535.98-1  linux-6.4.10.arch1-1  linux-firmware-20230804.7be2766d-2  linux-firmware-whence-20230804.7be2766d-2  linux-headers-6.4.10.arch1-1  linux-lts-6.1.44-1  linux-lts-headers-6.1.44-1  net-snmp-5.9.1-7  openssh-9.4p1-2  perl-5.38.0-1  perl-alien-build-2.80-2  perl-alien-libxml2-0.19-2  perl-capture-tiny-0.48-7  perl-clone-0.46-2  perl-dbi-1.643-6  perl-error-0.17029-5  perl-ffi-checklib-0.31-3  perl-file-chdir-0.1011-5  perl-file-which-1.27-3  perl-mailtools-2.21-7  perl-path-tiny-0.144-2  perl-timedate-2.33-5  perl-xml-libxml-2.0209-1  python-cryptography-41.0.3-1  python-more-itertools-10.1.0-1  python-pygments-2.16.1-1  python-trove-classifiers-2023.8.7-1  rofi-1.7.5-2  ruby-test-unit-3.6.0-1  runc-1.1.9-1  signal-desktop-6.28.0-1  systemd-254.1-1  systemd-libs-254.1-1  systemd-sysvcompat-254.1-1  thin-provisioning-tools-1.0.6-1  vim-9.0.1678-1  vim-runtime-9.0.1678-1  xdg-dbus-proxy-0.1.5-1  xfconf-4.18.1-2  zenity-3.44.2-1

Total Download Size:    697.34 MiB
Total Installed Size:  1629.64 MiB
Net Upgrade Size:         8.12 MiB

:: Proceed with installation? [Y/n] :: Retrieving packages...
 linux-firmware-20230804.7be2766d-2-any downloading...
 linux-6.4.10.arch1-1-x86_64 downloading...
 linux-lts-6.1.44-1-x86_64 downloading...
 signal-desktop-6.28.0-1-x86_64 downloading...
 firefox-116.0.2-1-x86_64 downloading...
 linux-headers-6.4.10.arch1-1-x86_64 downloading...
 linux-lts-headers-6.1.44-1-x86_64 downloading...
 perl-5.38.0-1-x86_64 downloading...
 imagemagick-7.1.1.15-2-x86_64 downloading...
 systemd-254.1-1-x86_64 downloading...
 vim-runtime-9.0.1678-1-x86_64 downloading...
 graphviz-8.1.0-2-x86_64 downloading...
 zenity-3.44.2-1-x86_64 downloading...
 runc-1.1.9-1-x86_64 downloading...
 graphicsmagick-1.3.40-4-x86_64 downloading...
 python-pygments-2.16.1-1-any downloading...
 vim-9.0.1678-1-x86_64 downloading...
 net-snmp-5.9.1-7-x86_64 downloading...
 gtkmm3-3.24.8-1-x86_64 downloading...
 openssh-9.4p1-2-x86_64 downloading...
 systemd-libs-254.1-1-x86_64 downloading...
 thin-provisioning-tools-1.0.6-1-x86_64 downloading...
 python-cryptography-41.0.3-1-x86_64 downloading...
 perl-dbi-1.643-6-x86_64 downloading...
 libxml2-2.11.5-1-x86_64 downloading...
 libmm-glib-1.20.6-2-x86_64 downloading...
 lib32-systemd-254.1-1-x86_64 downloading...
 perl-xml-libxml-2.0209-1-x86_64 downloading...
 lib32-libxml2-2.11.5-1-x86_64 downloading...
 rofi-1.7.5-2-x86_64 downloading...
 audit-3.1.2-1-x86_64 downloading...
 perl-alien-build-2.80-2-any downloading...
 ruby-test-unit-3.6.0-1-any downloading...
 xfconf-4.18.1-2-x86_64 downloading...
 lib32-libldap-2.6.6-1-x86_64 downloading...
 libgexiv2-0.14.2-1-x86_64 downloading...
 python-more-itertools-10.1.0-1-any downloading...
 libxnvctrl-535.98-1-x86_64 downloading...
 amd-ucode-20230804.7be2766d-2-any downloading...
 perl-mailtools-2.21-7-any downloading...
 perl-path-tiny-0.144-2-any downloading...
 perl-timedate-2.33-5-any downloading...
 linux-firmware-whence-20230804.7be2766d-2-any downloading...
 libproxy-0.5.3-2-x86_64 downloading...
 xdg-dbus-proxy-0.1.5-1-x86_64 downloading...
 perl-error-0.17029-5-any downloading...
 perl-capture-tiny-0.48-7-any downloading...
 libinih-57-1-x86_64 downloading...
 perl-ffi-checklib-0.31-3-any downloading...
 python-trove-classifiers-2023.8.7-1-any downloading...
 perl-file-which-1.27-3-any downloading...
 perl-file-chdir-0.1011-5-any downloading...
 perl-clone-0.46-2-x86_64 downloading...
 perl-alien-libxml2-0.19-2-any downloading...
 systemd-sysvcompat-254.1-1-x86_64 downloading...
 fuse-common-3.16.1-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Running pre-transaction hooks...
(1/1) Removing linux initcpios...
:: Processing package changes...
upgrading amd-ucode...
upgrading audit...
upgrading systemd-libs...
upgrading libxml2...
upgrading systemd...
upgrading libproxy...
upgrading firefox...
upgrading fuse-common...
upgrading graphicsmagick...
upgrading perl...
upgrading graphviz...
upgrading gtkmm3...
upgrading openssh...
New optional dependencies for openssh
    sh: for ssh-copy-id and findssl.sh [installed]
upgrading imagemagick...
upgrading lib32-libldap...
upgrading lib32-libxml2...
upgrading lib32-systemd...
upgrading libinih...
upgrading libgexiv2...
upgrading libmm-glib...
upgrading libxnvctrl...
upgrading linux...
upgrading linux-firmware-whence...
upgrading linux-firmware...
upgrading linux-headers...
upgrading linux-lts...
upgrading linux-lts-headers...
upgrading net-snmp...
upgrading perl-capture-tiny...
upgrading perl-ffi-checklib...
upgrading perl-file-chdir...
upgrading perl-file-which...
upgrading perl-path-tiny...
upgrading perl-alien-build...
upgrading perl-alien-libxml2...
upgrading perl-clone...
upgrading perl-dbi...
upgrading perl-error...
upgrading perl-timedate...
upgrading perl-mailtools...
upgrading perl-xml-libxml...
upgrading python-cryptography...
upgrading python-more-itertools...
upgrading python-pygments...
upgrading python-trove-classifiers...
upgrading rofi...
upgrading ruby-test-unit...
upgrading runc...
upgrading signal-desktop...
New optional dependencies for signal-desktop
    xdg-desktop-portal: Screensharing with Wayland
upgrading systemd-sysvcompat...
upgrading thin-provisioning-tools...
upgrading vim-runtime...
upgrading vim...
upgrading xdg-dbus-proxy...
upgrading xfconf...
upgrading zenity...
:: Running post-transaction hooks...
( 1/16) Creating system user accounts...
( 2/16) Updating journal message catalog...
( 3/16) Reloading system manager configuration...
( 4/16) Updating udev hardware database...
( 5/16) Applying kernel sysctl settings...
( 6/16) Creating temporary files...
( 7/16) Reloading device manager configuration...
( 8/16) Arming ConditionNeedsUpdate...
( 9/16) Updating module dependencies...
(10/16) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: '6.1.44-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: '6.1.44-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: '6.4.10-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.4.10-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> Image generation successful
(11/16) Gracefully upgrading systemd-boot...
(12/16) Reloading system bus configuration...
(13/16) Warn about old perl modules
(14/16) Updating GIO module cache...
(15/16) Updating icon theme caches...
(16/16) Updating the desktop file MIME type cache...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: marked out of date: paru
 there is nothing to do

My 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/
#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 = KeepInstalled
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5

# 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.

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

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

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

[extra]
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

Last edited by Archerino (2023-08-12 14:15:29)

Offline

#2 2023-08-12 10:33:03

ayekat
Member
Registered: 2011-01-17
Posts: 1,607

Re: [solved] No download/progress bars when Retrieving packages....

Hey Archerino, welcome to the forums!

I see some non-pacman output there (and "paru" mentioned). Please try with pacman directly (no wrappers) and see if the same happens.
If it also happens with pacman directly, what terminal emulator are you using (and what's the output of `echo $TERM`)?

For output and file pastes, you can use [code] tags, makes it more readable.


pkgshackscfgblag

Offline

#3 2023-08-12 10:41:39

Archerino
Member
Registered: 2023-08-12
Posts: 7

Re: [solved] No download/progress bars when Retrieving packages....

Thanks. It's alacritty. I will try again with pacman -Syyu when there are new updates available. Right now there aren't any new updates.

Edit: tried with pacman -Syyu on my other machine and it does show download bars. Thanks for the help. Somehow it's related to using paru for upgrading.

Last edited by Archerino (2023-08-12 10:45:52)

Offline

#4 2023-08-12 14:02:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,782

Re: [solved] No download/progress bars when Retrieving packages....

pacman -Syyu

The double y is only needed in very specific circumstances and increases the load on the mirror servers (many of which are run by volunteers)..
Please use pacman -Syu from now on.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-08-12 14:13:31

Archerino
Member
Registered: 2023-08-12
Posts: 7

Re: [solved] No download/progress bars when Retrieving packages....

I looked at my alias and noticed the missing output is probably because of me using tee: |& tee ~/update.txt. Problem solved.

Last edited by Archerino (2023-08-12 14:28:33)

Offline

#6 2023-10-06 04:13:41

fractal_sounds
Member
Registered: 2023-07-27
Posts: 18

Re: [solved] No download/progress bars when Retrieving packages....

Archerino wrote:

I looked at my alias and noticed the missing output is probably because of me using tee: |& tee ~/update.txt. Problem solved.

I was curious if there is any way to use tee for redirection to a file and still having the progress bars visible on the screen during package retrieval?

Offline

#7 2023-10-06 07:31:45

Archerino
Member
Registered: 2023-08-12
Posts: 7

Re: [solved] No download/progress bars when Retrieving packages....

fractal_sounds wrote:
Archerino wrote:

I looked at my alias and noticed the missing output is probably because of me using tee: |& tee ~/update.txt. Problem solved.

I was curious if there is any way to use tee for redirection to a file and still having the progress bars visible on the screen during package retrieval?

I stopped using tee. Instead I found a different solution:

I achieved what I wanted by making pacman.log more human readable, stripping unwanted information.
I did this by using grep, sed and les on pacman.log, like this:

 grep -iE --color=always 'installed|reinstalled|upgraded|removed' /var/log/pacman.log | sed 's/^.//g;s/T/ /g;s/+0200\]\s\[ALPM\]//g'| less -R +G 

Last edited by Archerino (2023-10-06 07:35:24)

Offline

#8 2023-10-07 09:30:05

fractal_sounds
Member
Registered: 2023-07-27
Posts: 18

Re: [solved] No download/progress bars when Retrieving packages....

That's a nice idea, thank you Archerino.

Offline

#9 2023-10-08 01:22:27

fractal_sounds
Member
Registered: 2023-07-27
Posts: 18

Re: [solved] No download/progress bars when Retrieving packages....

I did a bit more digging around. For anyone else curious about this, it seems that the common practice is to turn off interactive features (such as progress bars) when the output is to a pipe rather than a TTY, as a means of preventing log files from becoming cluttered. See this Stack Overflow post for more details, including a workaround if one really wants to have progress bars visible while redirecting to a file, at the cost of having the progress bars also written to the file.

Offline

Board footer

Powered by FluxBB