will not boot- syntax error, line 28

Asked by scott on 2011-08-27

log onto Ubuntu 11.04 pick user, enter password, back to logon. Checked as far as i can and get this. -syntax error, line 28 .
ANY clue as to what iI have done, or how to fix? Still learning ubuntu, so any help is good.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdm Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2011-08-28
Last query:
2011-08-28
Last reply:
2011-08-27

What if you log in as someone else? Line 28 of what?

scott (thedskennedy) said : #2

I am the only person on it. As far as what line 28 idk, that is what it told me when i tried safe boot and ran diag.??? I messed it up getting adb set up and going. was working great untill i rebooted now just sends me back to log in!
 > To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #169343]: will not boot- syntax error, line 28
> Date: Sat, 27 Aug 2011 22:00:53 +0000
>
> Your question #169343 on sudo in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/169343
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What if you log in as someone else? Line 28 of what?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/169343
>
> You received this question notification because you asked the question.

Create a new user in root recovery mode, you can also boot to netroot and get fully upgraded.

scott (thedskennedy) said : #4

,bash: /home/scott/.profile: line 28: syntax error: unexpected end of file

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #169343]: will not boot- syntax error, line 28
> Date: Sat, 27 Aug 2011 22:45:51 +0000
>
> Your question #169343 on sudo in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/169343
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Create a new user in root recovery mode, you can also boot to netroot
> and get fully upgraded.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/169343/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/169343
>
> You received this question notification because you asked the question.

scott (thedskennedy) said : #5

Thanks actionparsnip, that solved my question.

If you rename that file in root recovery mode you will be able to login. I am assuming this is not solved. Once logged in, I can give you my vanilla .profile file and it should get rid of the error. If this is genuinely solved, let us know and we can all move on.

scott (thedskennedy) said : #7

solved. Thank You guys.