<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv2099082024"><div id="yui_3_16_0_ym19_1_1494311973287_49386"><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1494311973287_49385"><div id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23218"><span>Rolf,</span></div><div id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23223"><span><br clear="none"></span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23224"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23365">OK, now it makes more sense to me.  I saw that the last released version was 1.0.25, but I didn't fully comprehend that your ppa is a pre-release for 1.0.26.  When 1.0.26 is released, of course you would want these builds to compare earlier than the released version.</span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23363"><span><br clear="none"></span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23364"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366">One thing I still don't fully comprehend.  libsane=1.0.26~preXXX depends on libsane-common=1.0.26~preXXX, but libsane=1.0.26~preXXX also breaks libsane-common<<1.0.26</span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23763"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366"><br clear="none"></span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_25377"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366">This seems like a conflict.  Isn't this saying that libsane breaks the same version that it depends on?</span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_25381"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366"><br clear="none"></span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_25383"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366">Sorry if I am being frustrating or dense on this topic.  As I understand, apt and dpkg won't allow 2 different versions of the same package to be simultaneously installed.  If the pre-release libsane requires a specific version of libsane-common, doesn't that automatically imply that it breaks/conflicts with any other version?  libsane=1.0.26~preXXX will also break 1.0.27 or 1.1 or anything else that is released in the future, right?</span></div><div dir="ltr" id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_41635"><span id="yiv2099082024yui_3_16_0_ym19_1_1494311973287_23366"><br clear="none"></span></div> <div class="yiv2099082024qtdSeparateBR" id="yui_3_16_0_ym19_1_1494311973287_50242"><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_50241">Using your instructions, I still can't install using apt, dpkg.  I installed synaptic, but I get the same error and refusal to install ().  I am running yakkety, so maybe there is some difference from trusty.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_50282"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_51680">However, this is not a big problem for me.  I am able to automatically build from the sane-backends package on your ppa, so I can test my MG5420 with the latest fixes.  I'll send another email once I have verified all functions and the scanbd script you sent me.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_51681"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_51682">Many thanks,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1494311973287_51683">James<br></div></div><div class="yiv2099082024yqt6237274142" id="yiv2099082024yqt37976"></div></div></div></div><div class=".yiv2099082024yahoo_quoted"> <div style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, May 9, 2017 11:36 AM, Rolf Bensch <rolf@bensch-online.de> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div class="yiv2099082024y_msg_container"><div dir="ltr">Hi James,<br clear="none"><br clear="none">Am 08.05.2017 um 22:22 schrieb James Duvall:<br clear="none">> Rolf,<br clear="none">> <br clear="none">> Thanks for getting your ppa back up and running.  However, I am not able<br clear="none">> to install the libsane package using apt, even when I try to force the<br clear="none">> version.  I believe that your new version numbering with ~ is causing<br clear="none">> the problem.<br clear="none">> <br clear="none">> ver=1.0.26~ppa20170508-yakkety0; sudo apt-get install libsane=$ver<br clear="none">> libsane-common=$versane-utils=$ver<br clear="none">> <br clear="none"><br clear="none">I used synaptic for Trusty and it's working.<br clear="none"><br clear="none">You can use an alternative more complex procedure to get the updates<br clear="none">from my ppa:<br clear="none"><br clear="none">(1) search for installed SANE packages:<br clear="none">$ dpkg -l *sane*<br clear="none"><br clear="none">(2) purge all SANE packages with the version '1.0.26[-+]ppa{date}<br clear="none">*without* removing dependent packages:<br clear="none">$ sudo dpkg --force-all -P libsane libsane-common sane-utils [other<br clear="none">installed packages]<br clear="none"><br clear="none">(3) reinstall SANE:<br clear="none">$ apt-get -f install<br clear="none"><br clear="none">(4) reinstall all other removed packages, e.g.:<br clear="none">$ sudo apt-get install libsane-dev<br clear="none"><br clear="none">> Apt complains that<br clear="none">> <br clear="none">> The following packages have unmet dependencies:<br clear="none">>  libsane : Breaks: libsane-common (< 1.0.26)<br clear="none">>            Breaks: libsane-common:i386 (< 1.0.26)<br clear="none">> E: Unable to correct problems, you have held broken packages.<br clear="none">> <br clear="none">> I think the issue is that version 1.0.26~ppa20170508-yakkety0 compares<br clear="none">> less than 1.0.26 due to special rules for handling ~ in version<br clear="none">> numbers.  The following shows this:<br clear="none">> <br clear="none">> dpkg --compare-versions 1.0.26~ppa20170508-yakkety0 lt 1.0.26 && echo true<br clear="none">> true<br clear="none">> <br clear="none"><br clear="none">This is correct. SANE 1.0.26 isn't released yet.<br clear="none">Inspired from your comment I renamed the version in my ppa to<br clear="none">'1.0.26~pre{date}'. This makes it more transparent that this is a<br clear="none">pre-release.<br clear="none"><br clear="none">> I created a local repository and re-packaged as version<br clear="none">> 1.0.26+ppa20170508-yakkety0 and was able to install with no problems, so<br clear="none">> maybe change the ~ for + or some other separator?  I am not experienced<br clear="none">> with debian package management, so please disregard if I am missing<br clear="none">> something.<br clear="none">> <br clear="none"><br clear="none">Then you'll get the next update after we started the development of SANE<br clear="none">version 1.0.27, then AKA version 1.0.27~pre{date} from my ppa repository<br clear="none"><br clear="none">Many thanks for your report.<br clear="none"><br clear="none">Hope this helps.<br clear="none"><br clear="none">Cheers,<div class="yiv2099082024yqt6013051390" id="yiv2099082024yqtfd10916"><br clear="none">Rolf<br clear="none"></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></body></html>