Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#59595 - failed to initialise alpm library: misleading error

Attached to Project: Pacman
Opened by morganamilo (morganamilo) - Friday, 10 August 2018, 00:41 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 10 November 2019, 00:13 GMT
Task Type Bug Report
Category Output
Status Unassigned
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 5.1.1
Due in Version 6.0.0
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Summary and Info:

When failing to initialise alpm, pacman seems to always generate the message:

error: failed to initialise alpm library
(could not find or read directory: <dbpath>)

This happens even if the dbpath is unrelated to the error

Steps to Reproduce:

pacman --root /does/not/exist --dbpath /var/lib/pacman/
This task depends upon