Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Erro estranho em qulquer comando emerge.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
St Jimmy 2k
n00b
n00b


Joined: 29 Oct 2006
Posts: 5

PostPosted: Fri Nov 10, 2006 10:48 pm    Post subject: Erro estranho em qulquer comando emerge. Reply with quote

Oi pessoal tudo beleza? Estou instalando o Gentoo via terminal, na minha distro instalada (Kurumin Linux). Sigo rigorosamente o Handbook, sem exceções. Dei o primeiro emerge --sync para poder ir compilando os meus pacotes. Um erro que não me lembro qual apareceu, mas eu ignorei-o. Fui instalar o eix então, e recebi o seguinte erro:

Quote:

#emerge eix
Calculating dependencies... done!
>>> Emerging (1 of 1) app-portage/eix-0.6.4 to /
/usr/lib/portage/bin/ebuild.sh: line 48: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 53: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 60: set_colors: command not found
/usr/lib/portage/bin/ebuild.sh: line 269: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1421: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1448: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1471: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 727: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 734: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 740: hasq: command not found
>>> checking ebuild checksums ; - )
>>> checking auxfile checksums ; - )
>>> checking miscfile checksums ; - )
>>> checking eix-0.6.4.tar.bz2 ; - )
/usr/lib/portage/bin/ebuild.sh: line 48: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 53: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 60: set_colors: command not found
/usr/lib/portage/bin/ebuild.sh: line 269: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1421: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1448: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1471: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1624: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1625: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1626: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 22: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 48: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 53: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 60: set_colors: command not found
/usr/lib/portage/bin/ebuild.sh: line 269: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1342: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1343: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1349: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1368: /dev/null: Permissão negada
/usr/lib/portage/bin/ebuild.sh: line 1421: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1448: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1460: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 1471: hasq: command not found
/usr/lib/portage/bin/ebuild.sh: line 710: vecho: command not found
/usr/lib/portage/bin/ebuild.sh: line 358: vecho: command not found
touch: configurando data de `/var/tmp/portage/eix-0.6.4/.unpacked': Função não i mplementada

!!! ERROR: app-portage/eix-0.6.4 failed.
Call stack:
/usr/lib/portage/bin/ebuild.sh: line 290: ((: j <= : syntax error: operand expe cted (error token is " ")
/usr/lib/portage/bin/ebuild.sh: line 294: p -= : syntax error: operand expected (error token is " ")
ebuild.sh, line 1539: Called dyn_unpack
ebuild.sh, line 712: Called die

!!! IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/eix-0.6.4
!!! If you need support, post the topmost build error, and the call stack if rel evant.


Eu me lembro que ao fazer o chroot, tive permissão negada para usar o /dev/null no comando "source /etc/profiles". Repetindo o comando tudo ocorre normal, mas essa não proibição me preocupa.
Percebi também que o erro ocorre com todos os pacotes que eu tento instalar, sem excessão. Como arrumar isso?

[]'s!

St Jimmy 2k!
Back to top
View user's profile Send private message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Wed Nov 15, 2006 12:33 am    Post subject: Reply with quote

Rapaz, pelo visto, o teu usuário portage está com problemas de permissão, ou nem mesmo existe..
Cheque se o usuário existe:
Code:
$ cat /etc/passwd|grep portage
portage:x:250:250:portage:/var/tmp/portage:/bin/false


E verifique também as permissões da pasta /var/tmp/portage com o comando:
Code:
$ ls -l /var/tmp/
drwxrwxr-x 356 portage      portage 12448 2006-11-14 20:00 portage


Tem que ser algo assim. Caso não seja, altere as permissões com chmod
A propósito, cheque também se o grupo portage existe:
Code:
$ cat /etc/group|grep portage
portage:x:250:portage,oandarilho01

A saída tem que ser parecida com essa.
Back to top
View user's profile Send private message
St Jimmy 2k
n00b
n00b


Joined: 29 Oct 2006
Posts: 5

PostPosted: Wed Nov 15, 2006 9:49 pm    Post subject: Reply with quote

Mas eu estou fazendo tudo isso como root, o único usuário disponível no Gentoo por enquanto. Mas vou tentar isso. Usei o espaço do Gentoo para instalar o Ubuntu, mas posso retirar mais 7GB do meu /home sem problemas.

[]'s!

St Jimmy 2k!
Back to top
View user's profile Send private message
atf
n00b
n00b


Joined: 08 Aug 2006
Posts: 15
Location: Rio de Janeiro

PostPosted: Wed Nov 15, 2006 11:29 pm    Post subject: Reply with quote

Uma tentativa válida. Às vezes, o próprio "portage" necessita de manutenção.
http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
_________________
atf
LinuxUser#142898
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum