Google Drive on Debian Sid.

I don’t like using services like Google Drive but some application on my smartphone loveĀ it.
So I decide to access to Google Drive using my Debian Sid.

The best way is google-drive-ocamlfuse but google-drive-ocamlfuse have no Debian package in the official repository.

Find a Debian package for google-drive-ocamlfuse.

Alessandro Strada have make a launchpad repository for Ubuntu.
Unfortunatly, this repository doe not support all Ubuntu’s versions, in particular Zesty.
So we can’t use the command add-apt-repository ppa:alessandro-strada/ppa because when, we will make an apt update, we will receive an error like.

Ign:3 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu zesty InRelease
Err:4 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu zesty Release
404 Not Found

On the Alessandro’s repository, we see the last version is for Yakkety.

We install the Yakkety’s repository from Alessandro add-apt-repository ‘deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu yakkety main’ and we update your system (apt update).
But we forget to add the Alessandro’s public key in your apt-key.

Err:1 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu yakkety InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AD5F235DF639B041
Reading package lists… Done
W: GPG error: http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu yakkety InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AD5F235DF639B041
E: The repository ‘http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu yakkety InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Add the Alessandro’s public key in your apt-key with the following command. The key is the last 8 characters of the string after NO_PUBKEY in the error message.
apt-key adv –keyserver keyserver.ubuntu.com –recv-keys F639B041

Now apt update work.

Install.

apt install google-drive-ocamlfuse

Configure google-drive-ocamlfuse.

use google-drive-ocamlfuse without arguments and follow the instruction of the Google website.

Use it.

The following command able you to mount your Google Drive “disk”.
google-drive-ocamlfuse /home/backfromhell/Documents/Google\ Drive/

Leave a Reply

Your email address will not be published. Required fields are marked *