{"id":287,"date":"2013-07-30T15:06:52","date_gmt":"2013-07-30T15:06:52","guid":{"rendered":"http:\/\/francisfisher.me.uk\/problem\/?p=287"},"modified":"2013-07-30T15:06:52","modified_gmt":"2013-07-30T15:06:52","slug":"dkms-conf-error-no-built_module_name-directive-specified-for-record-0","status":"publish","type":"post","link":"https:\/\/francisfisher.me.uk\/problem\/2013\/dkms-conf-error-no-built_module_name-directive-specified-for-record-0\/","title":{"rendered":"dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0."},"content":{"rendered":"<p>I recently had an error crop up with an installation of Linux Mint Debian Edition. When upgrading a kernel, or adding\/removing certain software packages, or typing \"dkms autoinstall\" the following error appeared:<\/p>\n<pre>dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.\r\nError! Bad conf file.\r\nFile: \r\ndoes not represent a valid dkms.conf file.<\/pre>\n<p>The error message seemed to be complaining about a file called dkms.conf. Searching for files with that name led me to a file which clearly didn't have a BUILT_MODULE_NAME directive:<br \/>\n<code>\/var\/lib\/dkms\/ndiswrapper\/1.57\/build\/dkms.conf<\/code><\/p>\n<pre>$ cat \/var\/lib\/dkms\/ndiswrapper\/1.57\/build\/dkms.conf\r\n PACKAGE_NAME=\"ndiswrapper\"\r\n PACKAGE_VERSION=\"1.57\"\r\n DEST_MODULE_LOCATION[0]=\"\/updates\"\r\n AUTOINSTALL=\"yes\"<\/pre>\n<p>This file came from the package ndiswrapper-dkms, so purging the package cleared out the problem and allowed modules to be built once again.<br \/>\n<code><br \/>\ndpkg --purge ndiswrapper-dkms<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently had an error crop up with an installation of Linux Mint Debian Edition. When upgrading a kernel, or adding\/removing certain software packages, or typing \"dkms autoinstall\" the following error appeared: dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0. Error! Bad conf file. File: does not represent a valid dkms.conf file. The error [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":3,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/posts\/287\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/francisfisher.me.uk\/problem\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}