Skip to content

Instantly share code, notes, and snippets.

@tobwen
Created March 7, 2019 19:30
Show Gist options
  • Save tobwen/c1fc1512458ce272aee2410e36cf1e21 to your computer and use it in GitHub Desktop.
Save tobwen/c1fc1512458ce272aee2410e36cf1e21 to your computer and use it in GitHub Desktop.
HOWTO: backport fuse3 for Debian Stretch
# backport libfuse3 from Debian 10
apt install -t stretch-backports equivs meson mk-build-deps
mkdir "$HOME/build/libfuse3/" && cd "$HOME/build/libfuse3/"
(
dget -x http://deb.debian.org/debian/pool/main/f/fuse3/fuse3_3.4.1-1.dsc; \
cd fuse3-3.4.1; \
mk-build-deps --install --remove --tool "apt -o Debug::pkgProblemResolver=yes --no-install-recommends -t stretch-backports" --root-cmd "sudo"; \
sudo dpkg --remove fuse3-build-deps; \
dch --local ~bpo9+ --distribution stretch-backports "Rebuild for stretch-backports (local only)."; \
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -j4; \
)
mkdir deb && mv *.*deb deb/
# install it
( cd deb; sudo dpki -i fuse3_3.4.1-1~bpo9+1_amd64.deb libfuse3-3_3.4.1-1~bpo9+1_amd64.deb libfuse3-dev_3.4.1-1~bpo9+1_amd64.deb; )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment