FS#65234 - pacman should show pacman lock file location when locked
Attached to Project:
Pacman
Opened by Daniel YC Lin (dlin) - Tuesday, 21 January 2020, 23:55 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 22 January 2020, 00:08 GMT
Opened by Daniel YC Lin (dlin) - Tuesday, 21 January 2020, 23:55 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 22 January 2020, 00:08 GMT
|
Details
Description:
pacman should show pacman lock file location when locked. $ sudo pacman -Syu :( :: Synchronizing package databases... error: failed to update core (unable to lock database) error: failed to update extra (unable to lock database) error: failed to update community (unable to lock database) error: failed to synchronize all databases I don't know what's to do, if I can NOT access the internet. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Downloading fresh package database (-y, --refresh) will not show the information, as show on the original report above. However not updating the package database will:
$ sudo pacman -Su
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
(and again, still think this file should live in `/run/lock`)
[1] https://bugs.archlinux.org/task/67847