Re: Yum is not an .rpm package error message

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

 



Jesse Keating wrote:

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.


eg:

[root@petra root]# echo "I am not an RPM" > myrpm-1.1-1.noarch.rpm
[root@petra root]# rpm -ivh myrpm-1.1-1.noarch.rpm
error: myrpm-1.1-1.noarch.rpm cannot be installed
[root@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.




I am not so sure this could be as there were no error messages when I downloaded it. This was done twice, once by http from RH's site, and once by ftp from ibiblio.

The md5sum and sum results on both files were the same; the contents were the same when viewed with the less command; and the results of the file command showed type data.

I would report this, but from the responses (or lack thereof) on this list, I may be the only one having the problem, and I am not sure who to tell at RH.

BFD





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux