yum: command not found after installing

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
dsnyder123
New Forum User
New Forum User
Posts: 4
Joined: Mon Dec 21, 2009 9:40 am

yum: command not found after installing

Unread post by dsnyder123 »

I have installed Yum on Plesk 8.6 Centos 4 (VPS) following the instructions in Yum Wiki at: http://www.atomicorp.com/wiki/index.php/PHP HERE ARE THE RESULTS OF INSTALL

wget http://78.129.170.254/cpinstall/atomic
--05:11:32-- http://78.129.170.254/cpinstall/atomic
=> `atomic'
Connecting to 78.129.170.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8,918 (8.7K) [text/plain]

100%[====================================>] 8,918 30.54K/s

05:11:33 (30.48 KB/s) - `atomic' saved [8918/8918]

-bash-3.00# sh atomic

Atomic Archive installer, version 1.1
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Yum was not detected. Attempting to resolve..

mkdir: `atomic' exists but is not a directory
atomic: line 165: cd: atomic/yumdeps: No such file or directory
warning: sqlite-3.3.6-2.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
rpm-python is needed by yum-2.4.3-3.el4.centos.noarch
Downloading atomic-release-1.0-10.el4.art.noarch.rpm: OK

Would you like to add the Plesk yum repository to the system?

Enable Plesk repository? (y/n) [Default: n]: y

Plesk 8.6 and 9.2 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5

Enable Plesk 8.6 or 9.2? (8/9) [Default: 8]: 8


The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages

Then when I run
-bash-3.00# yum upgrade php
-bash: yum: command not found

-bash-3.00# rpm -q yum
package yum is not installed


Do I need to install rpm-python is needed by yum-2.4.3-3.el4.centos.noarch ? If so how and where to get ?

Any help would be greatly appreciated
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum: command not found after installing

Unread post by scott »

Thats not our installer, you want:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh
dsnyder123
New Forum User
New Forum User
Posts: 4
Joined: Mon Dec 21, 2009 9:40 am

Re: yum: command not found after installing

Unread post by dsnyder123 »

Scott, Thanks for the help unfortunately I am getting the same thing..

-bash-3.00# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

Atomic Archive installer, version 1.1
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Yum was not detected. Attempting to resolve..

mkdir: `atomic' exists but is not a directory
sh: line 177: cd: atomic/yumdeps: No such file or directory
warning: sqlite-3.3.6-2.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
rpm-python is needed by yum-2.4.3-3.el4.centos.noarch
Downloading atomic-release-1.0-11.el4.art.noarch.rpm: OK

Would you like to add the Plesk yum repository to the system?

Enable Plesk repository? (y/n) [Default: n]: y

Plesk 8.6 and 9.2 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5

Enable Plesk 8.6 or 9.2? (8/9) [Default: 8]: 8


The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages


-bash-3.00# yum upgrade php
-bash: yum: command not found

-bash-3.00# rpm -q yum
package yum is not installed


Any other suggestions? Your help is greatly appreciatted..
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum: command not found after installing

Unread post by scott »

Sounds like your hosting company removed yum from the system. I would take this up with them
dsnyder123
New Forum User
New Forum User
Posts: 4
Joined: Mon Dec 21, 2009 9:40 am

Re: yum: command not found after installing

Unread post by dsnyder123 »

I am the hosting company :)
dsnyder123
New Forum User
New Forum User
Posts: 4
Joined: Mon Dec 21, 2009 9:40 am

Re: yum: command not found after installing

Unread post by dsnyder123 »

Scott again thank you for your help.. I got yum installed and re-ran everything.. I now get...

-bash-3.00# yum update php*
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named rpm

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Mar 10 2006, 06:12:09)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


Unfortunately http://wiki.linux.duke.edu/YumFaq is not really offering any solution.. Have you ran into this in the past? Please advise if so..
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum: command not found after installing

Unread post by scott »

You're making your own weather there. Id go with an unmodified distro and all these problems will go away
Post Reply