#!/bin/bash
CMD=$(basename $0)

tmp=/tmp/$CMD.tmp

pkgs=$(sed -e 's/_5.*//' lista-5.0)


dpkg -l | egrep ' libreoffice| libobasis' \
	| sed -e 's/^ii  //' -e 's/ .*//' >$tmp

for i in $pkgs
do
	grep -q "^$i$" $tmp && continue
	echo $i
done
