You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, I also tried to install libprotobuf-dev which was required for another project of my own. But when I did it, apt returned the following error.
$ sudo apt install libprotobuf-dev
...
The following NEW packages will be installed:
libprotobuf-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 0 B/1,347 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
(Reading database ... 344648 files and directories currently installed.)
Preparing to unpack .../libprotobuf-dev_3.12.4-1ubuntu7.22.04.1_amd64.deb ...
Unpacking libprotobuf-dev:amd64 (3.12.4-1ubuntu7.22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libprotobuf-dev_3.12.4-1ubuntu7.22.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libprotobuf-lite.a', which is also in package libopenvino-2023.0.2 2023.0.2.11065
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libprotobuf-dev_3.12.4-1ubuntu7.22.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
But then it means libopenvin-2023.0.2 and libprotobuf-dev cannot co-exist at all. If so, some apt packages that rely on libprotobuf-dev would not be available if you install openvino. This would be very inconvenient for some people.
Or if there is a workaround for this issue, any information is welcome.
Issue submission checklist
I report the issue. It's not a question
I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found the solution
There is reproducer code and related data files such as images, videos, models, etc.
The text was updated successfully, but these errors were encountered:
Thanks for the reporting the issue - the library is mistakenly added to the package, while it's not really needed. I confirm the issue is here with 2023.0.1 and 2023.0.2 releases, while future 2023.1.0 already fixes the problem and 2023.0.0 also does not have such regression. The possible solution is to install 2023.0.0 release, which does not have such problem:
OpenVINO Version
2023.0.2.11065
Operating System
Ubuntu 22.04
Device used for inference
CPU
Framework
ONNX
Issue Description
I followed the following documentation to install openvino runtime on Ubuntu 22.04 with apt.
Then, I also tried to install
libprotobuf-dev
which was required for another project of my own. But when I did it, apt returned the following error.I've found it is because openvino package contains custom libprotobuf inside which uses LTO and -fPIC option that system one does not use, and also -fPIC option cannot be turned off.
But then it means
libopenvin-2023.0.2
andlibprotobuf-dev
cannot co-exist at all. If so, some apt packages that rely onlibprotobuf-dev
would not be available if you install openvino. This would be very inconvenient for some people.Or if there is a workaround for this issue, any information is welcome.
Issue submission checklist
The text was updated successfully, but these errors were encountered: