logo


Gentoo Autounmask Loop Bug

I noticed that even upgrading to latest version of autounmask (0.21 on my portage tree) I got the same loop bug of the previous versions.

Exactly like for the previous version the problem regards an infinite loop generating when unmasking a package and it’s caused by not understanding the PortageXS function getArch(). To avoid the problem and using this wonderful tool without PortageXS it’s possible to manually set the arch on the bin file.

Just open it with your favorite editor as Root
su
vim /usr/bin/autounmask

Then find this line
my $arch = $pxs->getArch();
comment it and add this other
my $arch = 'amd64';
obviously replacing amd64 with your arch.

  • Hav0c

    You can update PortageXs instead of doing that

  • Hav0c

    You can update PortageXs instead of doing that

  • http://openid.linuxfeed.org/andreaolivato Andrea Olivato

    Yep you’re right, I was just looking for an other way :)

  • http://openid.linuxfeed.org/andreaolivato Andrea Olivato

    Yep you’re right, I was just looking for an other way :)