Hi @federicarike,
I read all your replies on previous posts which relate to issues with intel mipi camera on ubuntu (thanks for that!).
I have the following machine: ubuntu 22.04 kernel 6.8.0-57-generic
I followed the steps as you provided them in this thread:
I got stuck on the OEM metapackage installation,
which returns the following error:
barel@hila-laptop:~ $ sudo apt install oem-somerville-lapras-meta
Reading package lists... Done
Building dependency tree... Done
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:
oem-somerville-lapras-meta : Depends: linux-generic-hwe-24.04 but it is not installable
Recommends: linux-modules-ipu6-generic-hwe-24.04 but it is not installable
E: Unable to correct problems, you have held broken packages.
I can not upgrade to 24.04⦠Can you help with this issue?
Thanks for your reply! This is the output of the command she suggested in the link you provided:
barel@hila-laptop:~ $ sudo add-apt-repository --list
deb http://il.archive.ubuntu.com/ubuntu/ jammy main universe restricted multiverse
deb http://il.archive.ubuntu.com/ubuntu/ jammy-updates main universe restricted multiverse
deb http://il.archive.ubuntu.com/ubuntu/ jammy-backports main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main universe restricted multiverse
deb http://dell.archive.canonical.com/ noble somerville
deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ jammy main
deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
then I did this:
barel@hila-laptop:~ $ sudo apt-get install --no-install-recommends --yes \
linux-generic-hwe-22.04 \
linux-modules-ipu6-generic-hwe-22.04 \
linux-modules-usbio-generic-hwe-22.04
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-generic-hwe-22.04 is already the newest version (6.8.0-57.59~22.04.1).
linux-modules-ipu6-generic-hwe-22.04 is already the newest version (6.8.0-57.59~22.04.1).
linux-modules-usbio-generic-hwe-22.04 is already the newest version (6.8.0-57.59~22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
and then she says to run the āsudo apt install oem-somerville-lapras-metaā and it gives me the same unmet dependencies issue as aboveā¦
To me this line looks like itās trying to install from noble (24.04) source. Donāt know the commands but I think you should try to change this line to use jammy.
I guess - but I do not know - that you can remove noble entry executing sudo add-apt-repository -r "deb http://dell.archive.canonical.com/ noble somerville"
and add jammy repository executing sudo add-apt-repository "deb http://dell.archive.canonical.com/ jammy somerville"
[Edit]
I also do not know if there will be any unwanted side effects!
$ sudo ubuntu-drivers list
oem-fix-misc-cnl-backport-iwlwifi-helper
libfprint-2-tod1-broadcom
oem-somerville-lapras-meta
oem-fix-misc-cnl-i915-disable-psr
libcamhal0
or just checking the boxes in the āadditional driversā tab in the GUI? or both?
Also when he wrote
āThe libia-* libgcss-* and libcamhal* were installed again.ā
Is that via the command: sudo apt insall libia-* libgcss-* and libcamhal* ?
Thanks for the help, Iām new to Ubuntuā¦
The camera does not works with oem-somerville-lapras-meta
The camera works with oem-fix-misc-cnl-i915-disable-psr
Try switching the 4th additional driver from
āUsing hardware support for Dell Latitude (ā¦)ā to
āUsing Disable i915 PSR capability (ā¦)ā
[Edit]
Just saw that first additional driver is set to āUsing HAL library for MIPI camera (ā¦)ā. The label sounds like you should activate that, too.
Perhaps you should try uninstall and reinstall of libcamhal0. But I didnāt install or uninstall drivers on Ubuntu myself yet - so I do not know how to do it.
Thanks. When I came to remove sudo apt remove libcamhal0 I got this error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbroxton-ia-pal-ipu6ep0 libbroxton-ia-pal-ipu6epmtl0 libbroxton-ia-pal0 libgcss-ipu6ep0 libgcss-ipu6epmtl0 libgcss0 libia-aiq-ipu6ep0
libia-aiq-ipu6epmtl0 libia-aiq0 libia-aiqb-parser-ipu6ep0 libia-aiqb-parser-ipu6epmtl0 libia-aiqb-parser0 libia-bcomp-ipu6ep0
libia-bcomp-ipu6epmtl0 libia-bcomp0 libia-cca-ipu6ep0 libia-cca-ipu6epmtl0 libia-cca0 libia-ccat-ipu6ep0 libia-ccat-ipu6epmtl0 libia-ccat0
libia-cmc-parser-ipu6ep0 libia-cmc-parser-ipu6epmtl0 libia-cmc-parser0 libia-coordinate-ipu6ep0 libia-coordinate-ipu6epmtl0 libia-coordinate0
libia-dvs-ipu6ep0 libia-dvs-ipu6epmtl0 libia-dvs0 libia-emd-decoder-ipu6ep0 libia-emd-decoder-ipu6epmtl0 libia-emd-decoder0 libia-exc-ipu6ep0
libia-exc-ipu6epmtl0 libia-exc0 libia-isp-bxt-ipu6ep0 libia-isp-bxt-ipu6epmtl0 libia-isp-bxt0 libia-lard-ipu6ep0 libia-lard-ipu6epmtl0
libia-lard0 libia-log-ipu6ep0 libia-log-ipu6epmtl0 libia-log0 libia-ltm-ipu6ep0 libia-ltm-ipu6epmtl0 libia-ltm0 libia-mkn-ipu6ep0
libia-mkn-ipu6epmtl0 libia-mkn0 libia-nvm-ipu6ep0 libia-nvm-ipu6epmtl0 libia-nvm0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libcamhal0
0 upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
2 not fully installed or removed.
After this operation, 11.7 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 385602 files and directories currently installed.)
Removing libcamhal0 (0~git202406210224.cb00bdd~ubuntu22.04.1) ...
Setting up libcamhal-common (0~git202406210224.cb00bdd~ubuntu22.04.1) ...
dpkg-divert: error: 'diversion of /etc/modprobe.d/v4l2-relayd.conf to /etc/modprobe.d/v4l2-relayd.conf.orig by libcamhal-common' clashes with 'div
ersion of /etc/modprobe.d/v4l2-relayd.conf to /etc/modprobe.d/v4l2-relayd.conf.orig by libcamhal-ipu6ep-common'
dpkg: error processing package libcamhal-common (--configure):
installed libcamhal-common package post-installation script subprocess returned error exit status 2
Processing triggers for libc-bin (2.35-0ubuntu3.9) ...
Errors were encountered while processing:
libcamhal-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I ran the following: sudo apt remove libcamhal-common and after that I was able to run sudo apt remove libcamhal0 and get the following output
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libcamhal0' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libbroxton-ia-pal-ipu6ep0 libbroxton-ia-pal-ipu6epmtl0 libbroxton-ia-pal0 libgcss-ipu6ep0 libgcss-ipu6epmtl0 libgcss0 libia-aiq-ipu6ep0
libia-aiq-ipu6epmtl0 libia-aiq0 libia-aiqb-parser-ipu6ep0 libia-aiqb-parser-ipu6epmtl0 libia-aiqb-parser0 libia-bcomp-ipu6ep0
libia-bcomp-ipu6epmtl0 libia-bcomp0 libia-cca-ipu6ep0 libia-cca-ipu6epmtl0 libia-cca0 libia-ccat-ipu6ep0 libia-ccat-ipu6epmtl0 libia-ccat0
libia-cmc-parser-ipu6ep0 libia-cmc-parser-ipu6epmtl0 libia-cmc-parser0 libia-coordinate-ipu6ep0 libia-coordinate-ipu6epmtl0 libia-coordinate0
libia-dvs-ipu6ep0 libia-dvs-ipu6epmtl0 libia-dvs0 libia-emd-decoder-ipu6ep0 libia-emd-decoder-ipu6epmtl0 libia-emd-decoder0 libia-exc-ipu6ep0
libia-exc-ipu6epmtl0 libia-exc0 libia-isp-bxt-ipu6ep0 libia-isp-bxt-ipu6epmtl0 libia-isp-bxt0 libia-lard-ipu6ep0 libia-lard-ipu6epmtl0
libia-lard0 libia-log-ipu6ep0 libia-log-ipu6epmtl0 libia-log0 libia-ltm-ipu6ep0 libia-ltm-ipu6epmtl0 libia-ltm0 libia-mkn-ipu6ep0
libia-mkn-ipu6epmtl0 libia-mkn0 libia-nvm-ipu6ep0 libia-nvm-ipu6epmtl0 libia-nvm0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Donāt know how to continue⦠If I try to run sudo apt install libcamhal0 again I get the same error:
dpkg-divert: error: 'diversion of /etc/modprobe.d/v4l2-relayd.conf to /etc/modprobe.d/v4l2-relayd.conf.orig by libcamhal-common' clashes with 'div
ersion of /etc/modprobe.d/v4l2-relayd.conf to /etc/modprobe.d/v4l2-relayd.conf.orig by libcamhal-ipu6ep-common'
dpkg: error processing package libcamhal-common (--configure):
installed libcamhal-common package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of libcamhal0:
libcamhal0 depends on libcamhal-common (= 0~git202406210224.cb00bdd~ubuntu22.04.1); however:
Package libcamhal-common is not configured yet.
dpkg: error processing package libcamhal0 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.35-0
ubuntu3.9) ...
Errors were encountered while processing:
libcamhal-common
libcamhal0
E: Sub-process /usr/bin/dpkg returned an error code (1)
As a general rule of thumb, if you are not sure what a command will do there are two options that are highly recommended.
check dependencies for the package
do a dry run before committing to the install or removal of a package
So, for example, to check dependencies run these commands:
apt depends package-name # Check dependencies of an installed package
apt rdepends package-name # Check reverse dependencies
apt show package-name # Show detailed info including dependencies
And if you are really not sure, do a dry run first: apt remove -s package-name
This will simulate what would happen if you removed the package.
Thanks. I followed the steps in the post again.
I selected the same configuration in the āAdditional Driversā as he did, and when I hit āapply changesā I got the error I got previously.