Pkg not working
Opened this issue · 1 comments
I want to install packages using pkg, but an error pops up. The command is:
[mobile@~/Documents-8:45 AM]$ pkg search /private/var/containers/Bundle/Application/9185B974-3CE4-4E80-9AE0-358A5E8D909A/a-Shell.app/bin/pkg: 2: export: : bad variable name /private/var/containers/Bundle/Application/9185B974-3CE4-4E80-9AE0-358A5E8D909A/a-Shell.app/bin/pkg: 2: export: : bad variable name [mobile@~/Documents-8:45 AM]$
How do i fix this, please!
I cannot reproduce the issue. The command (as copied in your report) is weird: it should be just pkg search
, or pkg search z
. The error message, export: bad variable name
is weird too: pkg
does not call export
or try to set variable names.
Can you type the result of the commands cat $APPDIR/bin/pkg
and env
?