Skip to content
Snippets Groups Projects
Verified Commit c7c88f88 authored by Morgan Adamiec's avatar Morgan Adamiec
Browse files

libalpm: check filecache_find return and log errors

Some user had erros while updating their system.

:: Proceed with installation? [Y/n]
:: Retrieving packages...
checking keyring...
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

The issue was filecache_find returning null and alpm passing that null
path to check validity. How this happened I have no idea. It may be
something to do with the user's cachedir being a network drive.

Also warn when the file exists but it is not a regular file or can not
be opened.
parent 39c3cbdf
No related branches found
Tags 0.5.4.2-36
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment