It missed one dev header package without the standard numbering, but also didnt pickup the linux-sound-base for Alsa, which might be desired. You can compare both by removing the xargs pipe, like this dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/(.*)-([^0-9]+)/1/")"'/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d'