You are not logged in.

#1 2021-03-12 22:23:14

mb720
Member
Registered: 2020-01-03
Posts: 12

[Solved] Meaning of "Updating module dependencies..."

When updating with pacman, it prints the line

Updating module dependencies...

I'm curious what the term "module" refers to. I assume it's the packages that have their dependencies updated. But to me, "module" also suggests kernel modules.

What does pacman do when it says "Updating module dependencies..."?

Last edited by mb720 (2021-04-08 17:53:48)

Offline

#2 2021-03-12 22:55:44

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: [Solved] Meaning of "Updating module dependencies..."

running depmod

Offline

#3 2021-03-14 21:00:00

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Meaning of "Updating module dependencies..."

mb720 wrote:

I'm curious what the term "module" refers to. I assume it's the packages that have their dependencies updated. But to me, "module" also suggests kernel modules.

$ grep -R 'Updating module dependencies' /usr/share/libalpm/
/usr/share/libalpm/hooks/60-depmod.hook:Description = Updating module dependencies...
$ cat /usr/share/libalpm/hooks/60-depmod.hook 
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/
Target = !usr/lib/modules/*/?*

[Action]
Description = Updating module dependencies...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/depmod
NeedsTargets

Your presumption was correct, it is indeed referring to kernel modules. wink


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB