無法安裝fastboot 更新 add-apt-repository

sudo apt-get install android-tools-fastboot

root@my-pc:~/$ sudo apt-get install android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package android-tools-fastboot

參考一下 From Ubuntu wiki’s instructions
有一些步驟

Add PPAs (pre Trusty only)
The Phablet Tools PPA provides additional tools needed to install Ubuntu for devices . Tools are provided for installation on Ubuntu Desktop starting with 12.04 Precise.

You do not need to add the PPAs for Ubuntu Desktop 14.04 Trusty because the tools are available in the standard Ubuntu Universe archive component.

On your computer, press Ctrl+Alt+T to start a terminal.

Add the Phablet Tools PPA as follows:
$ sudo add-apt-repository ppa:phablet-team/tools

On Ubuntu 12.04, you also must add the Ubuntu SDK Release PPA:
$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa

Update your system to use the latest packages:
$ sudo apt-get update

然後再作一次

$ sudo apt-get install android-tools-fastboot

發表迴響