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.
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.
FS#72794 - pacman -Ql somefile should give the Qo as hint to the user.
Attached to Project:
Pacman
Opened by soloturn (soloturn) - Saturday, 20 November 2021, 01:46 GMT
Last edited by Jonas Witschel (diabonas) - Saturday, 20 November 2021, 09:10 GMT
Opened by soloturn (soloturn) - Saturday, 20 November 2021, 01:46 GMT
Last edited by Jonas Witschel (diabonas) - Saturday, 20 November 2021, 09:10 GMT
|
DetailsDescription:
extend the error message in case its a file, so pacman -Qo <filname> is hinted as well. see a diff below. let me set the priority a little higher, as the change is 5 minutes. > git diff diff --git a/src/pacman/query.c b/src/pacman/query.c index e3e7d844..00534ad0 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -493,7 +493,7 @@ int pacman_query(alpm_list_t *targets) if(!config->op_q_isfile && access(strname, R_OK) == 0) { pm_printf(ALPM_LOG_WARNING, _("'%s' is a file, you might want to use %s.\n"), - strname, "-p/--file"); + strname, "-p/--file, -Qo"); } } } |
This task depends upon
Comment by Jonas Witschel (diabonas) -
Saturday, 20 November 2021, 09:10 GMT
Please submit patches for pacman to the pacman-dev@lists.archlinux.org mailing list.