Additional info: dpkg gives an extra empty line if a not-installed package name is given, which is probably what is confusing the awk script. Paul Slootman