Skip to content Skip to content


How to get a list of files an RPM package depends on Kā nokļūt failu saraksts RPM paketi ir atkarīga no

Linux

Sometimes when you are trying to uninstall or upgrade some software on a Linux machine you run into dependency related issues. Dažreiz, kad jūs mēģināt atinstalēt vai atjaunināt dažas programmatūras Linux mašīna jums rodas atkarība no saistītiem jautājumiem. Just about everyone I know who works with RPM based distributions has experienced what is known as “rpm hell” at one time or another. Gandrīz visi es zinu, kas strādā ar apgr. / min, pamatojoties sadalījums ir piedzīvojusi to, kas ir pazīstams kā "rpm ellē" vienā reizē vai citu. Here's something to help you a bit if you are stuck in one of those situations. Šeit ir kaut kas, kas palīdzēs jums mazliet, ja esat iestrēdzis kādā no šīm situācijām.

Let's look at how to check what files an installed RPM depends on. Apskatīsim, kā pārbaudīt, kādi failiem uzstādīta RPM atkarīgs.

Say you are trying to upgrade or uninstall the RPM of sendmail from your Linux computer. Say jūs mēģināt modernizēt vai atinstalēt RPM no sendmail no jūsu Linux datoru. You might run into dependency issues when you run the uninstall command: Jūs varētu uzskriet atkarības problēmu, kad tiek palaista atinstalēt komandu:

# rpm -e sendmail-8.13.1-3.2 # Rpm-e 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. Tādā gadījumā tas varētu būt lietderīgi veikt apskatīt, kādi faili šī pakete ir atkarīgs. Use the following command: Izmantot šādu komandu:

# rpm -qR sendmail-8.13.1-3.2 # Rpm-QR sendmail-8.13.1-3,2
/bin/bash / bin / bash
/bin/mktemp / bin / mktemp
/bin/sh / bin / sh
/bin/sh / bin / sh
/bin/sh / bin / sh
/bin/sh / bin / sh
/bin/sh / bin / sh
/usr/sbin/alternatives / usr / sbin / alternatīvas
/usr/sbin/useradd / usr / sbin / useradd
bash >= 2.0 bash> = 2,0
chkconfig >= 1.3 chkconfig> = 1,3
config(sendmail) = 8.13.1-3.2.el4 config (Sendmail) = 8.13.1-3.2.el4
cyrus-sasl Cyrus-SASL
fileutils fileutils
gawk mūlāps
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. Tagad jūs varat apskatīt sarakstu ar failiem, Sendmail paketes atkarīga un jums būtu labāk sagatavota atkļūdošanas nav atinstalēšanas procesu.

Posted in Posted in Linux Linux . .

Related Posts: Related Posts:

How to recover lost Windows passwords Kā atgūt zaudēto Windows paroles
How to install and manage packages in Linux with RPM Kā instalēt un pārvaldīt paketes, Linux ar apgr. / min
How to install additional fonts for PuTTY on the N95 Kā instalēt papildu fontus tepe uz N95
How to lower the amount of memory that Firefox uses Kā samazināt atmiņas apjomu, ka Firefox izmanto
How to split a single flac file into multiple tracks Kā sadalīt viena flac failu vairākas dziesmas

One Response One Response

Stay in touch with the conversation, subscribe to the Uzturēt kontaktus ar sarunu, abonēt RSS feed for comments on this post RSS barību komentārus par šo ziņu . .

Continuing the Discussion Turpinot iztirzājumu

  1. Use CLI to check rpm file dependencies « Linux & Stuff Lietot CLI, lai pārbaudītu rpm fails atkarības «Linux & Stuff linked to this post on July 28, 2009 saistībā ar šo amatu 2009 28.jūlijs

    [...] in CLI, rpm | Tags: CLI, rpm This should be useful as I've now got OpenSUSE 11.2 installed on my EeePC [...] [...] Ar CLI, apgr. / min | Tags: CLI, apgr / min Tas būtu noderīgi, jo man tagad got OpenSUSE 11,2 uzstādīta uz mana EeePC [...]



Some HTML is OK Daži HTML ir OK

or, reply to this post via vai, atbildot uz šo ziņu izmantojot trackback Trackback . .