Bug 457912

Summary: rpm extfs print "unknown tag"
Product: [Fedora] Fedora Reporter: Milan Broz <mbroz>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pknirsch, pvrabec, vda.linux
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.6.2-4.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-05 14:05:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.