View Issue Details

IDProjectCategoryView StatusLast Update
0007611Kali LinuxKali Package Bugpublic2022-12-07 16:37
Reporterzraboin Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Product Version2022.1 
Summary0007611: failing to update linux header after installing NVIDIA driver
Description

<html>Package failed to install:<br /><br />Error while installing package: error creating directory './usr/share/doc/linux-headers-5.16.0-kali3-common'</html>

Activities

arnaudr

arnaudr

2022-03-11 04:24

manager   ~0015861

Hi, can you be more precise please. What nvidia packages are installed on your system? Please run "dpkg-query -W | grep ^nvidia" in a terminal and paste the output here.

Also, what versions of the kernel are currently installed on your system? Please run "dpkg-query -W | grep ^linux" in a terminal and paste the output here.

Thanks.

zraboin

zraboin

2022-03-13 20:14

reporter   ~0015879

$ dpkg-query -W | grep ^nvidia
nvidia-alternative 470.103.01-2
nvidia-detect 470.103.01-2
nvidia-driver 470.103.01-2
nvidia-driver-bin 470.103.01-2
nvidia-driver-libs:amd64 470.103.01-2
nvidia-driver-libs:i386 470.103.01-2
nvidia-egl-common 470.103.01-2
nvidia-egl-icd:amd64 470.103.01-2
nvidia-egl-icd:i386 470.103.01-2
nvidia-installer-cleanup 20220217+1
nvidia-kernel-common 20220217+1
nvidia-kernel-dkms 470.103.01-2
nvidia-kernel-support 470.103.01-2
nvidia-legacy-check 470.103.01-2
nvidia-modprobe 470.103.01-1
nvidia-opencl-common 470.103.01-2
nvidia-opencl-dev:amd64 11.4.3-2
nvidia-persistenced 470.103.01-1
nvidia-settings 470.103.01-1
nvidia-smi 470.103.01-2
nvidia-support 20220217+1
nvidia-vdpau-driver:amd64 470.103.01-2
nvidia-vulkan-common 470.103.01-2
nvidia-vulkan-icd:amd64 470.103.01-2
nvidia-vulkan-icd:i386 470.103.01-2

dpkg-query -W | grep ^linux
linux-base 4.8
linux-compiler-gcc-11-x86 5.16.11-1kali1
linux-headers-amd64 5.16.11-1kali1
linux-image-5.15.0-kali3-amd64 5.15.15-2kali1
linux-image-5.16.0-kali1-amd64 5.16.7-2kali1
linux-image-5.16.0-kali3-amd64 5.16.11-1kali1
linux-image-amd64 5.16.11-1kali1
linux-kbuild-5.16 5.16.11-1kali1
linux-libc-dev:amd64 5.16.11-1kali1

arnaudr

arnaudr

2022-03-14 09:15

manager   ~0015884

Sorry but I can't reproduce your problem. I installed Kali 2022.1, then I installed nvidia-driver, and then I update the kernel and headers. No problem on my side.

You can try something like that:

<pre>
sudo rm -fr /usr/share/doc/linux-headers-5.16.0-kali3-common
sudo apt install --reinstall linux-headers-amd64
</pre>

g0tmi1k

g0tmi1k

2022-12-07 16:37

administrator   ~0017221

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2022-03-10 01:35 zraboin New Issue
2022-03-11 04:24 arnaudr Note Added: 0015861
2022-03-13 20:14 zraboin Note Added: 0015879
2022-03-14 09:15 arnaudr Note Added: 0015884
2022-12-07 16:37 g0tmi1k Note Added: 0017221
2022-12-07 16:37 g0tmi1k Status new => closed