Bug 171171 - rpmfile fails with: invalid type 20 in mconvert()
rpmfile fails with: invalid type 20 in mconvert()
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-10-18 22:08 EDT by Mihai Ibanescu
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-25 11:46:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mihai Ibanescu 2005-10-18 22:08:23 EDT
rpm version 4.4.2-6 on a fc4 system with some packages upgraded from rawhide.

/usr/lib/rpm/rpmfile some-ascii-file

will fail with:

invalid type 20 in mconvert()

(this breaks rpmbuild, that's how I got to it).

I was able to work around the problem by copying /usr/lib/rpm/magic.mgc from a
box running rpm-4.4.1-21

Caveat emptor: I may be missing some other packages rpm requires, so this may be
a NOTABUG, I didn't have the chance to test it on a real rawhide box.
Comment 1 Paul Nasrat 2005-10-25 11:46:43 EDT
Seems to work fine here on rawhide 


/usr/lib/rpm/rpmfile /etc/passwd
/etc/passwd: ASCII text

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