[Desktop-packages] [Bug 1791542] Re: package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also in package nvidia-340 340.1

2018-09-22 Thread Lukas Klausner
Okay, manually installing version the .deb of 340.107 did seem to work,
but

/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be
opened: /etc/ld.so.conf.d/nvidia_settings.conf: No such file or
directory

remained as an error even afterwards. Should I be worried about that?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1791542

Title:
  package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to
  overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also
  in package nvidia-340 340.107-0ubuntu0~gpu18.04.1

Status in libglvnd package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in libglvnd source package in Bionic:
  Confirmed
Status in nvidia-graphics-drivers-340 source package in Bionic:
  Fix Committed

Bug description:
  SRU Request:

  [Impact]

  The new libgles1 conflicts with nvidia-340 which ships it's own copy
  of libGLESv1_CM.so

  [Test case]

  Enable proposed, install libgles1 and nvidia-340, they should install
  fine.

  [Regression potential]

  none, just fixes a file conflict

  --

  Looks like I had a similar problem on 18.04.1 than
  https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1728352, just
  with nvidia-340 from https://launchpad.net/~graphics-
  drivers/+archive/ubuntu/ppa .

  Apt output:
  ```
  $ sudo apt dist-upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    libgles1
  The following packages will be upgraded:
    libegl1 libgl1 libgles2 libglvnd-core-dev libglvnd-dev libglvnd0 libglx0 
libopengl0
  8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 268 kB of archives.
  After this operation, 66,6 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
libglvnd-dev amd64 1.0.0-2ubuntu2.2 [3 408 B]
  Get:2 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
libglvnd-core-dev amd64 1.0.0-2ubuntu2.2 [12,9 kB]
  Get:3 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgles2 
amd64 1.0.0-2ubuntu2.2 [17,4 kB]
  Get:4 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgl1 
amd64 1.0.0-2ubuntu2.2 [84,8 kB]
  Get:5 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libglx0 
amd64 1.0.0-2ubuntu2.2 [28,1 kB]
  Get:6 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libopengl0 
amd64 1.0.0-2ubuntu2.2 [31,3 kB]
  Get:7 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libegl1 
amd64 1.0.0-2ubuntu2.2 [31,9 kB]
  Get:8 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libglvnd0 
amd64 1.0.0-2ubuntu2.2 [46,6 kB]
  Get:9 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgles1 
amd64 1.0.0-2ubuntu2.2 [11,2 kB]
  Fetched 268 kB in 0s (1 575 kB/s)
  (Reading database ... 141610 files and directories currently installed.)
  Preparing to unpack .../0-libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-Gq7kQI/0-libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb 
(--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is 
also in package nvidia-340 340.107-0ubuntu0~gpu18.04.1
  Preparing to unpack .../1-libglvnd-core-dev_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd-core-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) 
...
  Preparing to unpack .../2-libgles2_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgles2:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../3-libgl1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgl1:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../4-libglx0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglx0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../5-libopengl0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libopengl0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../6-libegl1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libegl1:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../7-libglvnd0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Selecting previously unselected package libgles1:amd64.
  Preparing to unpack .../8-libgles1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgles1:amd64 (1.0.0-2ubuntu2.2) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-Gq7kQI/8-libgles1_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1', which is 
also in package nvidia-340 340.107-0ubuntu0~gpu18.04.1
  Errors were 

[Desktop-packages] [Bug 1791542] Re: package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also in package nvidia-340 340.1

2018-09-22 Thread Lukas Klausner
Also, sudo dpkg --configure -a (which was suggested above) yields the
following:

Processing triggers for libc-bin (2.27-3ubuntu1) ...
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be 
opened: /etc/ld.so.conf.d/nvidia_settings.conf: No such file or directory

Help?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1791542

Title:
  package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to
  overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also
  in package nvidia-340 340.107-0ubuntu0~gpu18.04.1

Status in libglvnd package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in libglvnd source package in Bionic:
  Confirmed
Status in nvidia-graphics-drivers-340 source package in Bionic:
  Fix Committed

Bug description:
  SRU Request:

  [Impact]

  The new libgles1 conflicts with nvidia-340 which ships it's own copy
  of libGLESv1_CM.so

  [Test case]

  Enable proposed, install libgles1 and nvidia-340, they should install
  fine.

  [Regression potential]

  none, just fixes a file conflict

  --

  Looks like I had a similar problem on 18.04.1 than
  https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1728352, just
  with nvidia-340 from https://launchpad.net/~graphics-
  drivers/+archive/ubuntu/ppa .

  Apt output:
  ```
  $ sudo apt dist-upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    libgles1
  The following packages will be upgraded:
    libegl1 libgl1 libgles2 libglvnd-core-dev libglvnd-dev libglvnd0 libglx0 
libopengl0
  8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 268 kB of archives.
  After this operation, 66,6 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
libglvnd-dev amd64 1.0.0-2ubuntu2.2 [3 408 B]
  Get:2 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
libglvnd-core-dev amd64 1.0.0-2ubuntu2.2 [12,9 kB]
  Get:3 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgles2 
amd64 1.0.0-2ubuntu2.2 [17,4 kB]
  Get:4 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgl1 
