Re: [BUG] extfs - rpm archives



Tomas Styblo wrote:

Hello.

I finally installed pre2 and discovered that browsing of rpm
archives no longer works. This problem was not present in pre1.

A short error message is displayed:

    "Inconsistent extfs archive"

My rpm version is 4.0.4.

This problem happens every time.

The problem is somewhere in the /usr/local/share/mc/extfs/rpm
file. When I replaced it with the same file from pre1,
the problem disappeared.


Fixed in CVS.  Thanks for reports.


--
Regards,
Andrew V. Samoilov
Index: mc/vfs/extfs/rpm
diff -u mc/vfs/extfs/rpm:1.14 mc/vfs/extfs/rpm:1.15
--- mc/vfs/extfs/rpm:1.14	Mon Dec 16 19:32:39 2002
+++ mc/vfs/extfs/rpm	Sun Dec 29 04:19:39 2002
@@ -16,7 +16,11 @@
 LC_TIME=C
 export LC_TIME
 
-RPM="rpm --nosignature"
+if rpm --nosignature --version >/dev/null 2>&1; then
+  RPM="rpm --nosignature"
+else
+  RPM="rpm"
+fi
 RPM2CPIO="rpm2cpio"
 
 mcrpmfs_list ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]