Thanks @bradford-smith94. Do you mean I should do informant read
on another terminal before running an install/update? Because currently the informant hook prevents pacman from completing if items are not read. And it just checks for new items, doesn't give me an option to read them in middle of a pacman transaction. To avoid this should the hook exec be check
and read
both.
Search Criteria
Package Details: informant 0.6.0-1
Package Actions
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: | 111 |
Popularity: | 2.40 |
First Submitted: | 2018-02-27 18:54 (UTC) |
Last Updated: | 2024-09-02 23:58 (UTC) |
Dependencies (9)
Required by (0)
Sources (1)
<deleted-account> commented on 2020-08-19 05:31 (UTC)
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.
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.