<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 12:08 PM, Christian Ehrhardt <span dir="ltr"><<a href="mailto:christian.ehrhardt@canonical.com" target="_blank">christian.ehrhardt@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Going for the more explicit compat packages try now.</blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Ok, that worked - here some logs from my tests with various old/new combinations.</div><div class="gmail_extra"><br></div><br><div class="gmail_extra"><b>new DPDK / old OVS - as Update:</b></div><div class="gmail_extra">      The following package was automatically installed and is no longer required:</div><div class="gmail_extra">        librte-cryptodev1</div><div class="gmail_extra">      Use 'apt autoremove' to remove it.</div><div class="gmail_extra">      The following NEW packages will be installed:</div><div class="gmail_extra">        librte-cryptodev2 librte-eal3 librte-ethdev5 librte-net1 librte-pmd-qede1</div><div class="gmail_extra">      The following packages will be upgraded:</div><div class="gmail_extra">        dpdk libethdev4 librte-cmdline2 librte-cryptodev1 librte-eal2 librte-hash2 librte-kvargs1 librte-mbuf2 librte-mempool2</div><div class="gmail_extra">        librte-meter1 librte-pdump1 librte-pmd-af-packet1 librte-pmd-bnxt1 librte-pmd-bond1 librte-pmd-cxgbe1 librte-pmd-e1000-1 librte-pmd-ena1</div><div class="gmail_extra">        librte-pmd-enic1 librte-pmd-fm10k1 librte-pmd-i40e1 librte-pmd-ixgbe1 librte-pmd-null-crypto1 librte-pmd-null1 librte-pmd-pcap1</div><div class="gmail_extra">        librte-pmd-ring2 librte-pmd-vhost1 librte-pmd-virtio1 librte-pmd-vmxnet3-uio1 librte-pmd-xenvirt1 librte-ring1 librte-vhost3</div><div class="gmail_extra">    => That is good, installable as intended.</div><div class="gmail_extra">    => There really is no dep to cryptodev1 left - it is good to see that it can be autoremoved (before was ovs->dpdk-crpytodev1, but that now goes to 2)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><b>new DPDK / old OVS - as NEW INSTALL of old openvswitch where new DPDK is installed:</b></div><div class="gmail_extra">      The following additional packages will be installed:</div><div class="gmail_extra">        libethdev4 librte-eal2 librte-meter1 openvswitch-common openvswitch-switch python-six</div><div class="gmail_extra">      The following NEW packages will be installed:</div><div class="gmail_extra">        libethdev4 librte-eal2 librte-meter1 openvswitch-common openvswitch-switch openvswitch-switch-dpdk python-six</div><div class="gmail_extra">      0 upgraded, 7 newly installed, 0 to remove and 7 not upgraded.</div><div class="gmail_extra"><br></div><div class="gmail_extra">    => that is correct, librte-meter was not a recommend (like e.g. the pmds would be) of dpdk installed before</div><div class="gmail_extra">    => libethdev4 librte-eal2 are the depends of old openvswitch which now are the ABI compat symlinks</div><div class="gmail_extra">    </div><div class="gmail_extra">    In both environments the linking is now non-critical:</div><div class="gmail_extra">    lddtree /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk | egrep 'eal|ethdev'</div><div class="gmail_extra">        librte_eal.so.3 => /usr/lib/x86_64-linux-gnu/librte_eal.so.3</div><div class="gmail_extra">        librte_ethdev.so.5 => /usr/lib/x86_64-linux-gnu/librte_ethdev.so.5</div><div class="gmail_extra">      librte_eal.so.2 => /usr/lib/x86_64-linux-gnu/librte_eal.so.2</div><div class="gmail_extra">      libethdev.so.4 => /usr/lib/x86_64-linux-gnu/libethdev.so.4</div><div class="gmail_extra">    lrwxrwxrwx 1 root root 15 Feb  7 10:00 /usr/lib/x86_64-linux-gnu/librte_eal.so.2 -> librte_eal.so.3</div><div class="gmail_extra">    lrwxrwxrwx 1 root root 15 Feb  7 10:00 /usr/lib/x86_64-linux-gnu/librte_eal.so.2 -> librte_eal.so.3</div><div class="gmail_extra"><br></div><div class="gmail_extra">    And probably most important - it works now.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><b>new DPDK / new OVS (enable proposed and take existing rebuild from there)</b></div><div class="gmail_extra">     Upgrade correctly lists:</div><div class="gmail_extra">       The following packages were automatically installed and are no longer required:</div><div class="gmail_extra">         libethdev4 librte-cryptodev1 librte-eal2</div><div class="gmail_extra">     </div><div class="gmail_extra">     => Dependencies only resolve to new versions</div><div class="gmail_extra">     => After autoremove still working and resolving fine</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div>I'll submit patches to review to gerrit soon, but would summarize the solution on my ubuntu-devel thread once more to have a chance to get an ack/nack before we merged/released it this way.</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div></div>