0

I'm trying to follow the instructions to flash my bq phone when I get the following error:

$ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image recovery.img
unknown flag `recovery-image'

I'm guessing this is because the the ubuntu-device-flash package on ubuntu 14.04 is outdated? How do I install the latest version?

Merlijn Sebrechts
  • 7,394
  • 1
  • 42
  • 70

2 Answers2

2

You can install the latest ubuntu-device-flash using the ppa:

 sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
 sudo add-apt-repository ppa:phablet-team/tools 
 sudo apt-get update; sudo apt-get install ubuntu-device-flash

When trying to update, the ubuntu-device-flash might be held back. If this is the case, you can upgrade that package using sudo apt-get dist-upgrade

Merlijn Sebrechts
  • 7,394
  • 1
  • 42
  • 70
1

It's best to do sudo apt-get update after each request for repository. Try the following I Galgalesh, method but did sudo apt-get update after the repository request. See Below:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update 
sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get update
sudo apt-get install ubuntu-device-flash && sudo apt-get update
MrJ
  • 9
  • 1