[arch-general] I know of $repo, is there a $arch too?

Xavier shiningxc at gmail.com
Mon Dec 14 07:51:50 EST 2009


On Mon, Dec 14, 2009 at 11:36 AM, Allan McRae <allan at 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=5b27e78ba015a48baf2d3c8687fdf3084781f9c9


More information about the arch-general mailing list