For starters: $ dpkg-parsechangelog --format rfc822 --count 1000 | grep '^Version: ' | grep ubuntu | head -n2 | tail -n1
I have not understand the bit about series from above, but that might get added to the pipeline, e.g. filtering out anything containing "ppa".
For starters:
$ dpkg-parsechangelog --format rfc822 --count 1000 | grep '^Version: ' | grep ubuntu | head -n2 | tail -n1
I have not understand the bit about series from above, but that might get added to the pipeline, e.g. filtering out anything containing "ppa".