Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78657 - [vim-runtime] vimdoc hook requires vim
Attached to Project:
Arch Linux
Opened by Roland Ruckerbauer (ruabmbua) - Tuesday, 30 May 2023, 19:45 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 October 2023, 21:04 GMT
Opened by Roland Ruckerbauer (ruabmbua) - Tuesday, 30 May 2023, 19:45 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 October 2023, 21:04 GMT
|
DetailsDescription:
I discovered, that the pacman hook /usr/share/libalpm/hooks/vimdoc.hook included in vim-runtime depends on the /usr/bin/vim binary. This is a problem, since vim is not a requirement for the vim-runtime package, but the other way around. When a user uninstalls vim, but not vim-runtime, so that only vim-runtime is installed (there may be other ways when this happens), the pacman hook fails to execute, and generates an error e.g. on pacman -Syu. Here is an exempt from the log: ``` (15/15) Updating Vim help tags... Konnte execv nicht aufrufen (Datei oder Verzeichnis nicht gefunden) Fehler: Befehl konnte nicht korrekt ausgeführt werden ``` Additional info: * 9.0.1572-1 (probably irrelevant) Steps to reproduce: * Install only vim-runtime * Upgrade a package that triggers the /usr/share/libalpm/hooks/vimdoc.hook hook |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 08 October 2023, 21:04 GMT
Reason for closing: Fixed
Additional comments about closing: vim 9.0.2002-1
Sunday, 08 October 2023, 21:04 GMT
Reason for closing: Fixed
Additional comments about closing: vim 9.0.2002-1

It's worth noting errors in pacman hooks are non-fatal. Move the hook to vim?

<this was a comment on the wrong issue>