I ran the Ubuntu updates earlier and got these 'error' messages. The final message stated the updates have been installed, but why did it have errors during the process?
The way to understanding starts from understanding how error messages are formed. Here is the first line of the error, or at least the part that I can see from the image (the really interesting part was cut off):
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: ... .d/blacklist-ideapad.conf line 6: ignoring bad line starting with ...The first part in
green tells us what process or service is reporting. Here, it is
libkmod, a C interface for applications to load and unload Linux kernel modules. (Why have that? I don't have that installed! Applications should not be able to do that, only specialized, privileged user interfaces on behalf of the administrator(s), and those use
modprobe/
insmod/
rmmod like they're supposed to.)
The rest of the line is the actual error message. The black part tells us it was produced by
libkmod/libkmod-config.c line 656, but this is kinda odd; only asserts (that if fail, indicate a programming error) usually do this. The
blue and
red parts are the more commonly seen parts, describing where the error occurred, and what the error is, respectively.
Because part of the error was cut off, I cannot be sure, but I'd wager the missing
blue part is
/etc/modprobe.d/blacklist-ideapad.conf , which is a
modprobe configuration file controlling how some kernel modules are loaded (or not) regarding ideapad devices. Looking at the libkmod/libkmod-config.c:kmod_config_parse() function, I'd wager the problem is that the modules blacklisted by that file do not contain any underscores. (Because libkmod considers blacklisting drivers – using
blacklist drivername – an error. Which is obviously incorrect, but hey, that code is utter crap anyway.)
So, let's recap. During installation, you installed or some package you installed pulled in libkmod. During some trigger (pre- or post-installation, when package install scripts can run things to verify everything is ok, or to set up the package itself) libkmod complained that it must skip some configuration entries in /etc/modprobe.d/blacklist-ideapad.conf because it could not parse them correctly.
How dangerous is this? Not at all. It does mean that libkmod is not usable with kernel modules related to ideapad devices, because it cannot parse the modprobe configuration file.
What should you do about it? Remove (purge!) libkmod, because it is crap. Whatever applications need it, are crap also.
modprobe is provided by
kmod, the official tool package in Debian derivatives for managing Linux kernel mods. libkmod that you have installed, is having trouble with its configuration files, and does parallel stuff, so the problem is solely in libkmod. The best approach to resolving such things is removing the inferior software and all its dependants (libkmod, and all packages depending on it), and add it and its developers to your shitlist. Whenever you see new stuff, you check your shitlist first, because bad programmers that leave such errors languishing for months with zero action even on the git repository will never improve.
Others are much more gentle with their approach, and will not maintain such a shitlist. I do, because I refuse to waste time and effort on the work product of those who are happy to waste others' time and effort.