On Mon, May 22, 2006 at 10:44:34PM +0200, JB MORLA wrote: > I have mistakenly installed php4 when I wanted php5. > Which apt-get commands should I use to completely remove PHP 4?
This ought to do it: apt-get --purge remove `dpkg --get-selections | grep php4 | awk '{print $1}'` You might prefer to see what you're removing first, so you could just do: dpkg --get-selections | grep php4 and then apt-get --purge remove them individually ... Cheers, Paul -- Paul Dwerryhouse | PGP Key ID: 0x6B91B584 ======================================================================== Using Linux's ethernet bridge support: http://nepotismia.com/linux/bridge/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]