slackware中removepkg mysql
# more slackware-version
Slackware 8.1
mysql4.1.10a是拉原始碼安裝的,在/var/log/packages目錄沒有記錄,不能透過removepkg方式uninstall,
而mysql-3.23.51-i386-1,sendmail-8.12.4-i386-1等系統自帶的包則可以. 如下
# /usr/local/mysql/bin/mysql -V
/usr/local/mysql/bin/mysql Ver 14.7 Distrib 4.1.10a, for pc-linux-gnu (i686)
# removepkg mysql
No such package: /var/log/packages/mysql. Can't remove.
# ls -lht *mysql*
ls: *mysql*: No such file or directory
# ls -lht *sendmail*
-rw-r--r-- 1 root root 8.6k Jul 8 2002 sendmail-cf-8.12.4-i386-1
# removepkg sendmail
Removing package /var/log/packages/sendmail-8.12.4-i386-1...
Removing files:
--> Deleting symlink /usr/bin/hoststat
--> Deleting symlink /usr/bin/mailq
--> Deleting symlink /usr/bin/newaliases
--> Deleting symlink /usr/bin/purgestat
--> Deleting symlink /usr/bin/sendmail
--> Deleting symlink /usr/lib/sendmail
--> /etc/mail/access.db.new no longer exists. Skipping.
--> /etc/mail/access.new no longer exists. Skipping.
--> /etc/mail/aliases.db.new no longer exists. Skipping.
--> /etc/mail/aliases.new no longer exists. Skipping.
--> Deleting /etc/mail/helpfile
--> /etc/mail/sendmail.cf.new no longer exists. Skipping.
--> Deleting /etc/mail/statistics
--> /etc/mail/submit.cf.new no longer exists. Skipping.
--> Deleting /etc/rc.d/rc.sendmail
--> Deleting /usr/bin/praliases
--> Deleting /usr/bin/rmail
--> Deleting /usr/bin/vacation
--> Deleting /usr/doc/sendmail-8.12.4/FAQ
--> Deleting /usr/doc/sendmail-8.12.4/INSTALL
--> Deleting /usr/doc/sendmail-8.12.4/KNOWNBUGS
--> Deleting /usr/doc/sendmail-8.12.4/LICENSE
--> Deleting /usr/doc/sendmail-8.12.4/PGPKEYS
--> Deleting /usr/doc/sendmail-8.12.4/README
--> Deleting /usr/doc/sendmail-8.12.4/RELEASE_NOTES
--> Deleting /usr/doc/sendmail-8.12.4/faq.txt
--> Deleting /usr/doc/sendmail-8.12.4/op/Makefile
--> Deleting /usr/doc/sendmail-8.12.4/op/op.me
--> Deleting /usr/doc/sendmail-8.12.4/op/op.ps
--> Deleting /usr/man/man1/mailq.1.gz
--> Deleting /usr/man/man1/newaliases.1.gz
--> Deleting /usr/man/man1/vacation.1.gz
--> Deleting /usr/man/man5/aliases.5.gz
--> Deleting /usr/man/man8/editmap.8.gz
--> Deleting /usr/man/man8/mail.local.8.gz
--> Deleting /usr/man/man8/mailstats.8.gz
--> Deleting /usr/man/man8/makemap.8.gz
--> Deleting /usr/man/man8/praliases.8.gz
--> Deleting /usr/man/man8/rmail.8.gz
--> Deleting /usr/man/man8/sendmail.8.gz
--> Deleting /usr/man/man8/smrsh.8.gz
--> Deleting /usr/sbin/editmap
--> Deleting /usr/sbin/mail.local
--> Deleting /usr/sbin/mailstats
--> Deleting /usr/sbin/makemap
--> /usr/sbin/sendmail.new no longer exists. Skipping.
--> Deleting /usr/sbin/smrsh
--> Deleting /usr/share/sendmail/README.linux
--> Deleting /usr/share/sendmail/linux.smtp.access.cf
--> Deleting /usr/share/sendmail/linux.smtp.cf
--> Deleting /usr/share/sendmail/linux.uucp.cf
--> Deleting /var/log/setup/setup.sendmail
--> Deleting empty directory /var/spool/mqueue/
WARNING: Unique directory /var/spool/clientmqueue/ contains new files
--> Deleting empty directory /usr/doc/sendmail-8.12.4/op/
--> Deleting empty directory /usr/doc/sendmail-8.12.4/
WARNING: Unique directory /etc/mail/ contains new files
#
# more sendmail-cf-8.12.4-i386-1
PACKAGE NAME: sendmail-cf-8.12.4-i386-1
COMPRESSED PACKAGE SIZE: 248 K
UNCOMPRESSED PACKAGE SIZE: 1030 K
PACKAGE LOCATION: /var/log/mount/slackware/n/sendmail-cf-8.12.4-i386-1.tgz
PACKAGE DEscrīptION:
sendmail-cf: sendmail-cf (configuration files for sendmail)
sendmail-cf:
sendmail-cf: These files are used to create sendmail.cf configuration files. The
sendmail-cf: m4 macro processor is also required in order to make use of these
sendmail-cf: files.
sendmail-cf:
sendmail-cf: The files and documentation in /usr/share/sendmail should make it
sendmail-cf: possible to support virtually any mail configuration. NOTE: You
sendmail-cf: probably won't need this package if you're planning to use one of the
sendmail-cf: sendmail.cf samples included in the sendmail package.
sendmail-cf:
FILE LIST:
./
usr/
usr/share/
usr/share/sendmail/
usr/share/sendmail/cf/
usr/share/sendmail/cf/README
usr/share/sendmail/cf/README.linux
usr/share/sendmail/cf/cf/
usr/share/sendmail/cf/cf/Build
usr/share/sendmail/cf/cf/Makefile
usr/share/sendmail/cf/cf/README
usr/share/sendmail/cf/cf/chez.cs.mc
usr/share/sendmail/cf/cf/clientproto.mc
usr/share/sendmail/cf/cf/cs-hpux10.mc
usr/share/sendmail/cf/cf/cs-hpux9.mc
usr/share/sendmail/cf/cf/cs-osf1.mc
usr/share/sendmail/cf/cf/cs-solaris2.mc
usr/share/sendmail/cf/cf/cs-sunos4.1.mc
usr/share/sendmail/cf/cf/cs-ultrix4.mc
usr/share/sendmail/cf/cf/cyrusproto.mc
usr/share/sendmail/cf/cf/generic-bsd4.4.cf
usr/share/sendmail/cf/cf/generic-bsd4.4.mc
usr/share/sendmail/cf/cf/generic-hpux10.cf
usr/share/sendmail/cf/cf/generic-hpux10.mc
usr/share/sendmail/cf/cf/generic-hpux9.cf
usr/share/sendmail/cf/cf/generic-hpux9.mc
usr/share/sendmail/cf/cf/generic-linux.cf
usr/share/sendmail/cf/cf/generic-linux.mc
usr/share/sendmail/cf/cf/generic-mpeix.cf
usr/share/sendmail/cf/cf/generic-mpeix.mc
usr/share/sendmail/cf/cf/generic-nextstep3.3.mc
usr/share/sendmail/cf/cf/generic-osf1.cf
usr/share/sendmail/cf/cf/generic-osf1.mc
usr/share/sendmail/cf/cf/generic-solaris.cf
usr/share/sendmail/cf/cf/generic-solaris.mc
usr/share/sendmail/cf/cf/generic-sunos4.1.cf
usr/share/sendmail/cf/cf/generic-sunos4.1.mc
usr/share/sendmail/cf/cf/generic-ultrix4.cf
usr/share/sendmail/cf/cf/generic-ultrix4.mc
usr/share/sendmail/cf/cf/huginn.cs.mc
usr/share/sendmail/cf/cf/knecht.mc
usr/share/sendmail/cf/cf/mail.cs.mc
usr/share/sendmail/cf/cf/mail.eecs.mc
usr/share/sendmail/cf/cf/mailspool.cs.mc
usr/share/sendmail/cf/cf/python.cs.mc
usr/share/sendmail/cf/cf/s2k-osf1.mc
usr/share/sendmail/cf/cf/s2k-ultrix4.mc
usr/share/sendmail/cf/cf/submit.cf
usr/share/sendmail/cf/cf/submit.mc
usr/share/sendmail/cf/cf/tcpproto.mc
usr/share/sendmail/cf/cf/ucbarpa.mc
usr/share/sendmail/cf/cf/ucbvax.mc
usr/share/sendmail/cf/cf/uucpproto.mc
usr/share/sendmail/cf/cf/vangogh.cs.mc
usr/share/sendmail/cf/cf/generic-nextstep3.3.cf
usr/share/sendmail/cf/cf/linux.smtp-rbl+.mc
usr/share/sendmail/cf/cf/linux.smtp-rbl.mc
usr/share/sendmail/cf/cf/linux.smtp.access.mc
usr/share/sendmail/cf/cf/linux.smtp.mc
usr/share/sendmail/cf/cf/linux.uucp.mc
usr/share/sendmail/cf/cf/config.mc
usr/share/sendmail/cf/domain/
usr/share/sendmail/cf/domain/Berkeley.EDU.m4
usr/share/sendmail/cf/domain/CS.Berkeley.EDU.m4
usr/share/sendmail/cf/domain/EECS.Berkeley.EDU.m4
usr/share/sendmail/cf/domain/S2K.Berkeley.EDU.m4
usr/share/sendmail/cf/domain/generic.m4
usr/share/sendmail/cf/domain/berkeley-only.m4
usr/share/sendmail/cf/feature/
usr/share/sendmail/cf/feature/accept_unqualified_senders.m4
usr/share/sendmail/cf/feature/accept_unresolvable_domains.m4
usr/share/sendmail/cf/feature/access_db.m4
usr/share/sendmail/cf/feature/allmasquerade.m4
usr/share/sendmail/cf/feature/always_add_domain.m4
usr/share/sendmail/cf/feature/authinfo.m4
usr/share/sendmail/cf/feature/bestmx_is_local.m4
usr/share/sendmail/cf/feature/bitdomain.m4
usr/share/sendmail/cf/feature/blacklist_recipients.m4
usr/share/sendmail/cf/feature/compat_check.m4
usr/share/sendmail/cf/feature/delay_checks.m4
usr/share/sendmail/cf/feature/dnsbl.m4
usr/share/sendmail/cf/feature/domaintable.m4
usr/share/sendmail/cf/feature/enhdnsbl.m4
usr/share/sendmail/cf/feature/generics_entire_domain.m4
usr/share/sendmail/cf/feature/genericstable.m4
usr/share/sendmail/cf/feature/ldap_routing.m4
usr/share/sendmail/cf/feature/msp.m4
usr/share/sendmail/cf/feature/limited_masquerade.m4
usr/share/sendmail/cf/feature/local_lmtp.m4
usr/share/sendmail/cf/feature/local_no_masquerade.m4
usr/share/sendmail/cf/feature/local_procmail.m4
usr/share/sendmail/cf/feature/lookupdotdomain.m4
usr/share/sendmail/cf/feature/loose_relay_check.m4
usr/share/sendmail/cf/feature/mailertable.m4
usr/share/sendmail/cf/feature/masquerade_entire_domain.m4
usr/share/sendmail/cf/feature/masquerade_envelope.m4
usr/share/sendmail/cf/feature/no_default_msa.m4
usr/share/sendmail/cf/feature/no垃圾廣告ify.m4
usr/share/sendmail/cf/feature/nodns.m4
usr/share/sendmail/cf/feature/notsticky.m4
usr/share/sendmail/cf/feature/nouucp.m4
usr/share/sendmail/cf/feature/nullclient.m4
usr/share/sendmail/cf/feature/preserve_local_plus_detail.m4
usr/share/sendmail/cf/feature/preserve_luser_host.m4
usr/share/sendmail/cf/feature/promiscuous_relay.m4
usr/share/sendmail/cf/feature/queuegroup.m4
usr/share/sendmail/cf/feature/redirect.m4
usr/share/sendmail/cf/feature/relay_based_on_MX.m4
usr/share/sendmail/cf/feature/relay_entire_domain.m4
usr/share/sendmail/cf/feature/relay_hosts_only.m4
usr/share/sendmail/cf/feature/relay_local_from.m4
usr/share/sendmail/cf/feature/relay_mail_from.m4
usr/share/sendmail/cf/feature/smrsh.m4
usr/share/sendmail/cf/feature/stickyhost.m4
usr/share/sendmail/cf/feature/use_ct_file.m4
usr/share/sendmail/cf/feature/use_cw_file.m4
usr/share/sendmail/cf/feature/uucpdomain.m4
usr/share/sendmail/cf/feature/virtuser_entire_domain.m4
usr/share/sendmail/cf/feature/virtusertable.m4
usr/share/sendmail/cf/hack/
usr/share/sendmail/cf/hack/cssubdomain.m4
usr/share/sendmail/cf/m4/
usr/share/sendmail/cf/m4/cf.m4
usr/share/sendmail/cf/m4/cfhead.m4
usr/share/sendmail/cf/m4/proto.m4
usr/share/sendmail/cf/m4/version.m4
usr/share/sendmail/cf/mailer/
usr/share/sendmail/cf/mailer/cyrus.m4
usr/share/sendmail/cf/mailer/cyrusv2.m4
usr/share/sendmail/cf/mailer/fax.m4
usr/share/sendmail/cf/mailer/local.m4
usr/share/sendmail/cf/mailer/mail11.m4
usr/share/sendmail/cf/mailer/phquery.m4
usr/share/sendmail/cf/mailer/pop.m4
usr/share/sendmail/cf/mailer/procmail.m4
usr/share/sendmail/cf/mailer/qpage.m4
usr/share/sendmail/cf/mailer/smtp.m4
usr/share/sendmail/cf/mailer/usenet.m4
usr/share/sendmail/cf/mailer/uucp.m4
usr/share/sendmail/cf/ostype/
usr/share/sendmail/cf/ostype/aix3.m4
usr/share/sendmail/cf/ostype/aix4.m4
usr/share/sendmail/cf/ostype/aix5.m4
usr/share/sendmail/cf/ostype/altos.m4
usr/share/sendmail/cf/ostype/amdahl-uts.m4
usr/share/sendmail/cf/ostype/a-ux.m4
usr/share/sendmail/cf/ostype/bsd4.3.m4
usr/share/sendmail/cf/ostype/bsd4.4.m4
usr/share/sendmail/cf/ostype/bsdi.m4
usr/share/sendmail/cf/ostype/bsdi1.0.m4
usr/share/sendmail/cf/ostype/bsdi2.0.m4
usr/share/sendmail/cf/ostype/darwin.m4
usr/share/sendmail/cf/ostype/dgux.m4
usr/share/sendmail/cf/ostype/domainos.m4
usr/share/sendmail/cf/ostype/dynix3.2.m4
usr/share/sendmail/cf/ostype/freebsd4.m4
usr/share/sendmail/cf/ostype/freebsd5.m4
usr/share/sendmail/cf/ostype/gnu.m4
usr/share/sendmail/cf/ostype/hpux10.m4
usr/share/sendmail/cf/ostype/hpux11.m4
usr/share/sendmail/cf/ostype/hpux9.m4
usr/share/sendmail/cf/ostype/irix4.m4
usr/share/sendmail/cf/ostype/irix5.m4
usr/share/sendmail/cf/ostype/irix6.m4
usr/share/sendmail/cf/ostype/isc4.1.m4
usr/share/sendmail/cf/ostype/linux.m4
usr/share/sendmail/cf/ostype/maxion.m4
usr/share/sendmail/cf/ostype/mklinux.m4
usr/share/sendmail/cf/ostype/mpeix.m4
usr/share/sendmail/cf/ostype/nextstep.m4
usr/share/sendmail/cf/ostype/openbsd.m4
usr/share/sendmail/cf/ostype/osf1.m4
usr/share/sendmail/cf/ostype/powerux.m4
usr/share/sendmail/cf/ostype/ptx2.m4
usr/share/sendmail/cf/ostype/qnx.m4
usr/share/sendmail/cf/ostype/riscos4.5.m4
usr/share/sendmail/cf/ostype/sco-uw-2.1.m4
usr/share/sendmail/cf/ostype/sco3.2.m4
usr/share/sendmail/cf/ostype/sinix.m4
usr/share/sendmail/cf/ostype/solaris2.m4
usr/share/sendmail/cf/ostype/solaris2.ml.m4
usr/share/sendmail/cf/ostype/solaris2.pre5.m4
usr/share/sendmail/cf/ostype/solaris8.m4
usr/share/sendmail/cf/ostype/sunos3.5.m4
usr/share/sendmail/cf/ostype/sunos4.1.m4
usr/share/sendmail/cf/ostype/svr4.m4
usr/share/sendmail/cf/ostype/ultrix4.m4
usr/share/sendmail/cf/ostype/unixware7.m4
usr/share/sendmail/cf/ostype/unknown.m4
usr/share/sendmail/cf/ostype/uxpds.m4
usr/share/sendmail/cf/sh/
usr/share/sendmail/cf/sh/makeinfo.sh
usr/share/sendmail/cf/siteconfig/
usr/share/sendmail/cf/siteconfig/uucp.cogsci.m4
usr/share/sendmail/cf/siteconfig/uucp.old.arpa.m4
usr/share/sendmail/cf/siteconfig/uucp.ucbarpa.m4
usr/share/sendmail/cf/siteconfig/uucp.ucbvax.m4
install/
install/slack-desc
#
# ls
apache-1.3.24-i386-1 mysql-3.23.51-i386-1 openssh-3.2.3p1-i386-1 sendmail-8.12.4-i386-1
removepkg刪除包的詳細資訊參考man removepkg
那麼,如何徹底地uninstall所有與mysql有關的檔案,目錄呢?
看來只能找到所有相關的檔案,目錄,link並刪除了.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/94384/viewspace-600311/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Slackware 11.0釋出(轉)
- 安全應用Slackware Linux(轉)Linux
- bootsplash for slackware kernel-2.6.12!(轉)boot
- Slackware的啟動(init)過程(轉)
- Slackware 10.0 安裝手記(轉)
- Slackware 10.0 Kernel ??後的流程(轉)
- slackware啟動指令碼詳解(轉)指令碼
- 解決slackware關機問題(轉)
- 安裝一個精簡的 Slackware(轉)
- Slackware LILO 安裝幫助文件(轉)
- 在slackware 10下安裝Oracle 10(轉)Oracle
- 安裝、完善slackware的全部過程(轉)
- Slackware的安裝和Xwindows的設定(轉)Windows
- slackware 10 的安裝程式不能識別iso(轉)
- 【MySQL】MySQL中的鎖MySql
- Slackware Linux技術內幕之--包管理機制(轉)Linux
- Linux是自由的--slackware10安裝手記(轉)Linux
- mysql中 routineMySql
- 【MySQL】MySQL中的鎖機制MySql
- mysql中的xaMySql
- MySQL中的排序MySql排序
- MySQL 中 WITH ROLLUP 用法MySql
- MySql(三) MySql中的鎖機制MySql
- Mysql篇--Linux中安裝MysqlMySqlLinux
- 虛擬機器 之 Fedora Core 5.0 用 Xen 虛擬Slackware 10.2虛擬機
- 【mysql】mysql select中包括計算公式MySql公式
- 【MySQL】再說MySQL中的 table_idMySql
- mysql 5.7中嶄新的 mysql sys schemaMySql
- 【實驗】【MySQL】MySQL中的運算子展示MySql
- (14)mysql 中的事件MySql事件
- MYSQL中replace into的用法MySql
- MySQL中的source命令MySql
- Mysql中的小技巧MySql
- mySQL中replace的用法MySql
- MySQL中的_rowidMySql
- MySQL中的IO流MySql
- MySQL中的Statistics等待MySql
- MYSQL中的那些鎖MySql