After the latest update using “sudo parrot-upgrade” I now have an error showing during post on boot
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/blacklist-libnfc.conf line 3: ignoring
Thinking that perhaps initramf was stale and not refreshed after update and reboot, I ran sudo update-initramfs -u in an attempt to force an update, the result was:
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/blacklist-libnfc.conf line 3: ignoring bad line starting with 'blacklist-libnfc.conf'
So I checked the contents of blacklist-libnfc.conf to try and see what the issue was and found:
Still looking for any feedback on this. Can I just delete that line from the blacklist-libnfc.conf file?
Just ran the latest updates as of today.
depmod…
libkmod: ERROR …/libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/blacklist-libnfc.conf line 3: ignoring bad line starting with ‘blacklist-libnfc.conf’
Did you ever find a solution? I am having this exact same issue. Parrot KDE was running fine until I couldn’t update or upgrade anything! Now I’m not able to install packages. The same error message shows up every time.
It’d be great if one of the mods saw this and gave some insight. Patiently waiting until then
Hi. I personally don’t have this line at all. Have you tried upgrading again? Please describe the steps you took for us to reproduce the bug or just delete that line and run parrot-upgrade again.
yes, I have since repeatedly run sudo parrot-upgrade and the sytem has run through the update & upgrade process without a change in the above error.
Google search had several similar finds, the best seemed to be found on
this Ubuntu board
and on Stack Exchange the later is where I got the
"For a Debian-based distribution, this is handled by update-initramfs from the initramfs-tools package, which is mostly a bunch of shell scripts that eventually call cpio . The typical update command looks like this:
sudo update-initramfs -u
I have since removed line 3 and again attempted to update, but still getting the same error even after a restart…still digging into it.
Have you tried to remove the “-” between blacklist and libnfc ? the command is blacklist and it should blacklist the object libnfc.conf. with “-” system tries to execute a command that doesn’t exist.
from what I have read, it might have something to do with the initial RAM filesystem for all installed kernels. Each installed kernel has its own associated initramfs. "The initial RAM filesystem is (re)built under some circumstances, such as when a new kernel is installed and as a result of some driver installations and some configuration changes. " – see the Ubuntu board here
It appears that even though the system has since been shut down and restarted several times, and the command update-initramfs -k all -c was used to rebuild ( -c ) the initial RAM filesystem for all installed kernels ( -k all ).
Even though the line is in fact no longer present in the blacklist-libnfc.conf file, the error message is still persistant…interesting.