I was trying to get the Python Owncloud CLI package to work on Wheezy. It requires libocsync0 which is available in unstable but it has many depends that would push the box further into unstable than I would of liked (samba and sftp plugins require unstable versions of samba, ssh, libc6, etc.).
To get libocsync working on wheezy, I did the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# Add unstable repository to APT cat << EOF > /etc/apt/sources.list.d/unstable.list deb http://ftp.uk.debian.org/debian/ unstable main contrib non-free deb-src http://ftp.uk.debian.org/debian/ unstable main contrib non-free EOF # Pin unstable low so it isn't default cat << EOF > /etc/apt/preferences.d/unstable.pref Package: * Pin: release a=unstable Pin-Priority: 400 EOF # Download source files to /usr/src cd /usr/src && apt-get update && apt-get source ocsync # Get build depends # (If you note down what packages are installed NEW here, you can manually remove them afterwards) apt-get build-dep ocsync # Remove unstable repository rm -f /etc/apt/sources.list.d/unstable.list /etc/apt/preferences.d/unstable.pref && apt-get update # Change to the new ocsync source directory, in my case it was cd /usr/src/ocsync-0.90.4 # run through compile (instructions at http://www.debian.org/doc/manuals/maint-guide/build.en.html ) debian/rules clean dpkg-source -b ./ debian/rules build fakeroot debian/rules binary # .deb files are now in /usr/src ls -la /usr/src # install required package dpkg -i libocsync0_0.90.4-1_amd64.deb |
Hi, could you publish the compiled .deb of libocsync0 for Debian Wheezy or send it by mail?