[pacman-dev] [PATCH] Warn when synchronizing without upgrading (-Sy)
Thomas Bahn
Thomas-Bahn at gmx.net
Wed Nov 17 22:37:37 CET 2010
Am Mittwoch 17 November 2010, 22:20:08 schrieb Evangelos Foutras:
> On Wed, Nov 17, 2010 at 11:00 PM, Thomas Bahn <Thomas-Bahn at gmx.net> wrote:
> > this patch introduces a question on every repository sync if a am right.
> > So that patch also asks if you type 'pacman -Syu' ? If it is i would not
> > vote for this patch, because it's another question you must acknoweledge
> > every system update.
>
> Nope, it only asks you if the -u switch is absent. In that case, the
> question is asked only once per sync operation.
>
ah, i didn't read the source carefully enough. ;) The meaning of config-
>op_s_upgrade is other than i assumed.
> > If it only asks on 'pacman -Sy <package>' then its ok for me. Another
> > suggestion, only print this warning and don't ask. An arch user would
> > read the output of pacman and its package pre/post-scripts and is
> > warned.
>
> One problem I see with only printing a warning is that the user
> doesn't have the option not to synchronize at this point and just
> rerun pacman without the -y switch to install their package.
You are right, but as Dan McGee mentioned before it implies also that some
'special cases' even can lead to partial updates without the warning.
The quote from his email:
> This also doesn't help anyone that does an -Syu, cancels, and then later -S
<anything>.
But i am not sure if we should catch such actions?
More information about the pacman-dev
mailing list