httpd卸载掉了,但是前面还安装了好多依赖的RPM包怎么办?
httpd卸载掉了,但是前面还安装了好多依赖的RPM包该怎么卸载掉?已经想不起来都装过什么 了
httpd卸载掉了,但是前面还安装了好多依赖的RPM包该怎么卸载掉?已经想不起来都装过什么 了
2016-04-08
你可以用这个查询依赖包的命令查看 httpd 依赖哪些,然后找到再删除 [root@localhost Server]# rpm -qRp httpd-2.2.3-31.el5.i386.rpm warning: httpd-2.2.3-31.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 /bin/bash /bin/mktemp /bin/mv /bin/rm /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /etc/mime.types /sbin/chkconfig /usr/bin/find /usr/sbin/useradd /usr/share/magic.mime config(httpd) = 2.2.3-31.el5 gawk initscripts >= 8.36 libapr-1.so.0 libaprutil-1.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypt.so.1 libcrypt.so.1(GLIBC_2.0) libcrypto.so.6 libdb-4.3.so libdl.so.2 libexpat.so.0 liblber-2.3.so.0 libldap-2.3.so.0 libm.so.6 libm.so.6(GLIBC_2.0) libpcre.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libselinux.so.1 libssl.so.6 libz.so.1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 rtld(GNU_HASH) sh-utils textutils
举报