Question regarding post-transaction hooks warnings

Greetings lovely community,

Just did a quick update this morning via yay (currently attempting an update cadence every Friday & Monday at the moment, even though my brain wants to do it daily!) and I came across a warning after running the post-transaction hooks:

:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Warn about old perl modules
(3/5) Updating icon theme caches...
(4/5) Updating the info directory file...
(5/5) Updating the desktop file MIME type cache...

Specifically curious about this line:

(2/5) Warn about old perl modules

I just wanted to follow up to see if there was anything to add besides “ignore it all” since this is the first time I’ve noticed this hook warning. Is there any specific packages I need to track down to rebuild? Or any AUR maintainers that use some pearl stuff that I use that are maybe out of date now or something? Will I be seeing this warning now every time that I update or is this the only time it’ll be mentioned? I’m not worried since it’s just a hook warning, I’m just curious to try to gain as much knowledge as I can about it. I search the Arch wiki, but couldn’t find anything relevant. Would appreciate any more insight into this matter or anything related to it like similar warnings so that I may be better prepared for anything in the future updates. Thanks for taking the time to read my message and looking forward to any replies!

Full ouput of yay for those curious below:

[scott@endeavourOS ~]$ yay
[sudo] password for scott: 
:: Synchronizing package databases...
 core                  135.9 KiB   453 KiB/s 00:00 [-----------------------] 100%
 extra                1572.4 KiB  3.34 MiB/s 00:00 [-----------------------] 100%
 community               5.8 MiB  6.15 MiB/s 00:01 [-----------------------] 100%
 multilib              149.1 KiB   533 KiB/s 00:00 [-----------------------] 100%
 endeavouros            21.2 KiB  28.6 KiB/s 00:01 [-----------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (18) bitwarden-1.28.2-2  dav1d-0.9.2-1  dkms-2.8.6-1
              gtksourceview4-4.8.2-1  gzip-1.11-1  imagemagick-7.1.0.6-1
              libibus-1.5.25-3  libnss_nis-3.1-2  libsamplerate-0.2.2-1
              libseccomp-2.5.2-1  mpg123-1.29.0-1  npm-7.22.0-1
              osinfo-db-20210903-1  pahole-1.22-1  python-google-auth-1.33.0-1
              telegram-desktop-3.0.1-1  wireless-regdb-2021.08.28-1
              zimg-3.0.3-1

Total Download Size:    44.44 MiB
Total Installed Size:  215.31 MiB
Net Upgrade Size:        0.23 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libnss_nis-3.1-2...    22.9 KiB   114 KiB/s 00:00 [-----------------------] 100%
 libseccomp-2.5.2...    88.2 KiB   327 KiB/s 00:00 [-----------------------] 100%
 zimg-3.0.3-1-x86_64   282.6 KiB   974 KiB/s 00:00 [-----------------------] 100%
 dav1d-0.9.2-1-x86_64  477.0 KiB  1325 KiB/s 00:00 [-----------------------] 100%
 gzip-1.11-1-x86_64     82.0 KiB  1366 KiB/s 00:00 [-----------------------] 100%
 libsamplerate-0....  1366.3 KiB  3.10 MiB/s 00:00 [-----------------------] 100%
 dkms-2.8.6-1-any       53.5 KiB   669 KiB/s 00:00 [-----------------------] 100%
 gtksourceview4-4...   990.9 KiB  3.02 MiB/s 00:00 [-----------------------] 100%
 mpg123-1.29.0-1-...   433.0 KiB  1883 KiB/s 00:00 [-----------------------] 100%
 osinfo-db-202109...   178.8 KiB  1788 KiB/s 00:00 [-----------------------] 100%
 imagemagick-7.1....     2.5 MiB  4.23 MiB/s 00:01 [-----------------------] 100%
 pahole-1.22-1-x86_64  248.5 KiB  1775 KiB/s 00:00 [-----------------------] 100%
 python-google-au...   146.6 KiB  1128 KiB/s 00:00 [-----------------------] 100%
 npm-7.22.0-1-any     1986.8 KiB  3.53 MiB/s 00:01 [-----------------------] 100%
 wireless-regdb-2...    10.1 KiB   168 KiB/s 00:00 [-----------------------] 100%
 bitwarden-1.28.2...     4.0 MiB  3.31 MiB/s 00:01 [-----------------------] 100%
 libibus-1.5.25-3...     9.6 MiB  4.77 MiB/s 00:02 [-----------------------] 100%
 telegram-desktop...    22.1 MiB  12.8 MiB/s 00:02 [-----------------------] 100%
 Total (18/18)          44.4 MiB  14.5 MiB/s 00:03 [-----------------------] 100%
(18/18) checking keys in keyring                   [-----------------------] 100%
(18/18) checking package integrity                 [-----------------------] 100%
(18/18) loading package files                      [-----------------------] 100%
(18/18) checking for file conflicts                [-----------------------] 100%
(18/18) checking available disk space              [-----------------------] 100%
:: Processing package changes...
( 1/18) installing libnss_nis                      [-----------------------] 100%
( 2/18) upgrading libseccomp                       [-----------------------] 100%
( 3/18) upgrading dav1d                            [-----------------------] 100%
( 4/18) upgrading zimg                             [-----------------------] 100%
( 5/18) upgrading libsamplerate                    [-----------------------] 100%
( 6/18) upgrading libibus                          [-----------------------] 100%
( 7/18) upgrading bitwarden                        [-----------------------] 100%
( 8/18) upgrading gzip                             [-----------------------] 100%
( 9/18) upgrading dkms                             [-----------------------] 100%
(10/18) upgrading gtksourceview4                   [-----------------------] 100%
(11/18) upgrading imagemagick                      [-----------------------] 100%
(12/18) upgrading mpg123                           [-----------------------] 100%
(13/18) upgrading npm                              [-----------------------] 100%
(14/18) upgrading osinfo-db                        [-----------------------] 100%
(15/18) upgrading pahole                           [-----------------------] 100%
(16/18) upgrading python-google-auth               [-----------------------] 100%
(17/18) upgrading telegram-desktop                 [-----------------------] 100%
(18/18) upgrading wireless-regdb                   [-----------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Warn about old perl modules
(3/5) Updating icon theme caches...
(4/5) Updating the info directory file...
(5/5) Updating the desktop file MIME type cache...
:: Searching databases for updates...
:: Searching AUR for updates...
 -> Flagged Out Of Date AUR Packages:  minecraft-launcher
 there is nothing to do

I don’t see a warning. What do you mean?

EDIT: Are you talking about “(2/5) Warn about old perl modules”? If so, that just means it is running a hook that warns you about old perl modules. That isn’t a warning.

Okay, I edited the post to make that a bit more clear now. And yes from your edit that was the warning I was referring to. Is this kind of in the same warning as the one where when I update a new kernel and it says something along the lines of warn user to reboot, so essentially it’s not so much a warning as just a suggestion type of thing?

Not at all. It is running a post transaction hook called detect-old-perl-modules. The job of that hook is to warn you if you have old perl modules. That message is letting you know it is running that hook and doing it’s job. It quite literally isn’t a warning.

If there were warnings, they would print after that.

1 Like

Ah very well, that makes a lot more sense now to me, thanks again as always for your input and knowledge, really really appreciate it! :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.