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.























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