FS#52262 - [pacman] Failed to load preset: `/etc/mkinitcpio.d/%PKGBASE%.preset'

Attached to Project: Arch Linux
Opened by John (gee) - Saturday, 24 December 2016, 23:05 GMT
Last edited by Allan McRae (Allan) - Sunday, 25 December 2016, 00:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This issue may not be in pacman but since I do not know where it felt the best package to pick...

Since today (or maybe a bit before if no hooks were started in the past few days), when I install a package with a hook, I get this failure:

(1/3) Updating %PKGBASE% initcpios
/usr/bin/mkinitcpio: line 271: /etc/mkinitcpio.d/%PKGBASE%.preset: No such file or directory
==> ERROR: Failed to load preset: `/etc/mkinitcpio.d/%PKGBASE%.preset'

Additional info:
* package version(s)
mkinitcpio is v22, but it's a month old so unlikely to be it.
pacman is even older at v5.0.1-4
Everything else is up to date from testing.
* config and/or log files etc.


Steps to reproduce:
pacman -S btrfs-progs
or
pacman -S mkinitcpio
etc.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 25 December 2016, 00:00 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Saturday, 24 December 2016, 23:42 GMT
What kernel do you have installed?
Comment by John (gee) - Saturday, 24 December 2016, 23:45 GMT
linux 4.9.

Reinstalling it did the trick, so I guess something went wrong then.

Thank you!

Loading...