[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cleanup after dist-upgrade



For keeping it very quick a top post:

	dpkg --purge $(dpkg -l | grep ^rc | cut -f3 -d\  )

That will take care of all the rc packages.

On Tue, 2006-12-19 at 10:29 +0200, Hans du Plooy wrote:
> OK, I got all the problems sorted out after doing dist-upgrade on a
> live production server :-)
> 
> What's the best way to clean this up?  By the looks of it I now have
> two versions of mysql installed.  mysql -V does give me the 5.0.30
> though:
> 
> # dpkg -l | grep mysql
> rc  courier-authmysql              0.47-4sarge5
> Courier Mail Server - MySQL authentication
> ii  libdbd-mysql-perl              3.0008-1                        A
> Perl5 database interface to the MySQL data
> ii  libmysqlclient10               3.23.56-3
> LGPL-licensed client library for MySQL datab
> ii  libmysqlclient12               4.0.24-10sarge2
> mysql database client library
> ii  libmysqlclient14               4.1.11a-4sarge7
> mysql database client library
> ii  libmysqlclient15off            5.0.30-1
> mysql database client library
> ii  libpam-mysql                   0.6.2-1                         PAM
> module allowing authentication from a My
> ii  mysql-client-5.0               5.0.30-1
> mysql database client binaries
> ii  mysql-common                   5.0.30-1
> mysql database common files (e.g. /etc/mysql
> rc  mysql-common-4.1               4.1.11a-4sarge7
> mysql database common files (e.g. /etc/mysql
> rc  mysql-server                   4.0.24-10sarge2
> mysql database server binaries
> ii  mysql-server-4.1               5.0.30-1
> mysql database server (transitional package)
> ii  mysql-server-5.0               5.0.30-1
> mysql database server binaries
> rc  php4-mysql                     4.3.10-18
> MySQL module for php4
> ii  php5-mysql                     5.2.0-7
> MySQL module for php5
> ii  postfix-mysql                  2.3.4-3
> MYSQL map support for Postfix

Cheers
-- 
greg, greg@gregfolkert.net

The technology that is
Stronger, better, faster:  Linux

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: