Your copy of the file has been overwritten or corrupted. On one of my systems it looks like this:
file /usr/bin/apt-cache /usr/bin/apt-cache: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped 2011/11/10 Vertical Limit <[email protected]>: > Hi, > > I'm using Voyage 0.8.0 on an ALIX 3d2 board and I encountered a strange > behaviour. I cannot use the apt-cache command as it returns the following > error... > > bash: /usr/bin/apt-cache: cannot execute binary file > > ...although file permissions are fine: > > root@voyage:/usr/bin# ls -l /usr/bin/apt-cache > -rwxr-xr-x 1 root root 97464 Apr 15 2011 /usr/bin/apt-cache > > apt-get works normal. Some output from the file command: > > root@voyage:/usr/bin# file apt-get > apt-get: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped > > root@voyage:/usr/bin# file apt-cache > apt-cache: data > > Please help. Thanks! > Greetings > > > > > _______________________________________________ > Voyage-linux mailing list > [email protected] > http://list.voyage.hk/mailman/listinfo/voyage-linux > > _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
