Not able to update yay -Syu

error logs

error: failed to commit transaction (could not find or read package)               [C  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
Errors occurred, no packages were upgraded.
 -> error installing repo packages

Can you post the whole of the output (from the beginning to the end) from:

sudo pacman -Syu

?

1 Like

Does sudo pacman -Syu return the same error or does it work?

I had the basically the same problem with the latest version of Endeavor. Turns out I had to update the mirrors with EOS-Reflector. Then check for updates and I found 106 updates that were not being updated. Now my system is up to date. Try that and see if that helps.

how can i do that

yes same error

sudo pacman -Syu
[sudo] password for kaushiksahu18:
:: Synchronizing package databases...
 endeavouros is up to date
 core                                                  119.3 KiB  69.7 KiB/s 00:02 [------------------------------------------------] 100%
 extra                                                   7.9 MiB   872 KiB/s 00:09 [------------------------------------------------] 100%
 multilib is up to date
 warpdotdev is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (20)                 Old Version      New Version      Net Change  Download Size

core/b43-fwcutter            019-4            019-5             -0.02 MiB
core/cracklib                2.9.11-1         2.9.11-2          -0.01 MiB
core/dmraid                  1.0.0.rc16.3-14  1.0.0.rc16.3-15   -0.02 MiB
endeavouros/eos-bash-shared  24.16.15-1       24.16.16-1         0.00 MiB
extra/exiv2                  0.28.2-4         0.28.3-1           7.63 MiB
extra/gdb                    14.2-2           15.1-1            20.49 MiB       7.60 MiB
extra/gdb-common             14.2-2           15.1-1             0.05 MiB       0.11 MiB
extra/hyprutils              0.1.5-1          0.1.5-2            0.00 MiB
core/json-c                  0.17-1           0.17-2             0.00 MiB
extra/libibus                1.5.30-1         1.5.30-2           0.00 MiB
extra/libmpcdec              1:0.1+r475-5     1:0.1+r475-6       0.00 MiB
core/libp11-kit              0.25.3-1         0.25.5-1          -0.36 MiB
core/libxml2                 2.13.1-1         2.13.2-1           0.00 MiB
extra/libxslt                1.1.41-1         1.1.42-1           0.00 MiB
core/linux                   6.9.7.arch1-1    6.9.8.arch1-1      0.02 MiB
core/linux-headers           6.9.7.arch1-1    6.9.8.arch1-1      0.03 MiB
extra/nodejs                 22.4.0-1         22.4.1-1           0.00 MiB      13.89 MiB
core/p11-kit                 0.25.3-1         0.25.5-1          -0.07 MiB
extra/python-psutil          5.9.8-4          6.0.0-1            0.03 MiB
core/reiserfsprogs           3.6.27-4         3.6.27-5           0.01 MiB

Total Download Size:    21.59 MiB
Total Installed Size:  491.29 MiB
Net Upgrade Size:       27.79 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 gdb-common-15.1-1-x86_64                              111.6 KiB  69.3 KiB/s 00:02 [------------------------------------------------] 100%
 gdb-15.1-1-x86_64                                       7.6 MiB   767 KiB/s 00:10 [------------------------------------------------] 100%
 nodejs-22.4.1-1-x86_64                                 13.9 MiB  1027 KiB/s 00:14 [------------------------------------------------] 100%
 Total (3/4)                                            21.6 MiB  1547 KiB/s 00:14 [------------------------------------------------] 100%
(20/20) checking keys in keyring                                                   [------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package)               [C  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
Errors occurred, no packages were upgraded.

Try:

reflector --latest 7 --sort rate --protocol https | sudo tee /etc/pacman.d/mirrorlist

sudo pacman -Syyu

1 Like

you can use the Buttons from the welcome application too:

2 Likes

no nweed for adding -Syu to yay thats used by default already with yay alone :wink:

2 Likes

Welcome!

You could try commands

eos-update --clear-databases
eos-update

If that doesn’t help, try commenting out repo [warpdotdev] in /etc/pacman.conf and try again.

2 Likes

thats for warp terminal it only holds this one package i bet,

2 Likes

i have did everything,

  • update mirrors
  • -Syyu
  • eos-update --clear-databases eos-update

what should i do now!!

same error

error: failed to commit transaction (could not find or read package)               [C  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
Errors occurred, no packages were upgraded.
 -> error installing repo packages

also i am facing network speed problem, it happens many times, and then i restart and it works, if not i do restart again.

but this below is happning first time

error: failed retrieving file 'archlinux-keyring-20240709-1-any.pkg.tar.zst.sig' from mirror.sahil.world : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

just after this error, i have run a speedtest

speedtest-cli --secure
Retrieving speedtest.net configuration...
Testing from Vodafone Idea (27.97.45.87)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Winux (Bhopal) [172.53 km]: 172.801 ms
Testing download speed................................................................................
Download: 24.70 Mbit/s
Testing upload speed......................................................................................................
Upload: 19.69 Mbit/s

It looks like it needs to update the arch keyring and is unsuccessful. Not sure what country you are in? So this matters when updating the Arch mirrors using the welcome screen. Try selecting US and Canada mirrors. Then see what happens after updating the mirrors. I wouldn’t be using worldwide mirrors. Only select mirrors relevant to your location but try what i said first to see if that works. Then run sudo pacman -Syu

This would suggest that mirror.sahil.world is the possible issue.

I suggest manually updating your mirrors by visiting the Pacman Mirrorlist Generator, generating a list relevant to your country (or nearby ones), and inserting the output into /etc/pacman.d/mirrorlist . Be sure to remove mirror.sahil.world from that list if it’s in it.

1 Like

i am from India

Did you try updating your mirror list as above?

Same

sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 warpdotdev is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (91)                  Old Version                      New Version                      Net Change

extra/alsa-card-profiles      1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/alsa-firmware           1.2.4-3                          1.2.4-4                            0.00 MiB
extra/alsa-topology-conf      1.2.5.1-3                        1.2.5.1-4                          0.00 MiB
core/archlinux-keyring        20240609-1                       20240709-1                         0.01 MiB
core/b43-fwcutter             019-4                            019-5                             -0.02 MiB
extra/bluez                   5.76-1                           5.77-1                             0.02 MiB
extra/bluez-libs              5.76-1                           5.77-1                             0.00 MiB
extra/bluez-utils             5.76-1                           5.77-1                             0.01 MiB
extra/cantarell-fonts         1:0.303.1-1                      1:0.303.1-2                        0.00 MiB
extra/clutter-gtk             1.8.4-3                          1.8.4-4                           -0.01 MiB
extra/cmocka                  1.1.7-1                          1.1.7-2                            0.00 MiB
core/cracklib                 2.9.11-1                         2.9.11-2                          -0.01 MiB
extra/dconf                   0.40.0-2                         0.40.0-3                           0.00 MiB
extra/default-cursors         2-1                              2-2                                0.00 MiB
core/dmraid                   1.0.0.rc16.3-14                  1.0.0.rc16.3-15                   -0.02 MiB
extra/duktape                 2.7.0-6                          2.7.0-7                           -0.01 MiB
extra/ell                     0.66-1                           0.67-1                             0.00 MiB
endeavouros/eos-bash-shared   24.16.15-1                       24.16.16-1                         0.00 MiB
endeavouros/eos-translations  24.6-1                           24.7-1                             0.00 MiB
extra/exiv2                   0.28.2-4                         0.28.3-1                           7.63 MiB
extra/faac                    1.30-4                           1.30-5                             0.00 MiB
extra/flac                    1.4.3-1                          1.4.3-2                            0.01 MiB
extra/fuse2                   2.9.9-4                          2.9.9-5                           -0.01 MiB
extra/gdb                     14.2-2                           15.1-1                            20.49 MiB
extra/gdb-common              14.2-2                           15.1-1                             0.05 MiB
core/gdbm                     1.23-2                           1.24-1                            -0.06 MiB
core/glib2                    2.80.3-2                         2.80.4-1                           0.00 MiB
core/glib2-devel              2.80.3-2                         2.80.4-1                           0.00 MiB
extra/glycin                  1.0.1-1                          1.0.1-2                           -0.84 MiB
extra/gnome-nettool           42.0-2                           42.0-3                             0.00 MiB
extra/gnome-power-manager     43.0-1                           43.0-2                             0.00 MiB
extra/gnome-screenshot        41.0+r25+g45f08f0-1              41.0+r39+ga362197-2                0.01 MiB
extra/gnome-themes-extra      3.28+r6+g45b1d457-1              3.28+r6+g45b1d457-2                0.00 MiB
extra/gnome-video-effects     1:0.6.0-1                        1:0.6.0-2                          0.00 MiB
extra/grim                    1.4.1-1                          1.4.1-2                            0.00 MiB
extra/gsfonts                 20200910-3                       20200910-4                         0.00 MiB
extra/gsm                     1.0.22-1                         1.0.22-2                           0.00 MiB
extra/gst-plugin-pipewire     1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/gtest                   1.14.0-1                         1.14.0-2                           0.00 MiB
extra/gtk-update-icon-cache   1:4.14.4-1                       1:4.14.4-2                         0.00 MiB
extra/gtk3                    1:3.24.42-1                      1:3.24.43-1                        0.00 MiB
extra/gtk4                    1:4.14.4-1                       1:4.14.4-2                        -0.01 MiB
extra/hwdetect                2024.07.04.2217-1                2024.07.10.0706-1                  0.00 MiB
extra/hyprutils               0.1.5-1                          0.1.5-2                            0.00 MiB
extra/iwd                     2.18-1                           2.19-1                             0.00 MiB
extra/jdk-openjdk             22.0.1.u0-1                      22.0.1.u8-1                        1.96 MiB
core/json-c                   0.17-1                           0.17-2                             0.00 MiB
core/krb5                     1.21.2-2                         1.21.3-1                          -0.09 MiB
extra/libass                  0.17.2-1                         0.17.3-1                           0.00 MiB
extra/libavif                 1.0.4-4                          1.1.0-1                            0.04 MiB
core/libbpf                   1.4.2-1                          1.4.3-1                            0.00 MiB
extra/libheif                 1.17.6-6                         1.18.0-1                           0.10 MiB
extra/libibus                 1.5.30-1                         1.5.30-2                           0.00 MiB
core/libmpc                   1.3.1-1                          1.3.1-2                            0.00 MiB
extra/libmpcdec               1:0.1+r475-5                     1:0.1+r475-6                       0.00 MiB
core/libp11-kit               0.25.3-1                         0.25.5-1                          -0.36 MiB
extra/libpipewire             1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/libportal               0.7.1-2                          0.7.1-3                            0.00 MiB
extra/libportal-gtk3          0.7.1-2                          0.7.1-3                            0.00 MiB
extra/libportal-gtk4          0.7.1-2                          0.7.1-3                            0.00 MiB
extra/libreoffice-fresh       24.2.4-2                         24.2.5-1                           0.02 MiB
core/libxml2                  2.13.1-1                         2.13.2-1                           0.00 MiB
extra/libxslt                 1.1.41-1                         1.1.42-1                           0.00 MiB
core/linux                    6.9.7.arch1-1                    6.9.9.arch1-1                      0.07 MiB
core/linux-firmware           20240610.9c10a208-1              20240703.e94a2a3b-1                2.28 MiB
core/linux-firmware-whence    20240610.9c10a208-1              20240703.e94a2a3b-1                0.00 MiB
core/linux-headers            6.9.7.arch1-1                    6.9.9.arch1-1                      0.04 MiB
extra/meson                   1.4.1-1                          1.5.0-1                            0.27 MiB
extra/node-gyp                10.1.0-3                         10.2.0-1                           0.28 MiB
extra/nodejs                  22.4.0-1                         22.4.1-1                           0.00 MiB
core/p11-kit                  0.25.3-1                         0.25.5-1                          -0.07 MiB
extra/pahole                  1:1.27-1                         1:1.27-2                           0.00 MiB
extra/pipewire                1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/pipewire-alsa           1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/pipewire-audio          1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/pipewire-jack           1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/pipewire-pulse          1:1.2.0-2                        1:1.2.1-1                          0.00 MiB
extra/python-more-itertools   10.2.0-2                         10.3.0-1                           0.02 MiB
extra/python-pip              24.1.1-1                         24.1.2-1                           0.00 MiB
extra/python-psutil           5.9.8-4                          6.0.0-1                            0.03 MiB
extra/python-pydantic         2.7.4-1                          2.8.2-1                            0.17 MiB
extra/python-pydantic-core    1:2.18.4-1                       1:2.20.1-1                        -0.07 MiB
extra/qrencode                4.1.1-2                          4.1.1-3                            0.00 MiB
extra/qt6-wayland             6.7.2-1                          6.7.2-2                            0.00 MiB
core/reiserfsprogs            3.6.27-4                         3.6.27-5                           0.01 MiB
warpdotdev/warp-terminal      v0.2024.06.25.08.02.stable_01-1  v0.2024.07.09.08.01.stable_00-1    0.95 MiB
extra/xcb-util-keysyms        0.4.1-4                          0.4.1-5                            0.00 MiB
extra/xcb-util-renderutil     0.3.10-1                         0.3.10-2                           0.00 MiB
extra/xcb-util-wm             0.4.2-1                          0.4.2-2                            0.00 MiB
extra/xf86-input-libinput     1.4.0-1                          1.4.0-2                            0.00 MiB
extra/xorg-xwayland           24.1.0-1                         24.1.1-1                           0.00 MiB

Total Installed Size:  1988.89 MiB
Net Upgrade Size:        32.90 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
(91/91) checking keys in keyring                                                   [------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package)               [C  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
Errors occurred, no packages were upgraded.

Resolved, idk which one or total have worked, but i did this

1 .

  • Sync Package Databases: sudo pacman -Syy
  • Clear Package Cache: sudo pacman -Scc
    then update again sudo pacman -Syu

2nd is chatgpt’s suggestion

Thankyou all, i have seen endeavouros has very great community

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.