I have one on a Debian Buster server
.avi file that is certainly an avi video.
file reports an incorrect result:
$ file -i "myfile.avi" myfile.avi: image/x-tga; charset=binary
What could be the reason?
The same file on my PC (rsynced) is reported correctly as a video.
Looking for a solution, I saw the following:
$ sudo apt remove libmagic1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php7.3-cgi : Depends: libmagic1 but it is not going to be installed Depends: php7.3-cli but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Does this thing help me solve my problem?