FS#71798 - [pacman] :: File /var/cache/pacman/pkg/*.pkg.tar.zst is corrupted
Attached to Project:
Pacman
Opened by Grigory Vasilyev (nullik) - Wednesday, 11 August 2021, 14:08 GMT
Last edited by Allan McRae (Allan) - Tuesday, 31 August 2021, 23:32 GMT
Opened by Grigory Vasilyev (nullik) - Wednesday, 11 August 2021, 14:08 GMT
Last edited by Allan McRae (Allan) - Tuesday, 31 August 2021, 23:32 GMT
|
Details
Description:
pacman randomly breaks packages from local repository. Somewhere about 1 time 5 occurs. FS not having errors. packages from remote repositories not breaks. :: File /var/cache/pacman/pkg/blblbla.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)). Do you want to delete it? [Y/n] Steps to reproduce: local file repository or localhost webserver. |
This task depends upon
cd /var/cache/pacman/pkg
for i in s*.zst; do sudo pacman -U $i --noconfirm; done
and reinstalled all packages starting with 's' letter without a problem:)
local repositories in pacman.conf breaks packages.
In the second, I have a build script that builds multiple packages, pacman interrupts the script and the chroot cannot update. The packages themselves are intact!
Package in /var/cache/pacman/pkg intact too.
This is an incomprehensible error pacman and his file integrity check.
Also on the main system, when I switched from a remote repository to a local one, the same problem appeared.
SigLevel = Never
Server = http://127.0.0.1:8000/blbla/
or
[myrepo]
SigLevel = Never
Server = file:///path/blbla/
repo-add "myrepo.db.tar.gz" "package"