[arch-dev-public] Use of force=y

Dan McGee dpmcgee at gmail.com
Sat Nov 24 11:09:45 EST 2007


On Nov 24, 2007 11:01 AM, Jürgen Hötzel <juergen at hoetzel.info> wrote:
>
> On Sat, Nov 24, 2007 at 10:40:43AM -0500, Dan McGee wrote:
> > On Nov 24, 2007 10:02 AM, Jürgen Hötzel <juergen at hoetzel.info> wrote:
> > > I need to use force=y for an update. How long do week keep force=y in
> > > packages: If pacman uses an outdated mirror, this will lead to downgrade.
> >
> > 'force' goes in the options array, not on its own.
>
> "Should" go to options. But force=y also works with "updatesync-many". "force=y" style is actually more frequently used:
>
> # find core extra -maxdepth 3 -name PKGBUILD -print0|xargs -0 egrep '^[[:space:]]*options=.*force'|wc -l
> 16
>
> # find core extra -maxdepth 3 -name PKGBUILD -print0|xargs -0 egrep '^[[:space:]]*force='|wc -l
> 27

Yeah, sure. But it is also the older way (thus the reason you probably
see it more), and updatesync-many is a POS tool that should be
rewritten to use repo-add. Of course, if anyone else wants to take
this task off my plate I'd appreciate it...

-Dan


More information about the arch-dev-public mailing list