(Solved) Latest kernel headers/dkms won't install

Begonnen von vayu, 2020/05/18, 00:30:05

Vorheriges Thema - Nächstes Thema

vayu

The kernel module I use for my camera to work as a webcam for Zoom isn't working. DKMS usually does it automatically.
The module is video for linux: v4l2loopback
The kernel is: 5.6.13-towo.1-siduction-amd64apt-cache policy linux-headers-5.6.13-towo.1-siduction-amd64linux-headers-5.6.13-towo.1-siduction-amd64:
  Installed: (none)
  Candidate: 5.6-13

apt install linux-headers-5.6.13-towo.1-siduction-amd64..The following packages have unmet dependencies:
cpp-10 : Depends: gcc-10-base (= 10.1.0-1) but 10-20200502-1 is to be installed
gcc-10 : Depends: gcc-10-base (= 10.1.0-1) but 10-20200502-1 is to be installed
          Depends: libcc1-0 (>= 10.1.0-1) but 10-20200502-1 is to be installed
          Depends: libgcc-10-dev (= 10.1.0-1) but it is not going to be installed

It seems cpp-10 and gcc-10 is interfering with compiling my linux-headers.
Does anyone know what I could do?

hendrikL

mh,

:~$ inxi -Sxx
System:    Host: hhl Kernel: 5.6.13-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5
           tk: Qt 5.12.5 wm: kwin_x11 dm: SDDM Distro: siduction 18.3.0 Patience - kde - (201809172151)
           base: Debian GNU/Linux bullseye/sid


maybe it is worth a try

apt install linux-headers-5.6.13-towo.1-siduction-amd64 libgcc-10-dev+

der_bud

I wonder where your "...but 10-20200502-1 is to be installed" comes from, because:$ LANG=C apt-cache policy gcc-10-base
gcc-10-base:
  Installed: 10.1.0-1
  Candidate: 10.1.0-1
  Version table:
*** 10.1.0-1 500
        500 http://ftp.plusline.net/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
Do you have some uncommon repos active?
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

vayu

#3
It must have something to do with wine or steam. When I manually list all the packages needed to complete gcc-10-base then it proposes to remove a huge list of :i386 packages as well as wine-stable.  I'm not sure what to do. 

vayu

Thanks for helping. I resolved it by letting go of wine and steam, now all is good with my kernel modules.  I'll play with steam another time.

dpanter

Removing Steam and Wine is not a satisfactory solution!  :o


I ran into this as well. These packages had different amd64/i386 versions available for upgrade. APT can't figure out what to do in these situations.
gcc-10-base gcc-10-base:i386 libatomic1 libatomic1:i386 libgcc-s1 libgcc-s1:i386 libgomp1 libgomp1:i386 libstdc++6 libstdc++6:i386


Looked like this:
gcc-10-base/now 10-20200502-1 amd64 [installed,upgradable to: 10.1.0-1]
gcc-10-base/now 10-20200502-1 i386 [installed,upgradable to: 10.1.0-2]



Specifying the correct version solves the issue, kernel headers can then be updated and virtualbox-dkms will build module properly.
sudo apt install {gcc-10-base,gcc-10-base:i386,libatomic1,libatomic1:i386,libgcc-s1,libgcc-s1:i386,libgomp1,libgomp1:i386,libstdc++6,libstdc++6:i386}=10.1.0-1

<< insert signature here >>

hendrikL

mh, gcc-10=10.1.0-2 on amd64 is waiting to be buildd

https://buildd.debian.org/status/package.php?p=gcc-10&suite=sid

If this happens, then the problem is maybe solved!?

DeepDayze

ZitatIf If this happens, then the problem is maybe solved!?
It should be OK hopefully if someone else tested it.

vayu

A couple days later and I've been able to reinstall wine, steam and the :i386 packages that I had to let go in order to compile my dkms modules.