pkg_deinstall: "delete all packages installed, except for X, Y and Z"

Fbsd1 fbsd1 at
Fri Jun 5 03:13:32 UTC 2009

Wojciech Puchar wrote:
>>> ignore errors about package can't be deleted because X, Y or Z 
>>> requires it. it's exactly what you want.
>> pkg_delete `cat /tmp/pkglist`  gives error 'no such package `cat 
>> /tmp/pkglist` installed
> for sure you used ' instead of `
   Yet that was the error. I did not know there was another type of 
quote key on the keyboard. The one used in the example is below the Esc key.

More information about the freebsd-questions mailing list