apt install -f shows problems on proprietary nvidia drivers  [Solved]

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22679
Joined: Sun Dec 16, 2007 12:17 pm

Re: apt install -f shows problems on proprietary nvidia drivers

#11 Post by dolphin_oracle »

well, looks like a compiler error.

Code: Select all

Compiler version check failed:

The major and minor number of the compiler used to
compile the kernel:

gcc (Debian 13.2.0-1) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41

does not match the compiler used here:

gcc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.

The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.

*** Failed CC version check. Bailing out! ***
looks like however the antiX kernel is compiled was compiled on debian 13's gcc and dkms is look for debian stable's gcc. dkms build bails out after than as a filed compiler check.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

a_to_z
Posts: 21
Joined: Sun Aug 13, 2023 6:41 am

Re: apt install -f shows problems on proprietary nvidia drivers

#12 Post by a_to_z »

You need to reach anticapitalista since I couldn't do it myself (my IP was banned in antixforum.com - marked as spam).

BTW, I have tried both version - debian-backport & main repo version - both failed to install correctly.

User avatar
dolphin_oracle
Developer
Posts: 22679
Joined: Sun Dec 16, 2007 12:17 pm

Re: apt install -f shows problems on proprietary nvidia drivers  [Solved]

#13 Post by dolphin_oracle »

so the main nvidia-driver package builds OK, but the nvidia-tesla-470-driver package does not.

my suggestion would be to use the main debian kernel, which will almost certainly work, rather than the antiX kernel. the main debian kernel is still a 6.1 kernel.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Stevo
Developer
Posts: 14842
Joined: Fri Dec 15, 2006 7:07 pm

Re: apt install -f shows problems on proprietary nvidia drivers

#14 Post by Stevo »

Since any out of tree DKMS driver is going to have the same type of trouble building on kernels built on a different gcc, I'd think this is a bug that requires kernel rebuilds.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

a_to_z
Posts: 21
Joined: Sun Aug 13, 2023 6:41 am

Re: apt install -f shows problems on proprietary nvidia drivers

#15 Post by a_to_z »

dolphin_oracle wrote: Tue Sep 26, 2023 12:07 pm so the main nvidia-driver package builds OK, but the nvidia-tesla-470-driver package does not.

my suggestion would be to use the main debian kernel, which will almost certainly work, rather than the antiX kernel. the main debian kernel is still a 6.1 kernel.
Thanks for your suggestion. It works.

User avatar
anticapitalista
Developer
Posts: 4315
Joined: Sat Jul 15, 2006 10:40 am

Re: apt install -f shows problems on proprietary nvidia drivers

#16 Post by anticapitalista »

Well spotted dolphin_oracle!
New 6.1 and 5.10 antiX kernels built with correct gcc should appear in the antiX repos soon.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

Post Reply

Return to “antiX”