I again have same issue, but now is worse. I follow advice to run: paru, and I think it fixed but I am again with the same error, and now paru is not working.
$ paru
Start off ok:
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (121) ā¦
Total Installed Size: 1554.33 MiB
Net Upgrade Size: 8.11 MiB
:: Proceed with installation? [Y/n]
I make choice YES:
:: Retrieving packages...
(121/121) checking keys in keyring [----------------------------------------] 100%
(121/121) checking package integrity [----------------------------------------] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
I try to do: topgrade:
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (121) ā¦
Total Installed Size: 1554.33 MiB
Net Upgrade Size: 8.11 MiB
:: Proceed with installation? [Y/n]
I make choice: YES
:: Retrieving packages...
(121/121) checking keys in keyring [----------------------------------------] 100%
(121/121) checking package integrity [----------------------------------------] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
System update failed:
0: Command failed: `/usr/bin/paru --pacman pacman -Syu`
1: `/usr/bin/paru` failed: exit status: 1
Location:
src/steps/os/archlinux.rs:52
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
From old post, I try some thing that were told to me, but I cannot get this to work. I always wait 1 week when I have issue, read forum, read TG because maybe someone else have same problem. So I ask for help after only I try to fix for me.
If someone has idea of what is wrong, and how to fix, thank you.
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
error: failed retrieving file 'endeavouros.db' from ca.gate.endeavouros.com : SSL connection timeout
error: failed retrieving file 'endeavouros.db' from mirrors.tuna.tsinghua.edu.cn : Failed to connect to mirrors.tuna.tsinghua.edu.cn port 443 after 6522 ms: Couldn't connect to server
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (120) ā¦
Total Installed Size: 1552.74 MiB
Net Upgrade Size: 8.10 MiB
:: Proceed with installation? [Y/n]
I select YES
:: Retrieving packages...
(120/120) checking keys in keyring [----------------------------------------] 100%
(120/120) checking package integrity [----------------------------------------] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Same error from before, but I see that the first command install 1 of 121 package, so now only 120.
==> Moving old EndeavourOS mirrorlist to /etc/pacman.d/endeavouros-mirrorlist.2023.01.01-09.16.43.
==> Writing new ranked EndeavourOS mirrorlist to /etc/pacman.d/endeavouros-mirrorlist.
Root Password:
==> New mirrorlist saved.
Also make sure your system clock is correct!
Of course, itās also possible that the package file actually is corrupt. Remove it from /var/cache/pacman/pkg/ so pacman will download it again.
If no package file is explicitly mentioned then you may have an incomplete download. Run sudo rm /var/cache/pacman/pkg/*.part.part to remove any partial downloads.
So I would suggest to run sudo rm /var/cache/pacman/pkg/*.part
That FAQ should cover all situations. I would suggest to follow all steps there again.
Yes. But it wonāt work unless you delete the corrupted or partially downloaded file
The instructions in the FAQ always work for me. These issues are very common in pacman. Thats why it is recommended to update only using pacman, yay or paru so that we can diagnose the fix these issues. So I donāt use tools like topgrade or GUI package managers because it is hard to debug the issue.
I the above is still not working, delete your keyring and update it again.
If you have any other errors, you can clear out the pacman keyring and start fresh:
:: Synchronizing package databases...
endeavouros 31.9 KiB 23.3 KiB/s 00:01 [----------------------] 100%
core 152.6 KiB 92.4 KiB/s 00:02 [----------------------] 100%
extra 1734.2 KiB 584 KiB/s 00:03 [----------------------] 100%
community 7.2 MiB 1794 KiB/s 00:04 [----------------------] 100%
multilib 163.4 KiB 96.9 KiB/s 00:02 [----------------------] 100%
:: Starting full system upgrade...
there is nothing to do
So the delete of the file is what work, I think. The rest of the FAQ I follow before I type here in forum, and none of it work, like I said.
In the future, I will not use topgrade, but only use