Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 10:36:57 -0400 (EDT)
From:      Peter Beckman <beckman@angryox.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: I don't understand this
Message-ID:  <alpine.BSF.0.999.0710151033510.40449@nog.angryox.com>
In-Reply-To: <70B9DC0A085AF432265C026C@paul-schmehls-powerbook59.local>
References:  <BC69E4E92AC0B0E6502F08DB@paul-schmehls-powerbook59.local> <20071014214854.GA9785@just.puresimplicity.net> <70B9DC0A085AF432265C026C@paul-schmehls-powerbook59.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Oct 2007, Paul Schmehl wrote:

> Well, I'll tell you why *I* had trouble with it.  When you run "make install 
> clean" on the php?-extensions port, it *installs* the extensions. Naturally, 
> I expected that when I ran the uninstall, it would uninstall the same ports 
> that it installed previously.  In fact, when you uninstall the 
> php4-extensions port, it *says* it uninstalled, but it *does* nothing. It 
> doesn't even remove the ports from the ports db - nor does it remove the 
> files installed with each extension port.
>
> That's *not* expected behavior for a port.
>
> I had no problem correcting the problem, but I should have had to.  If it's 
> not possible to uninstall the extensions ports from php4-extensions, then it 
> should tell you that when you try to run deinstall.  For me it was a minor 
> inconvenience.  For a newbie, it could be a disaster.

  Easy solution -- when doing a 'make deinstall' from the php?-extensions
  port, simply post a message after deinstalling the meta port:

     "WARNING: deinstallation of php?-extensions does NOT deinstall any
     php?-* ports install. If it is your intension to deinstall any php?-*
     ports installed by php?-extensions, " ... insert proper way to do so
     here ...

  That protect newbies from the same mis-assumption that Paul had, teach
  newbies and experienced FreeBSD admins the "right way" and how meta-ports
  work in FreeBSD, and still protect the whole concept behind how meta-ports
  work.

Beckman
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman@angryox.com                                 http://www.angryox.com/
---------------------------------------------------------------------------
** PLEASE NOTE PurpleCow.com IS NOW AngryOx.com DO NOT USE PurpleCow.com **
** PurpleCow.com is now owned by City Auto Credit LLC as of May 23, 2007 **
---------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.999.0710151033510.40449>