Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I encountered an error while trying to install Ubuntu Touch on my Nexus 4.

After the following command:

phablet-flash (cdimage-touch|cdimage-legacy|ubuntu-system|community) -b

I received an error saying: syntax error near unexpected token 'cdimage-touch'

Anyone know where I'm going wrong?


share|improve this question

The line phablet-flash (cdimage-touch|cdimage-legacy|ubuntu-system|community) -b actually means chose one of the commands in brackets.

Your correct command is likely to be:

phablet-flash cdimage-touch -b
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.