1:carsten@taz:~> grep Installed =apt-listrepository $tmp2 =~ s/^ (Candidate|Installed|Version Table):.*\n//mg; 2:carsten@taz:~> LC_ALL=de_DE.UTF-8 apt-cache policy apt | grep -o Installiert Installiert Looks like a possible bug in apt-listrepository which might occur when it is not run with LC_MESSAGES set to C. Regards Carsten