salt icon indicating copy to clipboard operation
salt copied to clipboard

pkg module is broken for FreeBSD

Open m87carlson opened this issue 12 years ago • 1 comments

pkg on FreeBSD has recently dropped the -L flag (legacy switch), so now installing packages through salt fails:

[INFO    ] Executing command '/usr/sbin/pkg install -y -L curl' in directory '/root'
[ERROR   ] Command '/usr/sbin/pkg install -y -L curl' failed with return code: 64
[ERROR   ] stderr: pkg: illegal option -- L
Usage: pkg install [-AfgIinFqRUxy] [-r reponame] <pkg-name> ...

For more information see 'pkg help install'.

Changing to -U resolves the issue.

I have already submitted a pull request: #8987

m87carlson avatar Dec 03 '13 20:12 m87carlson

Looks like this is resolved, right? I'm going to close it.

basepi avatar Dec 04 '13 16:12 basepi