amd64 1.0.0-2ubuntu2.2 [84,8 kB]
  Get:5 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libglx0 
amd64 1.0.0-2ubuntu2.2 [28,1 kB]
  Get:6 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libopengl0 
amd64 1.0.0-2ubuntu2.2 [31,3 kB]
  Get:7 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libegl1 
amd64 1.0.0-2ubuntu2.2 [31,9 kB]
  Get:8 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libglvnd0 
amd64 1.0.0-2ubuntu2.2 [46,6 kB]
  Get:9 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libgles1 
amd64 1.0.0-2ubuntu2.2 [11,2 kB]
  Fetched 268 kB in 0s (1 575 kB/s)
  (Reading database ... 141610 files and directories currently installed.)
  Preparing to unpack .../0-libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-Gq7kQI/0-libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb 
(--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is 
also in package nvidia-340 340.107-0ubuntu0~gpu18.04.1
  Preparing to unpack .../1-libglvnd-core-dev_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd-core-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) 
...
  Preparing to unpack .../2-libgles2_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgles2:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../3-libgl1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgl1:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../4-libglx0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglx0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../5-libopengl0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libopengl0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../6-libegl1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libegl1:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Preparing to unpack .../7-libglvnd0_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libglvnd0:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
  Selecting previously unselected package libgles1:amd64.
  Preparing to unpack .../8-libgles1_1.0.0-2ubuntu2.2_amd64.deb ...
  Unpacking libgles1:amd64 (1.0.0-2ubuntu2.2) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-Gq7kQI/8-libgles1_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1', which is 
also in package nvidia-340 340.107-0ubuntu0~gpu18.04.1
  Errors were encou

[Desktop-packages] [Bug 1791542] Re: package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also in package nvidia-340 340.1

2018-09-22 Thread Lukas Klausner
I've enabled -proposed as suggested above to get 340.107 instead, put
running dpkg --fix-broken install still results in the following output:

Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-osmgpsmap-1.0 libosmgpsmap-1.0-1 python3-dateutil
  python3-requests-oauthlib
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgles1 libglvnd-dev
The following NEW packages will be installed:
  libgles1
The following packages will be upgraded:
  libglvnd-dev
1 upgraded, 1 newly installed, 0 to remove and 157 not upgraded.
Need to get 0 B/14.6 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 687305 files and directories currently installed.)
Preparing to unpack .../libgles1_1.0.0-2ubuntu2.2_amd64.deb ...
Unpacking libgles1:amd64 (1.0.0-2ubuntu2.2) ...
dpkg: error processing archive 
/var/cache/apt/archives/libgles1_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1', which is 
also in package nvidia-340 340.106-0ubuntu3
Preparing to unpack .../libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb ...
Unpacking libglvnd-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also 
in package nvidia-340 340.106-0ubuntu3
Errors were encountered while processing:
 /var/cache/apt/archives/libgles1_1.0.0-2ubuntu2.2_amd64.deb
 /var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nightstallion@Mimir:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-osmgpsmap-1.0 libosmgpsmap-1.0-1 python3-dateutil
  python3-requests-oauthlib
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgles1 libglvnd-dev
The following NEW packages will be installed:
  libgles1
The following packages will be upgraded:
  libglvnd-dev
1 upgraded, 1 newly installed, 0 to remove and 157 not upgraded.
Need to get 0 B/14.6 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 687305 files and directories currently installed.)
Preparing to unpack .../libgles1_1.0.0-2ubuntu2.2_amd64.deb ...
Unpacking libgles1:amd64 (1.0.0-2ubuntu2.2) ...
dpkg: error processing archive 
/var/cache/apt/archives/libgles1_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1', which is 
also in package nvidia-340 340.106-0ubuntu3
Preparing to unpack .../libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb ...
Unpacking libglvnd-dev:amd64 (1.0.0-2ubuntu2.2) over (1.0.0-2ubuntu2.1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also 
in package nvidia-340 340.106-0ubuntu3
Errors were encountered while processing:
 /var/cache/apt/archives/libgles1_1.0.0-2ubuntu2.2_amd64.deb
 /var/cache/apt/archives/libglvnd-dev_1.0.0-2ubuntu2.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1791542

Title:
  package libglvnd-dev 1.0.0-2ubuntu2.1 failed to upgrade: trying to
  overwrite '/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so', which is also
  in package nvidia-340 340.107-0ubuntu0~gpu18.04.1

Status in libglvnd package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in libglvnd source package in Bionic:
  Confirmed
Status in nvidia-graphics-drivers-340 source package in Bionic:
  Fix Committed

Bug description:
  SRU Request:

  [Impact]

  The new libgles1 conflicts with nvidia-340 which ships it's own copy
  of libGLESv1_CM.so

  [Test case]

  Enable proposed, install libgles1 and nvidia-340, they should install
  fine.

  [Regression potential]

  none, just fixes a file conflict

  --

  Looks like I had a similar problem on 18.04.1 than
  https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1728352, just
  with nvidia-340 from https://launchpad.net/~graphics-
  drivers/+archive/ubuntu/ppa .

  Apt output:
  ```
  $ sudo apt dist-upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculat