Package Details: informant 0.5.1-1

Git Clone URL: https://aur.archlinux.org/informant.git (read-only, click to copy)
Package Base: informant
Description: An Arch Linux News reader and pacman hook
Upstream URL: https://github.com/bradford-smith94/informant
Keywords: news
Licenses: MIT
Submitter: bradford-smith94
Maintainer: bradford-smith94
Last Packager: bradford-smith94
Votes: 102
Popularity: 2.93
First Submitted: 2018-02-27 18:54 (UTC)
Last Updated: 2024-04-30 01:48 (UTC)

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:

importlib.metadata.PackageNotFoundError: No package metadata was found for informant

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 just informant itself should not trigger the hook, so you may be able to just force a rebuild of informant. However, this will still fail if rebuilding informant requires pacman to install makedepends. In that case: informant does not block removes, so first run sudo pacman -R informant and then reinstall informant (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.

Latest Comments

« First ‹ Previous 1 2 3 4 5

bradford-smith94 commented on 2020-08-18 20:43 (UTC)

@kortewegdevries That is the intended behavior. informant will stop your pacman transaction to give you time to/force you to read the news items that you may have missed. You can use informant read to read through the news items and then running your pacman command again should be successful.

<deleted-account> commented on 2020-08-10 11:14 (UTC)

Hi, is this warning supposed to be? I'm in the informant group and packages install just fine but the hook seems to report false...https://imgur.com/wG30EPZ Thanks.