You are not logged in.
Pages: 1
Hello guys.On a new arch installation on my laptop i noticed that after trying to remove some packages i get this error:
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
error: command failed to execute correctlyIt seems to appear at random packages or times(cant be sure if its package fault or something in the system) and i am not able to find anything in google about the particular hook.pacman log seems to be "clean" and even transactions where the error appeared are logged as completed.Any ideas what it might be?
Offline
The error is generated by /usr/share/libalpm/hooks/texinfo-remove.hook
[Trigger]
Type = File
Operation = Remove
Target = usr/share/info/*
[Action]
Description = Removing old entries from the info directory file...
When = PreTransaction
Exec = /bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done'
NeedsTargetsNot sure if that helps you troubleshoot.
Offline
And here's the culprit
NoExtract = usr/share/info/*Thanks a lot!!!
Offline
Hmm, that sounds like it should be a bug, maybe NoExtract files shouldn't trigger hooks.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Or maybe the texinfo hook should hide the return value, it will only represent the success for the last file anyways.
while read -r f; do ... ... ; done; exit 0Last edited by progandy (2017-11-30 03:07:04)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Pages: 1