Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[portage]/bin/sh: bad interpreter: Permission denied(résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Wed Mar 30, 2005 7:30 pm    Post subject: [portage]/bin/sh: bad interpreter: Permission denied(résolu Reply with quote

Rebonsoir!! :D

Ce coup-ci j'ai un problème avec portage, dès que j'essaie d'emerger quoique ce soit, je reçois le message d'erreur suivant concernant l'ebuild concerné :
Code:
./configure: /bin/sh: bad interpreter: Permission denied


J'ai vu un post récent avec un problème similaire et ce que j'ai tenté n'a pas marché (ajouter un exec sur la ligne des partitions concernées dans le fstab)

Voilà ce que renvoient un
Code:
# ls -l /bin/sh
lrwxrwxrwx  1 root root 4 mar 30 17:13 /bin/sh -> bash

et
Code:
# ls -l /bin/bash
-rwxr-xr-x  1 root root 872908 mar 30 17:13 /bin/bash


Et ça m'a l'air convenable, donc je sais plus trop quoi faire :(

des suggestions? :roll:


Last edited by Adrien on Thu Mar 31, 2005 9:00 am; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Mar 30, 2005 7:38 pm    Post subject: Reply with quote

la partition sur laquelle tu compiles a le flag users ?

enfin bref, la solution je pense, est de rajouter l'option exec dans la ligne de la partition dans le fstab
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Wed Mar 30, 2005 7:43 pm    Post subject: Reply with quote

Ben non, c'est ce que je disais, j'ai tenté déjà avec exec, puisque j'ai vu un post récent:https://forums.gentoo.org/viewtopic-t-314894-highlight-interpreter.html

et ça ne change rien...
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Mar 30, 2005 7:47 pm    Post subject: Reply with quote

oups. j'avais pas vu ...

ya encore de la place sur la partoche ?

si tu fais :

Code:
# ebuild /chemin/paquet.ebuild unpack
# cd /chemin/workdir/
# ./configure


ca donne quoi ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Wed Mar 30, 2005 7:59 pm    Post subject: Reply with quote

Alors par exemple :) :
Code:
# ebuild /usr/portage/net-misc/dhcp/dhcp-3.0.1-r1.ebuild unpack

ça rlz: md5 ;) WORKDIR is up-to-date, keeping....
Code:
# cd /usr/portage/net-misc/dhcp/


...... :?

Bon tu vas rire kernel_sensei :P
J'en étais à l'étape ci-dessus et mon pied a malencontreusement touché le bouton reset, > hard reboot
Ca redémarre, je me logge, je fais emerge dhcp et....là ça compile, alors je vais voir! lol
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Wed Mar 30, 2005 8:08 pm    Post subject: Reply with quote

OK, pas très malin, t'avais raison, c'est bien grâce à la flag exec dans le fstab que ça fonctionne.
Seulement, j'avais oublié de rebooter pour que ça soit pris en compte, c'est pour ça qu'après le hard-reboot fortuit c'est reparti :wink: .....:oops:

Merci beacoup en tout cas! :P
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Mar 30, 2005 8:10 pm    Post subject: Reply with quote

Adrien wrote:
OK, pas très malin, t'avais raison, c'est bien grâce à la flag exec dans le fstab que ça fonctionne.
Seulement, j'avais oublié de rebooter pour que ça soit pris en compte, c'est pour ça qu'après le hard-reboot fortuit c'est reparti :wink: .....:oops:

Merci beacoup en tout cas! :P


remonter la partitions aurait suffit :roll: ... mais bon, si ton pied en a voulut ainsi :)
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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