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

Jürgen Hötzel juergen at hoetzel.info
Sat Nov 24 11:01:01 EST 2007


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

Jürgen 







More information about the arch-dev-public mailing list