Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#53138 - ambiguous error message: error: command failed to execute properly
|
DetailsLong story short, this is the output from today:
``` :: Synchronizing package databases... (...) :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (2) Old Version New Version Net Change Download Size extra/screen 4.5.0-2 4.5.1-1 -0.13 MiB 0.40 MiB community/youtube-dl 2017.02.24-1 2017.02.28-1 0.05 MiB 1.79 MiB Total Download Size: 2.20 MiB Total Installed Size: 11.22 MiB Net Upgrade Size: -0.08 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... screen-4.5.1-1-x86_64 412.8 KiB 270K/s 00:02 [#############################################################################] 100% youtube-dl-2017.02.28-1-any 1836.9 KiB 557K/s 00:03 [#############################################################################] 100% (2/2) checking keys in keyring [#############################################################################] 100% (2/2) checking package integrity [#############################################################################] 100% (2/2) loading package files [#############################################################################] 100% (2/2) checking for file conflicts [#############################################################################] 100% (2/2) checking available disk space [#############################################################################] 100% :: Running pre-transaction hooks... (1/1) Removing old entries from the info directory file... :: Processing package changes... (1/2) upgrading screen [#############################################################################] 100% (2/2) upgrading youtube-dl [#############################################################################] 100% :: Running post-transaction hooks... (1/3) Creating temporary files... (2/3) Arming ConditionNeedsUpdate... (3/3) Updating the info directory file... error: command failed to execute correctly ``` That was during post-transaction hooks so generally everything seems to be in order. But the error message itself is very ambiguous. Can't really what package this failed post-transaction hook belonged to. Error message could be more informative. E.g. "youtube-dl: error: command failed to execute correctly" would be much better. |
This task depends upon
Should we exceptionally show the stdin for hooks that specify NeedsTargets, since that cannot be looked up in the hook? I'm not sure what the UI for that would look like...
Anyway, any hook can implement this within the command that is run.
In the middle of creating the fallback initramfs image it just quit abruptly.
Maybe related:
My journal shows around this time (seconds are not displayed in /var/log/pacman.log):
dbus-daemon[373]: [system] Reloaded configuration
dbus-daemon[373]: [system] Reloaded configuration
dbus-daemon[373]: [system] Reloaded configuration
dbus-daemon[373]: [system] Reloaded configuration
I wonder what caused this error, I ran 'mkinitcpio -p linux' right after pacman finished the other hooks and it ran fine.