Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
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.

Loading...