On Mon, Dec 14, 2009 at 12:51 PM, Xavier <shiningxc@gmail.com> wrote:
On Mon, Dec 14, 2009 at 11:36 AM, Allan McRae <allan@archlinux.org> wrote:
Magnus Therning wrote:
This is the second time I'm being stupid when modifying my mirrorlist and I by accident put in a i686 repo on a 64-bit machine. I can report that running 32-bit sudo on a 64-bit machine is fraught with problems :-)
So, just to work around my stupidity I was wondering if it is possible to put something like $arch in the mirrorlist, so I can stop writing out i686/x86_64? That would at least take care of this problem for the system repos.
Not yet. here will be in pacman-3.4: http://projects.archlinux.org/pacman.git/commit/?id=65c1f06b
And the commit just next to it will check if the architecture of the package you install is correct, if you set the new Architecture option in pacman.conf . http://projects.archlinux.org/pacman.git/commit/?id=5b27e78ba015a48baf2d3c86...
Ah, great, so that means I just might have pacman save me from my stupidity in the future :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe