Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Installing gentoo fails on chroot!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sun Jan 15, 2017 3:30 pm    Post subject: [SOLVED] Installing gentoo fails on chroot!!! Reply with quote

Hello there,
I am a bit surprise since I always have installed gentoo without problem for more than 15 years!

Now, when I start a usb stick (with gentoo 64bit minimal or live), when I hit the chroot step, I got this error:

Code:

chroot /mnt/gentoo /bin/bash

bash: eval: line 24: syntax error near unexpected token `newline`
bash: eval: line 24: `Usage: lesspipe <file>`


Reading around I have seen that this error coould be caused by a wrong image (not in my case) or
the problem are the < and >

But I really I don't know how to figure it out!
Someone knows this problem?

Thanks
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/


Last edited by DevOne on Mon Jan 23, 2017 7:43 am; edited 2 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jan 15, 2017 5:20 pm    Post subject: Re: Installing gentoo fails on chroot!!! Reply with quote

[quote="DevOne"]
Code:
bash: eval: line 24: syntax error near unexpected token `newline`
bash: eva;: line 24: `Usage: lesspipe <file>`

DevOne ... that looks to me like a typo in the bashrc, bash_completion, or env, 'eva;' rather than 'eval'.

best ... khay
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sun Jan 15, 2017 5:24 pm    Post subject: Re: Installing gentoo fails on chroot!!! Reply with quote

[quote="khayyam"]
DevOne wrote:
Code:
bash: eval: line 24: syntax error near unexpected token `newline`
bash: eva;: line 24: `Usage: lesspipe <file>`

DevOne ... that looks to me like a typo in the bashrc, bash_completion, or env, 'eva;' rather than 'eval'.

best ... khay


I made a type copying the message! Now it is fine in the thread
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jan 15, 2017 5:38 pm    Post subject: Re: Installing gentoo fails on chroot!!! Reply with quote

[quote="DevOne"]
khayyam wrote:
DevOne wrote:
Code:
bash: eval: line 24: syntax error near unexpected token `newline`
bash: eva;: line 24: `Usage: lesspipe <file>`

DevOne ... that looks to me like a typo in the bashrc, bash_completion, or env, 'eva;' rather than 'eval'.

I made a type copying the message! Now it is fine in the thread

DevOne ... I see. Ok, well try the following:

Code:
# env -i chroot /mnt/gentoo /bin/bash -l

... that would at least rule out something in the env of the bootdisk causing it. You could also pass '--noprofile' to bash (which would cause it to not process startup files), but that will cause the shell to have little in the way of an env (but would provide a clue as to the cause).

best ... khay
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 16, 2017 7:52 pm    Post subject: Reply with quote

Same behaviour. ...
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Jan 16, 2017 8:52 pm    Post subject: Reply with quote

DevOne wrote:
Same behaviour. ...

DevOne ... well, those were suggested simply to try and get a handle on the problem. I'm surprised '--noprofile' provided the same behaviour as that would suggest its not the bashrc. Anyhow, you should probably skip trying to solve the problem and use sysresccd.

best ... khay
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sat Jan 21, 2017 2:18 pm    Post subject: Reply with quote

Ok I will try using sysrescue...but is this a strange behaviour, isn't it?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Jan 21, 2017 5:28 pm    Post subject: Reply with quote

DevOne wrote:
Ok I will try using sysrescue...but is this a strange behaviour, isn't it?

DevOne ... yeah, not something I've seen myself (though its been a long time since I used the minimal CD), I haven't seen another report of someone with similar issues either.

best ... khay
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 7:42 am    Post subject: Reply with quote

Ok,
anyway I fixed it using sysrescue!

Just to be sure that if someone has the same problem, can read this.

Bye
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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