Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
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
|
DetailsDescription:
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"