← Back to team overview

ius-community team mailing list archive

Re: yum-plugin-replace

 

Well, first let me say how much I appreciate all the help all of you have given me. It is really, really great.
Now as to Jeff's question, I ran ls -l on the command line and got both rpms, so I assume they are on the root directory. That doesn't tell me why it can't find epel.  

I know the asterisk is supposed to be a wildcard, can I use it here even though there are more than one digit in question?

To reduce errors on my part, I cut and pasted your separate lines for the two rpms and this is what I got:

> rpm -Uvh epel-release*.rpm warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f
Preparing...                ##################################################
epel-release                ################################################## > rpm -Uvh ius-release*.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f
Preparing...                ##################################################
ius-release                 ##################################################

I note it does not say "complete" or "success" or anything like that. Now I will try yum-plugin-replace:

> yum install yum-plugin-replace Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile * epel: mirror.steadfast.net * ius: mirror.rackspace.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-replace.noarch 0:0.2.4-3.el5 set to be updated
--> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package                   Arch          Version               Repository  Size
================================================================================
Installing: yum-plugin-replace        noarch        0.2.4-3.el5           ius         16 k Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s) Total download size: 16 k
Is this ok [y/N]: Exiting on user Command
Complete!

That looks like success to me, although I did not say 'yes' to the 'is this ok' question. I never saw it!
So, now I will go back to the original idea, which was to replace the php and mysql I got from Centos yum. Their php is 
four years old and I can't run Wordpress on it, which is how/why I got here. I don't get having such an out of date
repository, but I guess that's for another day and another forum. Thank you all again so much. Hopefully I won't be back soon ;-)
Finally, if you think I am interpreting my result incorrectly, let me know.

From: Jeff Ness <jeffrey.ness@xxxxxxxxxxxxx>
To: Nat Colley <nat.colley@xxxxxxxxx>
Cc: Ilya A. Otyutskiy <sharp@xxxxxxxxxxx>; "ius-community@xxxxxxxxxxxxxxxxxxx" <ius-community@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 22, 2011 10:06 AM
Subject: Re: [Ius-community] yum-plugin-replace


Nat, 

As you mentioned rpm cant not find the epel RPM package:

> rpm -Uvh ius-release-1.0-8.ius.el5.noarch.rpm epel-release-5-4-noarch.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f
error: open of epel-release-5-4-noarch.rpm failed: No such file or directory 

Can you run "ls -l " in the directory which holds the RPMs? 
Be sure the epel RPM is downloaded and you typed in the name correctly.

To make it a little more understandable you may try installing the RPMs separating:

rpm -Uvh epel-release*.rpm
rpm -Uvh ius-release*.rpm

The warning you are getting about the IUS signature will not cause the RPM to fail installation,
this RPM holds the GPG key and once installed will be good to go.


---
Jeffrey Ness
Linux System Engineer
IT Operations [Development]
Rackspace Hosting & IUS Community

On Sep 22, 2011, at 9:51 AM, Nat Colley wrote:

Sharp, you got me halfway there. Yes, I was typing it in exactly as I saw it, and that included the #. (Obviously I'm new at all of this). Taking that off gives me output, but i still can't run the rpm command as you can see:
>
>
>> wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm --2011-09-22 09:38:27-- http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm Resolving dl.iuscommunity.org... 174.143.24.129
Connecting to dl.iuscommunity.org|174.143.24.129|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12275 (12K) [application/x-rpm]
Saving to: `epel-release-5-4.noarch.rpm' 0K .......... .                                          100%  152M=0s 2011-09-22 09:38:28 (152 MB/s) - `epel-release-5-4.noarch.rpm' saved [12275/12275] > wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-8.ius.el5.noarch.rpm --2011-09-22 09:39:03-- http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-8.ius.el5.noarch.rpm Resolving dl.iuscommunity.org... 174.143.24.129
Connecting to dl.iuscommunity.org|174.143.24.129|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6823 (6.7K) [application/x-rpm]
Saving to: `ius-release-1.0-8.ius.el5.noarch.rpm' 0K ......                                                100%  250K=0.03s 2011-09-22 09:39:03 (250 KB/s) - `ius-release-1.0-8.ius.el5.noarch.rpm' saved [6823/6823] > rpm -Uvh ius-release-1.0-8.ius.el5.noarch. rpm epel-release-5-4-noarch.rpm error: open of ius-release-1.0-8.ius.el5.noarch. failed: No such file or directory
error: open of rpm failed: No such file or directory
error: open of epel-release-5-4-noarch.rpm failed: No such file or directory > rpm -Uvh ius-release-1.0-8.ius.el5.noarch.rpm epel-release-5-4-noarch.rpm warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f
error: open of epel-release-5-4-noarch.rpm failed: No such file or directory
>If I read this right, it found ius but won't install for lack of a key, but it can't find epel at all, even though it downloaded. Suggestions?
>
>________________________________
> From: Ilya A. Otyutskiy <sharp@xxxxxxxxxxx>
>To: Nat Colley <nat.colley@xxxxxxxxx>
>Cc: "ius-community@xxxxxxxxxxxxxxxxxxx" <ius-community@xxxxxxxxxxxxxxxxxxx>
>Sent: Thursday, September 22, 2011 8:48 AM
>Subject: Re: [Ius-community] yum-plugin-replace
>
>On Thu, Sep 22, 2011 at 5:41 PM, Nat Colley <nat.colley@xxxxxxxxx> wrote:
>>
>> Am I supposed to be seeing output after each wget, or only after the rpm command?
>> I am not seeing any output at all. I signed in as root, changed the * to what I could see on the ius site, and this is all I get:
>>
>> > # wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
>> > # wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-8.ius.el5.noarch.rpm
>> > # rpm -Uvh ius-release-1.0-8ius.el5.noarch.rpm epel-release-5-4-noarch.rpm
>>
>> > # rpm -Uvh ius-release-1.0-8.ius.el5.noarch.rpm epel-release-5-4-noarch.rpm
>>
>
>Do you really type that '#' symbol before every command? If so --
>that's your problem, remove it.
>
>--
>SY, Ilya A. Otyutskiy aka Sharp
>
>
>
_______________________________________________
>Mailing list: https://launchpad.net/~ius-community
>Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~ius-community
>More help   : https://help.launchpad.net/ListHelp
>
This email may include confidential information. If you received it in error, please delete it. 

References