You are not logged in.
'-Syu' wants to install truecrypt-6.1a-2 from extras when I already have truecrypt-6.1a-100 installed and visible (-Qi). I version my builds starting from 'pkgrel=100' to prevent the upgrade process from installing what is already installed. '-Syu' is expected to produce:
warning: truecrypt: local (6.1a-100) is newer than extra ( 6.1a-2)
Instead, I must run '-Syu --ignore truecrypt' and receive:
warning: truecrypt: ignoring package upgrade (6.1a-100 => 6.1a-2)
I can deal with pacman warning me about installed packages being newer than what is available in the repos, but truecrypt - and truecrypt alone - wants to install if not set to be ignored. Are there other methods of flagging packages be prevent them from being overwritten?
Last edited by adamlau (2009-02-02 20:53:25)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Hrm... I'm wondering if Pacman is doing a string comparison rather than numerical. Try changing your pkgrel to 999 (or simply 3, for this case) and see if Pacman keeps complaining.
M*cr*s*ft: Who needs quality when you have marketing?
Offline
If you look at the Arch PKGBUILD, truecrypt has the 'force' option set. I don't know anything about truecrypt, but usually this means that the devs thought that it was imperative that this package gets upgraded.
Offline
'pkgrel=8' results in the same, unexpected behavior. Though now the behavior is expected once I examined the ABS PKGBUILD. skottish is spot on, {options=('force')}. Is there an available option to override {options=('force')} flagged packages from the repos?
Last edited by adamlau (2009-02-02 20:55:07)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Yes, --ignore, as adamlau has above.
Offline