Thanks a lot for your suggestion, this temporary fix also works for me!

Regards
René

On 03/21/2014 01:41 PM, Ralf Utermann wrote:
On 21.03.2014 13:10, René Bleisch wrote:
Hi Toomas,
Both PCs are wheezy (Linux ... 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
GNU/Linux)

"file"-versions:
works correctly:     5.11-2+deb7u*1*
doesn't work:         5.11-2+deb7u*2*

Most likely the  problem is due to the BEGIN { ...} block which is in the
opening of the respective perl-scripts.
( see
I can confirm this. Looks like the problem is
/usr/share/file/magic.mgc in package libmagic1 (5.11-2+deb7u2).
If you install the new packages, but keep an old version of
magic.mgc, it's recognized as perl.
With wheezy-backports libmagic1 (1:5.14-2~bpo70+1) it's also ok.

regards, Ralf

Antwort per Email an