Public bug reported:

I enabled lunar-proposed today (with APT::Default-Release "lunar-
proposed";) and got the error below during update:

Preparing to unpack .../39-libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (22.3.4-1ubuntu1) over (22.2.5-0ubuntu1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-AkyzpG/39-libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/dri/i915_dri.so', which is also 
in package libgl1-amber-dri:amd64 21.3.7-0ubuntu1
 
Then it will be broken:

root@deleteme-lunar:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libgl1-mesa-dri : Depends: libglapi-mesa (= 22.2.5-0ubuntu1) but 
22.3.4-1ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).

root@deleteme-lunar:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libicu71 libpython3.10-minimal libpython3.10-stdlib python3.10 
python3.10-minimal
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libgl1-mesa-dri
The following packages will be upgraded:
  libgl1-mesa-dri
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
62 not fully installed or removed.
Need to get 0 B/7806 kB of archives.
After this operation, 809 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 81205 files and directories currently installed.)
Preparing to unpack .../libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (22.3.4-1ubuntu1) over (22.2.5-0ubuntu1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/dri/i915_dri.so', which is also 
in package libgl1-amber-dri:amd64 21.3.7-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


How to reproduce:

1. Spin up a Lunar VM
2. Enable -proposed
3. Install libgl1-mesa-dri and libgl1-amber-dri
4. Add APT::Default-Release "lunar-proposed"; to /etc/apt/apt.conf.d/somefile
5. Try to upgrade

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2006744

Title:
  libgl1-mesa-dri 22.3.4-1ubuntu1 vs libgl1-amber-dri 21.3.7-0ubuntu1
  file conflict

Status in mesa package in Ubuntu:
  New

Bug description:
  I enabled lunar-proposed today (with APT::Default-Release "lunar-
  proposed";) and got the error below during update:

  Preparing to unpack .../39-libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb ...
  Unpacking libgl1-mesa-dri:amd64 (22.3.4-1ubuntu1) over (22.2.5-0ubuntu1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-AkyzpG/39-libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb 
(--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/dri/i915_dri.so', which is 
also in package libgl1-amber-dri:amd64 21.3.7-0ubuntu1
   
  Then it will be broken:

  root@deleteme-lunar:~# apt upgrade
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  You might want to run 'apt --fix-broken install' to correct these.
  The following packages have unmet dependencies:
   libgl1-mesa-dri : Depends: libglapi-mesa (= 22.2.5-0ubuntu1) but 
22.3.4-1ubuntu1 is installed
  E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).

  root@deleteme-lunar:~# apt --fix-broken install
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer 
required:
    libicu71 libpython3.10-minimal libpython3.10-stdlib python3.10 
python3.10-minimal
  Use 'apt autoremove' to remove them.
  The following additional packages will be installed:
    libgl1-mesa-dri
  The following packages will be upgraded:
    libgl1-mesa-dri
  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  62 not fully installed or removed.
  Need to get 0 B/7806 kB of archives.
  After this operation, 809 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  (Reading database ... 81205 files and directories currently installed.)
  Preparing to unpack .../libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb ...
  Unpacking libgl1-mesa-dri:amd64 (22.3.4-1ubuntu1) over (22.2.5-0ubuntu1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/dri/i915_dri.so', which is 
also in package libgl1-amber-dri:amd64 21.3.7-0ubuntu1
  Errors were encountered while processing:
   /var/cache/apt/archives/libgl1-mesa-dri_22.3.4-1ubuntu1_amd64.deb
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  How to reproduce:

  1. Spin up a Lunar VM
  2. Enable -proposed
  3. Install libgl1-mesa-dri and libgl1-amber-dri
  4. Add APT::Default-Release "lunar-proposed"; to /etc/apt/apt.conf.d/somefile
  5. Try to upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2006744/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to