Re: pkg_add interrupted by network dis connection, how to resume installation ?
thanks everyone i deleted the partial file in /var/db/pkg manually and it works fine On Sun, Oct 5, 2008 at 1:07 AM, elflord woods [EMAIL PROTECTED]wrote: hello all i was installing a package through pkg_add during the installing of one of the depencies the network conection got lost so i cancled the installation when the connection comes back again i re pkg_add package but get an error conflict with partial pacakage i used pkg_info to see if the partial pacakge is there but it is not there what shall i do ? thanks
Re: pkg_add interrupted by network dis connection, how to resume installation ?
pkg_add -r -F conflicts package -B On 10/4/08, elflord woods [EMAIL PROTECTED] wrote: hello all i was installing a package through pkg_add during the installing of one of the depencies the network conection got lost so i cancled the installation when the connection comes back again i re pkg_add package but get an error conflict with partial pacakage i used pkg_info to see if the partial pacakge is there but it is not there what shall i do ? thanks
Re: pkg_add interrupted by network dis connection, how to resume installation ?
elflord woods escribis: hello all i was installing a package through pkg_add during the installing of one of the depencies the network conection got lost so i cancled the installation when the connection comes back again i re pkg_add package but get an error conflict with partial pacakage i used pkg_info to see if the partial pacakge is there but it is not there what shall i do ? thanks go to /var/db/pkg as root, do: # ls partial* the output are the partial packages you have to delete with pkg_delete -Jesus
Re: pkg_add interrupted by network dis connection, how to resume installation ?
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 12 /tmp/conflict.txt Then do a grep, cut and some other UNIX jugglery to get rid of the problem files. Best, Girish