Re: I know of $repo, is there a $arch too?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 14, 2009 at 12:51 PM, Xavier <shiningxc@xxxxxxxxx> wrote:
> On Mon, Dec 14, 2009 at 11:36 AM, Allan McRae <allan@xxxxxxxxxxxxx> 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

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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux