Bug#906903: nvidia-driver: broken(?) dependencies

Vincent McIntyre vincent.mcintyre at csiro.au
Wed Aug 22 14:01:39 BST 2018


On Wed, Aug 22, 2018 at 11:09:51AM +0100, Luca Boccassi wrote:
> Control: tags -1 moreinfo
> 

I tried to dig deeper into the source of the conflict.
The crude script below tries to pull out any conflicts
that the recursive dependencies of nvidia-egl-icd have
and looks for overlap with the dependencies of vlc.
It suggests that some variant of libegl1 is the issue,
but it's unclear why.
The results it gives are confused by apt-cache displaying
both the backports and stable versions of each package.

The other clue I have to offer is that a simulated install of
nvidia-egl-icd removes vlc and vlc-plugin-video-output, so I
assume some dependency of the latter is the cause.
It wants libegl1-mesa | libegl1-x11. libegl1-mesa is installed,
libegl1-x11 is a virtual package which libegl1-mesa Provides:.

#!/bin/sh

TMPDIR=`mktemp -d /tmp/XXXXXX`
CONF="$TMPDIR/conflicts"
DEPS="$TMPDIR/dependencie"

# nvidia-egl-icd conflicts list
apt-rdepends nvidia-egl-icd | grep -v '^ ' | \
( while read p
  do
      [ "X" = "X$p" ] && continue;
      apt-cache show $p | grep '^Conflicts:' | sed -e 's/Conflicts://' | \
         awk -F, '{for (i=1;i<=NF;i++){print $i;};}'
  done
) | sort | uniq > "$CONF"

# vlc dependency list
apt-rdepends vlc | grep -v '^ ' | \
( while read p
  do
      [ "X" = "X$p" ] && continue;
      apt-cache show $p | grep '^Depends:' | sed -e 's/Depends://' | \
         awk -F, '{for (i=1;i<=NF;i++){print $i;};}'
  done
) | sort | uniq > "$DEPS"

while read pkg ver
do
    grep -w "$pkg" "$DEPS"
done < "$CONF"

rm -rf "$TMPDIR"



More information about the pkg-nvidia-devel mailing list