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

Valentin Bud valentin.bud at gmail.com
Fri Jun 5 07:56:46 UTC 2009


On Fri, Jun 5, 2009 at 6:13 AM, Fbsd1 <fbsd1 at a1poweruser.com> wrote:

> 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.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

The `` (below your escape key) do command substitution while '' do quoting.
This is just FYI :).

a great day,
v



-- 
network warrior since 2005


More information about the freebsd-questions mailing list