Hi all, for now I have been able to find two solutions for the problem.
1) replace 'dpkg --list' with '(COLUMNS=200 && dpkg --list)' 2) replace 'dpkg --list' with the following script suggested by Santiago Vila in the spanish debian user mailing list: (cd /var/lib/dpkg/info/; ls *.list) | sed -e 's/\.list//' | sort Solution 2 is incredibly faster than 1 (0.150 seconds instead of about 2 seconds).
