How to install gcsfuse on Ubuntu 22.04 (jammy)
If you try to install gcsfuse
on Ubuntu 22.04, you will face two issues. First, the signature can’t be verified due to the new method of managing APT keys. Secondly, the gcsfuse
repo does not have packages for Ubuntu 22.04 even 5 months after its release:
Err:10 http://packages.cloud.google.com/apt gcsfuse-jammy Release
404 Not Found [IP: 64.233.161.101 80]
You can work around both issues by force-installing the bionic
packages which appear to work fine for me.
export GCSFUSE_REPO=gcsfuse-bionic
echo "deb [signed-by=/usr/share/keyrings/gcsfuse.gpg] http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
wget -qO- https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor --yes --output /usr/share/keyrings/gcsfuse.gpg