Yum is not an .rpm package error message

Jesse Keating jkeating at j2solutions.net
Wed Nov 19 01:23:12 UTC 2003

On Tuesday 18 November 2003 06:23, BFD wrote:
> For the file from my Fedora cd:
> $md5sum yum-2.0.4-2.noarch.rpm
> dd4249018c1674b73e9ddab08828303f  yum-2.0.4-2.noarch.rpm
> $sum yum-2.0.4-2.noarch.rpm
> 29472   127
> For the file I downloaded
> $md5sum yum-2.0.4-2.noarch.rpm
> 8a82c3f05fca0a615d1765394376f809  yum-2.0.4-2.noarch.rpm
> $sum yum-2.0.4-2.noarch.rpm
> 47550   127

Try actually using "file" on the file.  A file extension is by no means 
an indication as to what the file actually is.


[root at petra root]# echo "I am not an RPM" > myrpm-1.1-1.noarch.rpm
[root at petra root]# rpm -ivh myrpm-1.1-1.noarch.rpm
error: myrpm-1.1-1.noarch.rpm cannot be installed
[root at petra root]# file myrpm-1.1-1.noarch.rpm
myrpm-1.1-1.noarch.rpm: ASCII text

My guess is that you got a 404 page when you downloaded the file, but 
it's html content in a file named foo.rpm.

Jesse Keating RHCE MCSE (geek.j2solutions.net)
Fedora Legacy Team      (www.fedora.us/wiki/FedoraLegacy)
Mondo DevTeam           (www.mondorescue.org)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
Was I helpful?  Let others know:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031118/f015c3fa/attachment-0001.sig>

More information about the fedora-list mailing list