[sane-devel] Fix PPA build
jamestemp8873-sane at yahoo.com
Mon May 8 20:22:35 UTC 2017
Thanks for getting your ppa back up and running. However, I am not able to install the libsane package using apt, even when I try to force the version. I believe that your new version numbering with ~ is causing the problem.
ver=1.0.26~ppa20170508-yakkety0; sudo apt-get install libsane=$ver libsane-common=$ver sane-utils=$ver
Apt complains that
The following packages have unmet dependencies:
libsane : Breaks: libsane-common (< 1.0.26)
Breaks: libsane-common:i386 (< 1.0.26)
E: Unable to correct problems, you have held broken packages.
I think the issue is that version 1.0.26~ppa20170508-yakkety0 compares less than 1.0.26 due to special rules for handling ~ in version numbers. The following shows this:
dpkg --compare-versions 1.0.26~ppa20170508-yakkety0 lt 1.0.26 && echo true
I created a local repository and re-packaged as version 1.0.26+ppa20170508-yakkety0 and was able to install with no problems, so maybe change the ~ for + or some other separator? I am not experienced with debian package management, so please disregard if I am missing something.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sane-devel