On Sat, May 27, 2017 at 1:25 PM, Christoph Biedl <
debian.a...@manchmal.in-ulm.de> wrote:

> tags 863488 moreinfo unreproducible
> thanks
>
> Ben Hildred wrote...
>
> > A recent upgrade has rendered file just about usless as it is only able
> to
> > identify text in the most limited sense.
>
> Works for me:
>
> > for example:
> > $ file /usr/bin/file
> > /etc/magic, 4: Warning: using regular magic file `/usr/share/misc/magic'
> > /usr/bin/file: data
>
> /usr/bin/file: ELF 32-bit LSB shared object, Intel 80386, version 1
> (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux
> 2.6.32, BuildID[sha1]=2f833ab1ff58c9e0ae5801481a0dff1da286f30b, stripped
>
> that's more like it.


> (see the release notes why it's not "executable" any longer)
>
> It hasn't been an issue.


> > or:
> > $ file /usr/share/doc/file/*
> > /etc/magic, 4: Warning: using regular magic file `/usr/share/misc/magic'
> > /usr/share/doc/file/changelog.Debian.gz: data
> > /usr/share/doc/file/changelog.gz:        data
> > /usr/share/doc/file/copyright:           ASCII text
> > /usr/share/doc/file/README.Debian:       ASCII text
> > /usr/share/doc/file/README.gz:           data
>
> Results in the expected output.
>
> What is in /usr/share/misc/magic, and where did the file(s) come
> from?
>
> it is a symbolic link to '../file/magic' which is/usr/share/file/magic an
empty directory. There is also  /usr/share/file/magic.mgc which is a
symbolic link pointing to ../../lib/file/magic.mgc. If I create a symbolic
link from /usr/share/misc/magic.mgc to /usr/lib/file/magic.mgc it starts
working again.


>     Christoph
>



-- 
--
Ben Hildred
Automation Support Services

Reply via email to