Solved portmaster: "-x is not installed"

I'm trung upgrade php56 and use command key -x to avoid updating sqlite3
portmaster php56 -x sqlite3
or
portmaster php56 -x databases/sqlite3
or
portmaster php56 -x /usr/ports/databases/sqlite3

As result
Code:
===>>> -x is not installed
===>>> Aborting update
Code:
portmaster --version

===>>> Version 3.17.9
What is my mistake?
Of course sqlite3 already installed
 
The flags must be at the beginning of the command. Therefore the correct is:
Code:
portmaster -x sqlite3 php56

I'd recommend, however, the -w and -d flags:

Code:
portmaster -wdx sqlite3 php56

To preserve old libs and delete old distfiles automatically.
 
The flags must be at the beginning of the command. Therefore the correct is:
Code:
portmaster -wdx sqlite3 php56

But I not understand why in the documentation nothing is said about using -x only with -w or -d. Only -x didn't not work for me.
 
But I not understand why in the documentation nothing is said about using -x only with -w or -d. Only -x didn't not work for me.
Are you sure it didn't work? For testing purposes I just installed multimedia/mpv player without Youtube Downloader:

Code:
portmaster -x www/youtube_dl multimedia/mpv
And it work as expected.
 
But I not understand why in the documentation nothing is said about using -x only with -w or -d. Only -x didn't not work for me.
I think there's a misunderstanding here. You can easily use -x without any other options. The reason fulano mentioned this was because using those extra options can make your life a bit easier.

But it's definitely not a requirement.
 
Back
Top