Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: michaa7 on 2015/10/10, 11:15:38

Title: last kernel update fails to build nvidia legacy module: dkms.config not found
Post by: michaa7 on 2015/10/10, 11:15:38
On my experimental, non-systemd system the latest kernelinstall (linux-image-4.2.3-towo.1-siduction-amd64_4.2-5_amd64.deb) fails to build the nvidia 340xx legacy module. So no X after this d-u. So I am reluctant to d-u my current system.

To me
QuoteFileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/
Error! Could not locate dkms.conf file.
File:  does not exist.
seems the culprit.

There are some more errors with this new kernel install although I had no problems with kernel installs the last month:
Quote# dpkg -i /var/cache/apt/archives/linux-image-4.2.3-towo.1-siduction-amd64_4.2-5_amd64.deb
(Lese Datenbank ... 319278 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-image-4.2.3-towo.1-siduction-amd64_4.2-5_amd64.deb ...
Entpacken von linux-image-4.2.3-towo.1-siduction-amd64 (4.2-5) über (4.2-5) ...
linux-image-4.2.3-towo.1-siduction-amd64 (4.2-5) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 32, in get_distro_info
    csvfile = open('/usr/share/distro-info/%s.csv' % origin.lower())
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 51, in <module>
    get_distro_info()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 35, in get_distro_info
    csvfile = open('/usr/share/distro-info/debian.csv')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 32, in get_distro_info
    csvfile = open('/usr/share/distro-info/%s.csv' % origin.lower())
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'


Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 51, in <module>
    get_distro_info()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 35, in get_distro_info
    csvfile = open('/usr/share/distro-info/debian.csv')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'
 
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 51, in <module>
    get_distro_info()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 35, in get_distro_info
    csvfile = open('/usr/share/distro-info/debian.csv')
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'
Error! Could not locate dkms.conf file.
File:  does not exist.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.2.3-towo.1-siduction-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...

There may be missing some part as this output is c&p between two differnt konsoles in init 3.
Title: Re: last kernel update fails to build nvidia legacy module: dkms.config not found
Post by: seasons on 2015/10/11, 04:45:27
Let's start here:
No such file or directory: '/usr/share/distro-info/

Does this directory exist? You have the package for it installed, correct?
https://packages.debian.org/source/sid/distro-info-data
Title: Re: last kernel update fails to build nvidia legacy module: dkms.config not found
Post by: michaa7 on 2015/10/16, 12:04:24
Thanks, it seems this did the trick.