Portage Not Functioning

Talk about anything related to Gentoox or Gentoo.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Tsuroerusu
Novice
Posts: 20
Joined: Tue Jul 20, 2004 12:53 am
Location: The TJ Artificial Intelligence Lab (My Room :P )
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Portage Not Functioning

Post by Tsuroerusu » Sat Nov 27, 2004 5:56 pm

I've just done a fresh installation (FTP method) of Gentoox Pro 1.4, and I have set the make.profile sym link to: /usr/portage/profiles/default-linux/x86/2004.0

But when I try either env-update or portage itself, I get this error:

Code: Select all

!!! 'str' object has no attribute
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
I have tryed almost anything I could come up with, that includes emerge sync, gives the same error. I've been messing with this for over 10 hours, I seriously need help on this.

Taily
Adept
Posts: 63
Joined: Tue Jun 15, 2004 11:46 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Post by Taily » Sat Nov 27, 2004 11:30 pm

you should change /usr/portage/profiles/default-linux/x86/2004.0
to
/usr/portage/profiles/default-linux/x86/xbox

and then try
emerge portage --nodeps --oneshot

If that don't work do this

cd /etc
unlink make.profile
ln -s /usr/portage/profiles/xbox-x86-2004.0 make.profile
emerge portage --nodeps --oneshot
unlink make.profile
ln -s /usr/portage/profiles/default-linux/x86/xbox make.profile



The reason it doesn't work is because you are using a new profile with an old portage version that doesn't support it :)

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest