FS#61038 - pacman fails to detect incomplete packages in -U operations

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Wednesday, 12 December 2018, 04:53 GMT
Task Type Bug Report
Category General
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

> split -n2 /var/cache/pacman/pkg/bash-completion-2.8-1-any.pkg.tar.xz

> pacman -U xaa
<snip>
:: Processing package changes...
(1/1) installing bash-completion [########################################################] 100%
error: could not extract /usr/share/bash-completion/completions/sysbench (Lzma library error: No progress is possible)
error: problem occurred while installing bash-completion
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

> pacman -Qk bash-completion
<snip - lots of errors>
bash-completion: 665 total files, 376 missing files

This task depends upon

Comment by Allan McRae (Allan) - Wednesday, 12 December 2018, 04:55 GMT
More fun:

$ testpkg xaa
Package is valid.
Comment by Andrew Gregory (andrewgregory) - Wednesday, 12 December 2018, 17:50 GMT
I guess the question is: is this enough of a problem to go back to reading the entire archive twice?
Comment by Allan McRae (Allan) - Wednesday, 12 December 2018, 21:57 GMT
Can we do that just for -U operations?

Loading...