Sometimes when you are trying to uninstall or upgrade some software on a Linux machine you run into dependency related issues. कभी कभी आप स्थापना रद्द या एक Linux मशीन तुम निर्भरता में संबंधित मुद्दों पर चलने पर कुछ सॉफ्टवेयर का उन्नयन जब कोशिश कर रहे हैं. Just about everyone I know who works with RPM based distributions has experienced what is known as “rpm hell” at one time or another. बस सब मुझे पता है, जो RPM आधारित वितरण के साथ काम करता है अनुभव क्या rpm नरक 'के रूप में "एक समय या किसी अन्य पर जाना जाता है के बारे में. Here's something to help you a bit if you are stuck in one of those situations. यहाँ कुछ तुम मदद करने के लिए थोड़ा अगर तुम उन स्थितियों में से एक में फंस रहे हैं.
Let's look at how to check what files an installed RPM depends on. चलो कैसे की जांच करने के लिए क्या एक स्थापित RPM फाइल को देखो पर निर्भर करता है.
Say you are trying to upgrade or uninstall the RPM of sendmail from your Linux computer. कहते हैं कि तुम को उन्नत या आपके Linux कंप्यूटर से sendmail के RPM स्थापना हटाने की कोशिश कर रहे हैं. You might run into dependency issues when you run the uninstall command: तुम निर्भरता मुद्दों में चला सकते हैं जब आप स्थापना रद्द कमांड चलायें:
# rpm -e sendmail-8.13.1-3.2 # Rpm-ई sendmail-8.13.1-3,2
In such a case it might be useful to take a look at what files this package depends on. ऐसे एक मामले में यह है कि इस पैकेज फाइलों पर एक नज़र रखना उपयोगी हो सकती है पर निर्भर करता है. Use the following command: निम्न कमांड का प्रयोग करें:
# rpm -qR sendmail-8.13.1-3.2 # Rpm-qR sendmail-8.13.1-3,2
/bin/bash / bin / मार
/bin/mktemp बिन / mktemp /
/bin/sh बिन / श्री /
/bin/sh बिन / श्री /
/bin/sh बिन / श्री /
/bin/sh बिन / श्री /
/bin/sh बिन / श्री /
/usr/sbin/alternatives usr / sbin / / विकल्प
/usr/sbin/useradd usr / sbin useradd /
bash >= 2.0 मार> = 2.0
chkconfig >= 1.3 chkconfig> = 1.3
config(sendmail) = 8.13.1-3.2.el4 (sendmail) = 8.13.1-config 3.2.el4
cyrus-sasl साइरस-sasl
fileutils fileutils
gawk मूर्ख
libc.so.6 libc.so.6
libc.so.6(GLIBC_2.0) libc.so.6 GLIBC_2.0 ()
libc.so.6(GLIBC_2.1) libc.so.6 GLIBC_2.1 ()
… ...
Now you can see a list of files that the sendmail package depends on and you'll be better equipped to debug the failed uninstallation process. अब आप फ़ाइलों की एक सूची है कि sendmail को पैकेज पर निर्भर करता है और आप बेहतर विफल स्थापना रद्द करने की प्रक्रिया को डिबग लैस होगा देख सकते हैं.























One Response एक उत्तर
Stay in touch with the conversation, subscribe to the बातचीत के साथ संपर्क में रहो, की सदस्यता लें RSS feed for comments on this post आरएसएस के इस पोस्ट पर टिप्पणियों के लिए फ़ीड . .
Continuing the Discussion चर्चा सतत