Problems with pkg_delete *

Tim Judd tajudd at gmail.com
Wed Aug 12 14:35:45 UTC 2009


On 8/12/09, Sdävtaker <sdavtaker at gmail.com> wrote:
> Hi,
> I want to clean up and start again the installation of pkg since i did a
> broken update in python and qt and pretty much everything is broken
> portupgrade never ends, doing make in ports crash pretty much all the time
>><.
> I tried
> # pkg_delete '*'
> Segmentation fault (core dumped)
> # pkg_delete 'kde*'
> Segmentation fault (core dumped)

which is taking your current directory and trying to remove them.  not
gonna happen.

# pkg_delete -af

Try that, it removes all installed ports.  Alternatively, you can:
# rm /usr/local/* /var/db/pkg/*

and have the same result.

Good luck.

> Failed both in multiuser so I tried to do this as monouser and was the same.
> Im running
> FreeBSD user.domain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24
> 00:57:44 UTC 2009
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> Any suggestions?
> Thanks for any help.
>
> Damian


More information about the freebsd-questions mailing list