compute-runtime: Package version conflict in Ubuntu 22.04

The deb packages from the releases can not be installed in Ubuntu 22.04 without removing some already installed packages such as intel-media-va-driver-non-free from the jammy repository.

This happens because intel-media-va-driver-non-free depends on libigdgmm12 >= 22.1.2+ds1, however the libigdgmm12 deb in releases is version 22.1.2 which apt considers to be a downgrade from 22.1.2+ds1, and thus can not satisfy the dependency for intel-media-va-driver-non-free, removing it. It is also impossible to use 22.1.2+ds1 from the jammy repository, since the rest of the debs from releases (intel-level-zero-gpu, intel-opencl-icd) depend on libigdgmm12 = 22.1.2.

This issue did not occur on 21.10.

A solution would be to bump up the epoch to 1 in the debs produced in releases. As such, the new version string for libigdgmm12 would be 1:22.1.2 which is now considered newer than 22.1.2+ds1, and can satisfy intel-media-va-driver-non-free. The rest of the debs can now depend on libigdgmm12 = 1:22.1.2 instead.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 6
  • Comments: 18 (2 by maintainers)

Most upvoted comments

@Tamas-Toth-ebola that is a slightly different issue, which most likely can’t be resolved easily as there are no 32 bit debs provided in releases. If you don’t care about 32 bit support, you can run sudo apt remove libigdgmm12:i386.

I assume this is already true of the packages in Ubuntu itself.

Yes, they are all >=

Another temporary solution would maybe be to add a suffix in the debs from here so that they compare greater than the packages in the repos until 22.1.3 is released. I don’t know if that would somehow break support for older versions of ubuntu though.

The reason I have to install the packages from here in the first place is because the ones bundled with Ubuntu are broken, so waiting until whenever 22.1.3 is out is not really feasible.

I would have report it now as I have the problem since the release of 22.04.

@tatokis perfectly detailed the problem, originally I just would have dropped my console results:

dpkg: warning: downgrading libigdgmm12:amd64 from 22.1.2+ds1-1 to 22.1.2
Preparing to unpack libigdgmm12_22.1.2_amd64.deb ...
De-configuring libigdgmm12:i386 (22.1.2+ds1-1), to allow configuration of libigdgmm12:amd64 (22.1.2+ds1-1) ...
Unpacking libigdgmm12:amd64 (22.1.2) over (22.1.2+ds1-1) ...
Setting up intel-igc-core (1.0.11104) ...
Setting up intel-igc-opencl (1.0.11104) ...
dpkg: error processing package libigdgmm12:amd64 (--install):
 package libigdgmm12:amd64 22.1.2 cannot be configured because libigdgmm12:i386 is at a different version (22.1.2+ds1-1)
dpkg: error processing package libigdgmm12:i386 (--install):
 package libigdgmm12:i386 22.1.2+ds1-1 cannot be configured because libigdgmm12:amd64 is at a different version (22.1.2)
dpkg: dependency problems prevent configuration of intel-level-zero-gpu:
 intel-level-zero-gpu depends on libigdgmm12 (= 22.1.2); however:
  Package libigdgmm12:amd64 is not configured yet.

dpkg: error processing package intel-level-zero-gpu (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of intel-opencl-icd:
 intel-opencl-icd depends on libigdgmm12 (= 22.1.2); however:
  Package libigdgmm12:amd64 is not configured yet.

dpkg: error processing package intel-opencl-icd (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of intel-level-zero-gpu-dbgsym:
 intel-level-zero-gpu-dbgsym depends on intel-level-zero-gpu (= 1.3.23063); however:
  Package intel-level-zero-gpu is not configured yet.

dpkg: error processing package intel-level-zero-gpu-dbgsym (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of intel-opencl-icd-dbgsym:
 intel-opencl-icd-dbgsym depends on intel-opencl-icd (= 22.18.23063); however:
  Package intel-opencl-icd is not configured yet.

dpkg: error processing package intel-opencl-icd-dbgsym (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Errors were encountered while processing:
 libigdgmm12:amd64
 libigdgmm12:i386
 intel-level-zero-gpu
 intel-opencl-icd
 intel-level-zero-gpu-dbgsym
 intel-opencl-icd-dbgsym