Installation is tripping over 00-informant.hook. I suspected that options=(zipman)
might be the cause of these errors but removing it from PKGBUILD had no effect.
warning: could not get file information for usr/share/licenses/informant/LICENSE
warning: could not get file information for usr/share/man/man1/informant.1.gz
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
:: Processing package changes...
(1/1) reinstalling informant [---] 100%
error: could not extract /usr/share/libalpm/hooks/00-informant.hook (Zstd decompression failed: Unknown frame descriptor)
error: problem occurred while upgrading informant
NOTE: Add yourself to group "informant" to avoid the need for sudo
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
As a workaround, I just manually run the install lines in package()
.
Pinned Comments
bradford-smith94 commented on 2024-04-30 01:59 (UTC) (edited on 2024-04-30 02:01 (UTC) by bradford-smith94)
After a major Python upgrade
informant
will break with an error likely including something like:This is inconvenient and not ideal, as it will cause all following pacman commands to fail. But since the version of Python that
informant
was built against is no longer there, this is the way it will be.In this case,
informant
simply needs to be rebuilt against the newest Python version. Please do not flag the package out of date. Since v0.4.6 and upgrade/install (rebuild) of justinformant
itself should not trigger the hook, so you may be able to just force a rebuild ofinformant
. However, this will still fail if rebuildinginformant
requires pacman to install makedepends. In that case:informant
does not block removes, so first runsudo pacman -R informant
and then reinstallinformant
(make sure it forces a rebuilt and doesn't reinstall a cached version).Further discussion of the Python major version update causing errors can be found at the Github issue: https://github.com/bradford-smith94/informant/issues/40.