Pacman

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.
Tasklist

FS#13821 - Pacman's msg could be less cryptic when unprivileged user attempts creating DB

Attached to Project: Pacman
Opened by Branko Vukelic (foxbunny) - Monday, 16 March 2009, 19:09 GMT
Last edited by Dan McGee (toofishes) - Sunday, 26 April 2009, 15:23 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Xavier (shining)
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.2.1
Due in Version 3.3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

Pacman v3.2.2 - libalpm v3.1.1

When attempting to create (register) a database as unprivileged user, Pacman is rather cryptic.

Maybe it could be possible for pacman to check if the user is privileged or not, and then report with an error message like "Could not register 'extra' database. You are not allowed to do that." insted of "Unexpected system error".

Could also be somewhat and somehow related to  FS#12148 .

Steps to Reproduce:

$ su
# mv /var/lib/pacman/sync/extra /anydir/extra <------- pretend the DB hasn't been registered yet (I might be wrong?)
# exit
$ pacman -Sy
error: could not register 'extra' database (unexpected system error)
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 26 April 2009, 15:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in git by 14230869e6a37526f8a1bdb1fb88f23309b10aef and 34e1413d756269dcd71a32dd5d2dbb263a943051
Comment by Branko Vukelic (foxbunny) - Monday, 16 March 2009, 19:10 GMT
Oooh, sorry, sorry, sorry! I selected a wrong version of Pacman when I reported. It might apply to the version 3.2.1 as well, but I'm actually using the one in the Summary (3.2.2)

Loading...