SparkyLinux Forums

General => 0ther => Topic started by: paxmark1 on May 13, 2016, 01:35:15 AM

Title: SOLVED: unison 2.48 pain
Post by: paxmark1 on May 13, 2016, 01:35:15 AM
Unison 2.48 woes   The problem has nothing to do with Sparky or even much to do with Debian testiong, this is way upstream.   

Has anyone had any luck using dpkg or backports to get unison from stable or back-ports into a testing version of debian lately.  Yes I will read up on apt-pin, been awhile since I have used.

Unison 2.48-3 breaks "unison-all".  I was pleasantly surprised over a year ago to see after the addition of unison-all that unison could now talk to various versions.  Unstable could talk to stable!  But not anymore. 

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810212   Testing to Jessie does not work

Also - pointing to the upstream problems  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802919   

Sigh,  I am far from an expert in compiling.  But once I did get ocaml and unison compiled into .ipkg form for ffp on an arm dns-323 - and well, I am not even considering that again. ((BTW if anyone is capable of doing this - ffp-funpkg and Alt-F would love .ipkg's of ocaml and unison for 0.40) My deep appreciation and sympathy go out to the Debian OCAML maintainers, it is a difficult task. 

I do have a back up plan for this.  Peace out. 
Title: Re: unison 2.48 pain
Post by: pavroo on May 13, 2016, 02:56:52 PM
QuoteHas anyone had any luck using dpkg or backports to get unison from stable or back-ports into a testing version of debian lately
Yes, just do:
1. Download unison 2.40 from Debian stable repos:
https://packages.debian.org/jessie/unison
2. Install/downgrade it:
dpkg -i unison_2.40.102-2_amd64.deb
dpkg: warning: downgrading unison from 2.48.3-1 to 2.40.102-2
(Reading database ... 179937 files and directories currently installed.)
Preparing to unpack unison_2.40.102-2_amd64.deb ...
Unpacking unison (2.40.102-2) over (2.48.3-1) ...
Setting up unison (2.40.102-2) ...
Processing triggers for man-db (2.7.5-1) ...

3. Check it:
apt-cache policy unison
unison:
  Installed: 2.40.102-2
  Candidate: 2.48.3-1
  Version table:
     2.48.3-1 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
*** 2.40.102-2 100
        100 /var/lib/dpkg/status

4. Lock it if you don't want to upgrade it after:
echo unison hold|dpkg --set-selections