FS#49111 - [textinfo] "error: command failed to execute correctly" for posttransaction pacman hook
Attached to Project:
Arch Linux
Opened by James Barnett (barnett) - Wednesday, 27 April 2016, 13:48 GMT
Last edited by Allan McRae (Allan) - Wednesday, 27 April 2016, 14:32 GMT
Opened by James Barnett (barnett) - Wednesday, 27 April 2016, 13:48 GMT
Last edited by Allan McRae (Allan) - Wednesday, 27 April 2016, 14:32 GMT
|
Details
Description:
When removing some packages I get the following error: $ sudo pacman -R nano checking dependencies... Packages (1) nano-2.5.3-1 Total Removed Size: 2.14 MiB :: Do you want to remove these packages? [Y/n] y :: Running pre-transaction hooks... (1/1) snapper pre snapshot :: Processing package changes... (1/1) removing nano [######################################################################] 100% :: Running post-transaction hooks... (1/2) Removing old entries from the info directory file... error: command failed to execute correctly (2/2) snapper post snapshot Additional info: * texinfo 6.1-2 Steps to reproduce: sudo pacman -S nano sudo pacman -R nano |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 27 April 2016, 14:32 GMT
Reason for closing: Fixed
Additional comments about closing: -3
Wednesday, 27 April 2016, 14:32 GMT
Reason for closing: Fixed
Additional comments about closing: -3
Comment by
James Barnett (barnett) -
Wednesday, 27 April 2016, 14:24 GMT
I see the issue. These hooks were pushed before the install
scripts were updated. So the install script already runs
install-info and then the hook runs it again.
Comment by Allan McRae (Allan) -
Wednesday, 27 April 2016, 14:30 GMT
Not the issue. The hook runs post transaction when the info file
is already removed from the filesystem. It needs to run pre
transaction.