Wol,

On Tuesday, 2024-04-09 18:36:53 +0100, you wrote:

> ...
> Btw, where are all the messages for packages stored? I ought to go
> through them and make sure there aren't any messages of interest...

My script for package installations or upgrades sets

   begin=$(date '+%Y-%m-%d %H:%M:%S %Z')

before it calls "emerge" and calls the following little "gawk" programme
after "emerge" has finished:

   gawk -v begin="$begin" '
      ! P && /^>>> M/ { match($0," on ([^ ]+ [^ ]+ [^ ]+) for ",m)
                        if ( m[1] < begin ) next       # Skip old messages.
                        printf "\n" # Print separator before first message.
                        P = 1                   # Print remaining messages.
                      }
        P                 ' /var/log/portage/elog/summary.log | more

However, this probably requires

   PORTAGE_ELOG_SYSTEM="save-summary:warn"
   PORTAGE_LOGDIR="/var/log/portage"

in your "make.conf" file.

Sincerely,
  Rainer

Reply via email to