[pacman-dev] [PATCH] Warn when synchronizing without upgrading (-Sy)

Evangelos Foutras foutrelis at gmail.com
Wed Nov 17 22:20:08 CET 2010


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.

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


More information about the pacman-dev mailing list