Ubuntu – Trying to install android-file-transfer Ubuntu 18.04 Bionic

package-managementppasoftware installation

I followed the procedure explained in the main PPA page:

sudo add-apt-repository ppa:samoilov-lex/aftl-stable
sudo apt-get update
sudo apt-get install android-file-transfer

and I received this message after use:

sudo apt-get install android-file-transfer

E: Unable to locate package android-file-transfer

Best Answer

There is a problem with the packaging of the PPA for Bionic. You can instead use Artful PPA to install Android File Transfer on Ubuntu 18.04. (Same version, 3.2-1 as of the time of writing)

First add the PPA to your sources:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0BB4A1B2FA1A38EB
sudo add-apt-repository "deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu artful main"

Make sure to run a sudo apt update to load the new packages, then install android-file-transfer the usual way:

sudo apt install android-file-transfer
Related Question