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) - Wednesday, 30 December 2020, 02:15 GMT
Task Type Bug Report
Category Output
Status Closed
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 100%
Votes 0
Private No

Details

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

Closed by  Eli Schwartz (eschwartz)
Wednesday, 30 December 2020, 02:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://git.archlinux.org/pacman.git/com mit/?id=424129e8d1e91987a9799a49391f1271 b069c5cf

Loading...