same error repeating again and again during both plain upgrade and
dist-upgrade on sid, so much that it clears all the previous scrollback
in the terminal (just one line would be fine)
i found this suggestion that says to edit a line in
"/usr/sbin/mkinitramfs" file, like this:
https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/23/diffs
the above edit does the job of getting rid of the console error spam.
someone has to incorporate this edit in an "initramfs-tools-core"
update. the file that needs the above edit belongs to
"initramfs-tools-core". it's neither "kmod" nor "initramfs-tools" (maybe
updating kmod triggers the bug, but the bug itself is in
"initramfs-tools-core")
this is the list of files of "initramfs-tools-core", and you will see
the affected file is in there (this serial redirect is because it's from
another remote system) :
root@sid:~# cat //var/lib/dpkg/info/initramfs-tools-core.list >//dev/ttyS0
/.
/etc
/etc/initramfs-tools
/etc/initramfs-tools/conf.d
/etc/initramfs-tools/hooks
/etc/initramfs-tools/initramfs.conf
/etc/initramfs-tools/scripts
/etc/initramfs-tools/scripts/init-bottom
/etc/initramfs-tools/scripts/init-premount
/etc/initramfs-tools/scripts/init-top
/etc/initramfs-tools/scripts/local-bottom
/etc/initramfs-tools/scripts/local-premount
/etc/initramfs-tools/scripts/local-top
/etc/initramfs-tools/scripts/nfs-bottom
/etc/initramfs-tools/scripts/nfs-premount
/etc/initramfs-tools/scripts/nfs-top
/etc/initramfs-tools/scripts/panic
/usr
/usr/bin
/usr/bin/lsinitramfs
/usr/bin/unmkinitramfs
/usr/sbin
/usr/sbin/mkinitramfs <<== this is the affected file that needs the edit to
keep up with the updated kmod
/usr/share
/usr/share/doc
/usr/share/doc/initramfs-tools-core
/usr/share/doc/initramfs-tools-core/NEWS.Debian.gz
/usr/share/doc/initramfs-tools-core/changelog.gz
/usr/share/doc/initramfs-tools-core/copyright
/usr/share/doc/initramfs-tools-core/examples
/usr/share/doc/initramfs-tools-core/examples/example_hook
/usr/share/doc/initramfs-tools-core/examples/example_script
/usr/share/doc/initramfs-tools-core/examples/framebuffer
/usr/share/doc/initramfs-tools-core/examples/modules
/usr/share/initramfs-tools
/usr/share/initramfs-tools/conf-hooks.d
/usr/share/initramfs-tools/conf.d
/usr/share/initramfs-tools/hook-functions
/usr/share/initramfs-tools/hooks
/usr/share/initramfs-tools/hooks/fsck
/usr/share/initramfs-tools/hooks/keymap
/usr/share/initramfs-tools/hooks/resume
/usr/share/initramfs-tools/hooks/thermal
/usr/share/initramfs-tools/init
/usr/share/initramfs-tools/modules
/usr/share/initramfs-tools/modules.d
/usr/share/initramfs-tools/scripts
/usr/share/initramfs-tools/scripts/functions
/usr/share/initramfs-tools/scripts/init-top
/usr/share/initramfs-tools/scripts/init-top/all_generic_ide
/usr/share/initramfs-tools/scripts/init-top/blacklist
/usr/share/initramfs-tools/scripts/init-top/keymap
/usr/share/initramfs-tools/scripts/local
/usr/share/initramfs-tools/scripts/local-premount
/usr/share/initramfs-tools/scripts/local-premount/resume
/usr/share/initramfs-tools/scripts/nfs
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/initramfs-tools-core
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/initramfs.conf.5.gz
/usr/share/man/man7
/usr/share/man/man7/initramfs-tools.7.gz
/usr/share/man/man8
/usr/share/man/man8/lsinitramfs.8.gz
/usr/share/man/man8/mkinitramfs.8.gz
/usr/share/man/man8/unmkinitramfs.8.gz
/var
/var/lib
/var/lib/initramfs-tools