[Bug 1991919] Re: libgoogle-glog-dev has unmet dependencies due to libunwind
Nikolaus Demmel
1991919 at bugs.launchpad.net
Mon Jun 12 11:52:06 UTC 2023
Any workaround for this? I just tried and this still reproduces. For
example, you cannot install both libc++-dev and libgoogle-glog-dev due
to this:
apt install libc++-dev libgoogle-glog-dev
Interestingly, for me this only happens on x86_64. On the arm version of
the libgoogle-glog-dev package does not depend on libunwind:
```
$ apt show libgoogle-glog-dev
Package: libgoogle-glog-dev
Version: 0.5.0+really0.4.0-2
Priority: optional
Section: universe/libdevel
Source: google-glog
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 383 kB
Depends: libgoogle-glog0v5 (= 0.5.0+really0.4.0-2), libgflags-dev
Homepage: https://github.com/google/glog
Download-Size: 91.7 kB
APT-Manual-Installed: yes
APT-Sources: http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
Description: library that implements application-level logging.
```
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to libunwind in Ubuntu.
https://bugs.launchpad.net/bugs/1991919
Title:
libgoogle-glog-dev has unmet dependencies due to libunwind
Status in google-glog package in Ubuntu:
Confirmed
Status in libunwind package in Ubuntu:
Confirmed
Bug description:
# Error Description
Installing `libgoogle-glog-dev` results in an error:
```
$ sudo apt install libgoogle-glog-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libunwind-14-dev : Breaks: libunwind-dev but 1.3.2-2build2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
```
# Comments
I have the packages libc++-14-dev and libc++-dev installed.
The package libgoogle-glog-dev dependes on "libunwind-dev | libunwind7-dev". But Package 'libunwind7-dev' has no installation candidate. Package 'libunwind-dev' is incompatible with libc++-14-dev and libc++-dev:
```
$ sudo apt install libunwind-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libc++-14-dev libc++-dev libunwind-14-dev
The following NEW packages will be installed:
libunwind-dev
0 upgraded, 1 newly installed, 3 to remove and 14 not upgraded.
Need to get 0 B/1.882 kB of archives.
After this operation, 3.176 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
```
# Additional information:
$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
$ apt-cache policy libgoogle-glog-dev
libgoogle-glog-dev:
Installed: (none)
Candidate: 0.5.0+really0.4.0-2
Version table:
0.5.0+really0.4.0-2 500
500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
$ apt show libgoogle-glog-dev
Package: libgoogle-glog-dev
Version: 0.5.0+really0.4.0-2
Priority: optional
Section: universe/libdevel
Source: google-glog
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 388 kB
Depends: libgoogle-glog0v5 (= 0.5.0+really0.4.0-2), libgflags-dev, libunwind-dev | libunwind7-dev
Homepage: https://github.com/google/glog
Download-Size: 91,9 kB
APT-Sources: http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: library that implements application-level logging.
This library provides logging APIs based on C++-style streams and
various helper macros.
.
This package contains static and debug libraries and header files for
developing applications.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-glog/+bug/1991919/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list