Bug 457912 - rpm extfs print "unknown tag"
Summary: rpm extfs print "unknown tag"
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-05 11:36 UTC by Milan Broz
Modified: 2013-07-02 23:31 UTC (History)
3 users (show)

Fixed In Version: 4.6.2-4.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-05 14:05:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Milan Broz 2008-08-05 11:36:57 UTC
Description of problem:
Browsing rpm archives now produces "unknown tag" error.

woring workaround:
comminting out these attributes in /usr/share/mc/extfs/rpm fixed it for me:

@@ -95,10 +95,10 @@ mcrpmfs_list ()
         echo "$FILEPREF 0 $DATE INFO/PACKAGER"
      test "`$RPM -qp --qf \"%{URL}\" \"$f\"`" = "(none)" ||
         echo "$FILEPREF 0 $DATE INFO/URL"
-     test "`$RPM -qp --qf \"%{SERIAL}\" \"$f\"`" = "(none)" ||
-        echo "$FILEPREF 0 $DATE INFO/SERIAL"
-     test "`$RPM -qp --qf \"%{COPYRIGHT}\" \"$f\"`" = "(none)" ||
-        echo "$FILEPREF 0 $DATE INFO/COPYRIGHT"
+##     test "`$RPM -qp --qf \"%{SERIAL}\" \"$f\"`" = "(none)" ||
+##      echo "$FILEPREF 0 $DATE INFO/SERIAL"
+##     test "`$RPM -qp --qf \"%{COPYRIGHT}\" \"$f\"`" = "(none)" ||
+##      echo "$FILEPREF 0 $DATE INFO/COPYRIGHT"
      test "`$RPM -qp --qf \"%{EPOCH}\" \"$f\"`" = "(none)" ||
         echo "$FILEPREF 0 $DATE INFO/EPOCH"
      test "`$RPM -qp --qf \"%{LICENSE}\" \"$f\"`" = "(none)" ||

Problem is with SERIAL and COPYRIGHT attributes...

# rpm -qp --qf %{SERIAL} *rpm
error: incorrect format: unknown tag

(maybe problem of rpm base package?)

Comment 1 Jindrich Novy 2008-08-05 14:05:59 UTC
Fixed in rawhide, thanks!

Comment 2 Fedora Update System 2009-06-01 10:56:12 UTC
mc-4.6.2-4.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/mc-4.6.2-4.fc9

Comment 3 Fedora Update System 2009-06-02 14:16:11 UTC
mc-4.6.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.