libprotobuf9v5 : Conflicts: libprotobuf9 but 2.6.1-1 is installed.

Bug #1486192 reported by Ryan Chapman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
protobuf (Ubuntu)
New
Undecided
Unassigned

Bug Description

(1)
# lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

# uname -a
Linux IPC1 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

(2)
# apt-cache policy qtcreator libprotobuf9v5 libprotobuf9
qtcreator:
  Installed: 3.1.1-0ubuntu9
  Candidate: 3.1.1-0ubuntu9
  Version table:
 *** 3.1.1-0ubuntu9 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status
libprotobuf9v5:
  Installed: (none)
  Candidate: 2.6.1-1.2~ubuntu15.04.1~ppa1
  Version table:
     2.6.1-1.2~ubuntu15.04.1~ppa1 0
        500 http://ppa.launchpad.net/ubuntu-lxc/lxd-git-master/ubuntu/ vivid/main amd64 Packages
libprotobuf9:
  Installed: 2.6.1-1
  Candidate: 2.6.1-1
  Version table:
 *** 2.6.1-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

(3)
I expected the the updated libprotobuf9, newly renamed upstream to libprotobuf9v5, to install and provide an alias/symlink/virtual package to continue satisfying the dependencies of myriad other programs.

(4)
During regular system upgrade in the last two days or so, I get the following:

The following packages have unmet dependencies:
 libprotobuf9v5 : Conflicts: libprotobuf9 but 2.6.1-1 is installed.
The following actions will resolve these dependencies:

      Remove the following packages:
1) libegl1-mesa-dev
2) libgles2-mesa-dev
3) libmirclient-dev
4) libmircommon-dev
5) libprotobuf-dev
6) libqt5opengl5-dev
7) libqt5sensors5-dev
8) libqt5webkit5-dev
9) libqt5websockets5-dev
10) libqt5xmlpatterns5-dev
11) python-protobuf
12) qt3d5-dev
13) qt5-default
14) qtbase5-dev
15) qtdeclarative5-dev
16) qtlocation5-dev
17) qtmultimedia5-dev
18) qtpositioning5-dev
19) qtscript5-dev
20) qttools5-dev
21) ubuntu-sdk
22) ubuntu-sdk-libs-dev

      Keep the following packages at their current version:
23) libprotobuf9v5 [Not Installed]

      Leave the following dependencies unresolved:
24) qtcreator recommends qt5-default
25) qtcreator recommends qtbase5-dev
26) qtcreator recommends qtdeclarative5-dev
27) qtcreator-plugin-ubuntu recommends ubuntu-sdk

Accept this solution? [Y/n/q/?]

I tried to let Ubuntu calculate multiple other solutions but all proposed look dubious to me and I've not tried any of them. I particularly interested in item 23 above but am not clear how to proceed. When I've explicitly tried to install libprotobuf9v5 directly, a much more terrible solution is proposed.

From what I can tell with Google search, "https://www.google.com/search?q=libprotobuf9v5+%3A+Conflicts%3A+libprotobuf9+but+2.6.1-1+is+installed.", this appears to be caused by an upstream renaming of the package from libprotobuf9 --> libprotubuf9v5, as indicated in the various change logs.

Revision history for this message
Stéphane Graber (stgraber) wrote :

The issue was caused by our auto-backport of LXC and LXD dependencies so we can guarantee a consistent experience on all Ubuntu releases.

This may indeed cause some occasional breakage when one of those packages revs their SOVER which is what happened there.

We won't be rebuilding all the affected bits in our PPA. What I could recommend you do though is just pin the affected packages to the archive version. protobuf specifically is only needed for criu which is an optional dependency.

Revision history for this message
Ryan Chapman (rmc) wrote : Re: [Bug 1486192] Re: libprotobuf9v5 : Conflicts: libprotobuf9 but 2.6.1-1 is installed.
Download full text (4.6 KiB)

Thank you for the prompt response. Just to clarify, you're suggesting
pinning the Ubuntu 'mainstream' libprotobuf9 ahead of the libprotobuf9v5
coming from the PPA? Also, should I add/remove any of the other PPAs
managed under the "Ubuntu containers team". Obviously I've been using the
http://ppa.launchpad.net/ubuntu-lxc/lxd-git-master/ubuntu. Would it help to
add the related backports PPA,
http://ppa.launchpad.net/ubuntu-lxc/buildd-backports/ubuntu ?

On Wed, Aug 19, 2015 at 10:55 AM Stéphane Graber <email address hidden>
wrote:

> The issue was caused by our auto-backport of LXC and LXD dependencies so
> we can guarantee a consistent experience on all Ubuntu releases.
>
> This may indeed cause some occasional breakage when one of those
> packages revs their SOVER which is what happened there.
>
> We won't be rebuilding all the affected bits in our PPA. What I could
> recommend you do though is just pin the affected packages to the archive
> version. protobuf specifically is only needed for criu which is an
> optional dependency.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1486192
>
> Title:
> libprotobuf9v5 : Conflicts: libprotobuf9 but 2.6.1-1 is installed.
>
> Status in protobuf package in Ubuntu:
> New
>
> Bug description:
> (1)
> # lsb_release -rd
> Description: Ubuntu 15.04
> Release: 15.04
>
> # uname -a
> Linux IPC1 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015
> x86_64 x86_64 x86_64 GNU/Linux
>
> (2)
> # apt-cache policy qtcreator libprotobuf9v5 libprotobuf9
> qtcreator:
> Installed: 3.1.1-0ubuntu9
> Candidate: 3.1.1-0ubuntu9
> Version table:
> *** 3.1.1-0ubuntu9 0
> 500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64
> Packages
> 100 /var/lib/dpkg/status
> libprotobuf9v5:
> Installed: (none)
> Candidate: 2.6.1-1.2~ubuntu15.04.1~ppa1
> Version table:
> 2.6.1-1.2~ubuntu15.04.1~ppa1 0
> 500 http://ppa.launchpad.net/ubuntu-lxc/lxd-git-master/ubuntu/
> vivid/main amd64 Packages
> libprotobuf9:
> Installed: 2.6.1-1
> Candidate: 2.6.1-1
> Version table:
> *** 2.6.1-1 0
> 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> (3)
> I expected the the updated libprotobuf9, newly renamed upstream to
> libprotobuf9v5, to install and provide an alias/symlink/virtual package to
> continue satisfying the dependencies of myriad other programs.
>
>
> (4)
> During regular system upgrade in the last two days or so, I get the
> following:
>
> The following packages have unmet dependencies:
> libprotobuf9v5 : Conflicts: libprotobuf9 but 2.6.1-1 is installed.
> The following actions will resolve these dependencies:
>
> Remove the following packages:
> 1) libegl1-mesa-dev
> 2) libgles2-mesa-dev
> 3) libmirclient-dev
> 4) libmircommon-dev
> 5) libprotobuf-dev
> 6) libqt5opengl5-dev
> 7) libqt5sensors5-dev
> 8) libqt5webkit5-dev
> 9) libqt5websockets5-dev
> 10) libqt5xmlpatterns5-dev
> 11) ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.