Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY

Go Back   Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY > CentOS Việt Nam - Viet Nam Linux CentOS Community > Hỏi đáp về CentOS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-10-2008
Hackingart Member
 
Join Date: Sep 2008
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default cannot find YUM

I logged on with root access, then I type
HTML Code:
yum update
But i got
HTML Code:
bash: yum: command not found
then I tried searching rhn.redhat.com for a version of yum package for Linux AS3 with no luck.
Reply With Quote
  #2 (permalink)  
Old 17-10-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 221
Thanks: 22
Thanked 46 Times in 24 Posts
Default

You should make good use of google.com/linux You can find a compatible version of yum from here -
Code:
http://linux.duke.edu/projects/yum/download.ptml
You may need to complie it from source rather than use rpm to install it, but it is a champ. You could also check your install CDs, I bet yum is on one of them.
Reply With Quote
  #3 (permalink)  
Old 17-10-2008
Hackingart Member
 
Join Date: Sep 2008
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default I've do­­­­­­­­­­wnloaded yum and install it, but i got python error

[root@vmhost27117-4 yum-3.2.0]# yum install bugtracker
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
No module named yum
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, Feb 18 2008, 17:17:04) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
If you cannot solve this problem yourself, please go to the yum faq at: YumFaq - Linux@Duke Project Wiki
I goto ­­­­­­­­­w­iki linux, but i got nothing

Last edited by Bobafart; 17-10-2008 at 11:37 AM.
Reply With Quote
  #4 (permalink)  
Old 17-10-2008
Hackingart Member
 
Join Date: Sep 2008
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default

oh, i found IT.
I found that my CentOS version is 4.5 (FMS 3 running only on centoS 4.5) - and I have to use up2date command.
Thanks everybody.
Reply With Quote
Reply

Tags
bash, command, found, yum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:01 AM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.