NOTE: I already sent this message, but was refused because it was too big, hence I remove the attachment named "test2.tar", mentioned in the message, it can be obtained from "test.tar" by first extracting the archive, then copying the directory "b1" in another directory using "cp -r", then compressing again. The original message follows, I have no time to edit it, sorry. Alle 12:41, venerdì 1 settembre 2006, Lívio Cipriano ha scritto:
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a11.tar.gz ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a11.tar.bz2
and trying to preview them in Konqueror, I receive the error message "Couldn't open the file, probably due to an unsupported file format". The unsupported file format is TAR. Could be damage files, but I can open them with the command line. Other files, with the same extensions, can be previewed in Konqueror.
This is a problem also in ark, both use ktar (don't know what this is); in console it says KTar: WARNING: KTar: invalid TAR file. Header is: erli By removing and adding files, this message can vary a lot. Narrowing this behavior down file by bile, I went to the conclusion that the three files named: COMPILE INSTALL START cause the problem: untar the archive from command line, then tar it again, then open with ark. You don't need to compress the file, the problem lies in the tar file format handling. The weirdest of this all, and frankly I can't understand how this can happen, if you copy the untarred directory with "cp -r" to a new dir, and tar it, ark works on it. If you copy it with "cp --preserve=links -r", and tar it, ark won't work on it. ark --version Qt: 3.3.6 KDE: 3.5.4 Level "a" Ark: 2.6.4 One could then think about symlinks, but, wait, in my narrowed-down example there are NO symlinks! If someone had told me this, I would have called him a liar :) I attach my test tar file, I repeat, if you untar it, cp -r b1 b2, tar cf test2.tar b2, it will work. And there's no observable (with diff, getattr, ls -la) difference between b1 and b2. I also attach the result of doing this, in test2.tar. Of course, diff and xdelta show that there's a difference between the two :) bye Vincenzo