-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 On Thu, Apr 01, 2010 at 01:51:35PM +0300, Andreas Gerdd spoke thusly:
> Hi.
> 
> Inside the /ports/www/php5 directory,
> 
> i made;
> env FLAVORS="no_x11 no_bz2 no_curl no_gmp no_imap no_ldap
> no_sybase_ct no_xmlrpc no_xsl no_zip" make install.
> 
> But i notified that the installation was installing all these packages
> as well, (env FLAVORS not working?) so, i interrupted the setup with CTRL+C.
> 
> Now i would like to remove all the files it installed.
> "make uninstall" says;
> make: don't know how to make uninstall. Stop in /usr/ports/www/php5.
> and as i know, make clean will only remove the .tgz/.tar.gz compressed files.
> So how can i completely remove ALL the installed files with php5 port?
> 
> Sorry for my newbie question.
> 
> Thanks a lot.
> 

Taken from http://openbsd.org/faq/faq15.html#PkgPartial:
                                                        
     The incomplete installation is usually marked with "partial-"
     prepended to the package name.                               

If you do

ls -l /var/db/pkg/

do you see anything with, as it says, partial prepended to the port/
package name? Also, if you watch while you're installing a port or
package, it installs the ports/packages it needs first, then the
port or package you originally wanted installed last. Consequently,
if you stopped the php5 installation part of the way through while
it was still installing all its dependencies, php5 isn't installed.
So, it makes sense if it says "don't know how to make uninstall",
since it isn't installed.

Look for the port with partial prepended to its name, then do

pkg_info -L partial-port-whatever

and see if it lists what it had installed up to when you stopped it.

As for cleaning up after a port build, see:

http://openbsd.org/faq/faq15.html#PortsClean

Hope this helps you some.


- -- 

===============================================================
Denny White - denny...@cableone.net
GnuPG key  : 0x1644E79A  |  http://wwwkeys.de.pgp.net 
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===============================================================
() ASCII ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
===============================================================
iEYEARECAAYFAku0rU0ACgkQy0Ty5RZE55qdlQCeKfgui8iK7GORIZsN4XghHr4l
V7QAnif9bCMLJKFI6L9HfaZHJ5o0+m5h
=8XaW
-----END PGP SIGNATURE-----

Reply via email to