problem running pkg_delete

Robert Huff roberthuff at rcn.com
Sun May 13 02:54:17 UTC 2012


Stephen Montgomery-Smith writes:
>  > You would probably get the same message from:
>  > mkdir /var/db/pkg/Source
>  > pkg_delete Source
>  >
>  > Try it out!
>  
>  I did think of this.  But this creates the error message:
>  
>  pkg_delete: the package info for package 'Source' is corrupt (use -f to 
>  force removal)
>  
>  and is generated from within pkg_do in 
>  /usr/src/usr.sbin/pkg_install/delete/perform.c
>  
>  This has the additional part to the message "(use -f to force
>  removal)" which the OP did not report.  And if you look at the
>  source, you will see that it has to have some kind of additional
>  message, the other possibility being "(but I'll delete it
>  anyway)".  But maybe the OP forgot to report this.

	No, they didn't.


				Robert Huff



More information about the freebsd-ports mailing list