On 01:43:16 Oct 05, Jesus Sanchez wrote:
> go to /var/db/pkg
>
> as root, do:
>
> # ls partial*
>
> the output are the partial packages you have to delete
> with pkg_delete

This is what I do since my pkg_add sometimes fails due to an unannounced
power outage or a network outage. (I have fixed both now)

# pkg_info|grep partial

Then delete it with 

# pkg_delete partial-<foo...>

But then sometimes power goes off when our good friend doesn't even get
time to register a partial install. Then you have to manually delete the
offending files.

# pkg_add foo 1>&2 >/tmp/conflict.txt

Then do a grep, cut and some other UNIX jugglery to get rid of the
problem files.

Best,
Girish

Reply via email to