On Fri, Jul 23, 2004, Alexander Belck wrote: Alex,
> I'm trying to upgrade from openpkg-2.0 to release 2.1. > > Now I issue openpkg-tools build -Ua that realy sugest to upgrade all > installed packages with 2.1 versions, but the shell script produced > allways use [rpm --force] > > Is this constant use of --force normal ? > It is really needed when a package was rebuild while retaining it's version, i.e. when a underlying library was changed. A force or at least a "--oldpackage" is needed when "downgrading" from CURRENT to a release (rpm considers -20041234 a higher number than any release, say -2.1.0) I don't remember why and if force is always used and whether "openpkg build" is smart enough to decide between no option, oldpackage and force. The latter always works. In your particular case enforcment is overkill and you can safely remove all --force options. A simple filter will do the job, that's the power of Unix, isn't it? $ openpkg build -Ua | sed -e 's;--force;;g' | sh -- [EMAIL PROTECTED], Cable & Wireless ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
