Skip to content Skip सामग्री के लिए


How to get a list of files an RPM package depends on कैसे फ़ाइलों की एक सूची एक RPM संकुल पाने के लिए पर निर्भर करता है

लिनक्स

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 को पैकेज पर निर्भर करता है और आप बेहतर विफल स्थापना रद्द करने की प्रक्रिया को डिबग लैस होगा देख सकते हैं.

Posted in पोस्ट में Linux लिनक्स . .

Related Posts: संबंधित पोस्ट:

How to recover lost Windows passwords कैसे Windows पासवर्ड खो ठीक होने में
How to install and manage packages in Linux with RPM और कैसे स्थापित करने के लिए RPM के साथ लिनक्स में संकुल प्रबंधन
How to install additional fonts for PuTTY on the N95 कैसे जोड़ने का मसाला के लिए अतिरिक्त फ़ॉन्ट N95 पर स्थापित करने के लिए
How to lower the amount of memory that Firefox uses कैसे स्मृति की मात्रा को कम करने फ़ायरफ़ॉक्स का उपयोग करता है
How to split a single flac file into multiple tracks कैसे एकाधिक पटरियों में एक एफ़एलएसी फ़ाइल विभाजन को

One Response एक उत्तर

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

Continuing the Discussion चर्चा सतत

  1. Use CLI to check rpm file dependencies « Linux & Stuff का प्रयोग करें CLI rpm फाइल निर्भरता की जांच करने के लिए «लिनक्स और सामग्री linked to this post on July 28, 2009 28 जुलाई 2009 को इस पोस्ट के लिए लिंक

    [...] in CLI, rpm | Tags: CLI, rpm This should be useful as I've now got OpenSUSE 11.2 installed on my EeePC [...] CLI से, rpm | टैग में [...]: CLI rpm, यह उपयोगी जाना चाहिए के रूप में मैं अब 11.2 OpenSUSE मेरे EeePC पर स्थापित किया है [...]



Some HTML is OK कुछ HTML है ठीक है

or, reply to this post via या, इस पोस्ट के माध्यम से जवाब trackback Trackback . .