[arch-general] pacman optional package messages on update
Recently there have been some (slightly) confusing output lines running pacman -Syu. This evening I see: New optional dependencies for logrotate cron: scheduled log rotation However: [root@lapmike3 ~]# pacman -Q cron error: package 'cron' was not found But of course: [root@lapmike3 ~]# pacman -Q cronie cronie 1.4.8-3 So presumably I do not need to try to pacman -S cron !! Similarly the other day there was an optional dependency of python3 when in fact presumably the package name is "python" but happens to be version 3? (which for me was already installed) Just a point for clarification - especially for new users who may be a bit confused by the output and take inappropriate action as a result! -- mike c
On Tue, 20 Nov 2012 20:00:28 +0000 mike cloaked <mike.cloaked@gmail.com> wrote:
Recently there have been some (slightly) confusing output lines running pacman -Syu.
This evening I see:
New optional dependencies for logrotate cron: scheduled log rotation
However: [root@lapmike3 ~]# pacman -Q cron error: package 'cron' was not found
But of course: [root@lapmike3 ~]# pacman -Q cronie cronie 1.4.8-3
So presumably I do not need to try to pacman -S cron !!
Similarly the other day there was an optional dependency of python3 when in fact presumably the package name is "python" but happens to be version 3? (which for me was already installed)
Just a point for clarification - especially for new users who may be a bit confused by the output and take inappropriate action as a result!
pacman -Qi cronie ... Provides: cron ... So, cron is a 'generic' name for dcron, fcron, cronie, ... cronie is simply arch's default. Calling pacman -S cron is ambiguous since there are multiple packages in the repo providing 'cron'. Similarly, exim and postfix both provide smtp-server. HTH, -- Leonid Isaev GnuPG key: 0x164B5A6D Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
On Tue, Nov 20, 2012 at 10:12 PM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
Similarly, exim and postfix both provide smtp-server
Seems the correct way is to use -Qs switch, not -Q $ pacman -Qs smtp-server local/exim 4.80.1-1 Message Transfer Agent $ pacman -Q smtp-server error: package 'smtp-server' was not found
participants (3)
-
Karol Blazewicz
-
Leonid Isaev
-
mike cloaked