Skip to content

Instantly share code, notes, and snippets.

@o11c
Last active December 25, 2015 00:48
Show Gist options
  • Select an option

  • Save o11c/6889953 to your computer and use it in GitHub Desktop.

Select an option

Save o11c/6889953 to your computer and use it in GitHub Desktop.
$ apt-cache show weston | grep Depends: | sed 's/Depends: //;s/, */\n/g' | while read pkg version; do echo $pkg $version; apt-cache policy $pkg | grep Installed; echo; done
libegl1-mesa (>= 8.0-2)
Installed: 9.1.6-2+b1
libegl1-mesa-drivers (>= 8.0-2)
Installed: 9.1.6-2+b1
libgles2-mesa (>= 8.0-2)
Installed: 9.1.6-2+b1
libc6 (>= 2.14)
Installed: 2.17-93
libcairo2 (>= 1.12.4-5~)
Installed: 1.12.16-2
libdrm2 (>= 2.4.30)
Installed: 2.4.46-3
libgbm1 (>= 8.1~0)
Installed: 9.1.6-2+b1
libgl1-mesa-glx | libgl1
Installed: 9.1.6-2+b1
libglu1-mesa | libglu1
Installed: 9.0.0-2
libjpeg8 (>= 8c)
Installed: 8d-1
libmtdev1 (>= 1.1.0)
Installed: 1.1.4-1
libpam0g (>= 0.99.7.1)
Installed: 1.1.3-9
libpixman-1-0 (>= 0.19.6)
Installed: 0.30.2-1
libpng12-0 (>= 1.2.13-4)
Installed: 1.2.49-4
libsystemd-login0 (>= 31)
Installed: 204-5
libudev0 (>= 146)
Installed: 175-7.2
libwayland-client0 (>= 1.0.2)
Installed: 1.2.1-1
libwayland-cursor0 (>= 1.0.2)
Installed: 1.2.1-1
libwayland-server0 (>= 1.1.0)
Installed: 1.2.1-1
libx11-6
Installed: 2:1.6.1-1
libx11-xcb1
Installed: 2:1.6.1-1
libxcb-render0
Installed: 1.9.1-3
libxcb-shape0
Installed: 1.9.1-3
libxcb-shm0
Installed: 1.9.1-3
libxcb-xfixes0
Installed: 1.9.1-3
libxcb1 (>= 1.8)
Installed: 1.9.1-3
libxcursor1 (>> 1.1.2)
Installed: 1:1.1.14-1
libxkbcommon0 (>= 0.2.0)
Installed: 0.3.1-2
$ apt-get install weston
Reading package lists... Done
Building dependency tree
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:
libcairo2 : Depends: libegl1-mesa (>= 7.8.1) but it is not going to be installed or
libegl1-x11
weston : Depends: libegl1-mesa (>= 8.0-2) but it is not going to be installed
Depends: libegl1-mesa-drivers (>= 8.0-2) but it is not going to be installed
Depends: libwayland-server0 (>= 1.1.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment