RPM package Installation Problems

Source: Internet
Author: User
Tags locale setting
How to install the RPM package-general Linux technology-Linux technology and application information. See the post ~!

Lab environment: RHEL4.7
-----------------------------------
[Root @ localhost yum] # rpm-ivh yum_2.4.0-1.centos4_noarch.rpm
Warning: yum_2.4.0-1.centos4_noarch.rpm: V3 DSA signature: NOKEY, key ID 443e1821
Preparing... ######################################## ### [100%]
Package yum-2.4.0-1.centos4 is already installed
[Root @ localhost yum] # rpm-e yum_2.4.0-1.centos4_noarch.rpm
Error: package yum_2.4.0-1.centos4_noarch.rpm is not installed
[Root @ localhost yum] # yum
Traceback (most recent call last ):
File "/usr/bin/yum", line 27, in?
Yummain. main (sys. argv [1:])
File "/usr/share/yum-cli/yummain. py", line 67, in main
Locale. setlocale (locale. LC_ALL ,'')
File "/usr/lib/python2.3/locale. py", line 381, in setlocale
Return _ setlocale (category, locale)
Locale. Error: unsupported locale setting
---------------------------------------------------------
The above code indicates an error message indicating how to install, uninstall, and run yum in RPM in SSH. Can someone explain it?
Thank you ~~ '
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.