Solved Consolekit2 not building

Today when I used portmaster to update my ports, it tried to update pulseaudio, which tried to update or install Consolekit2. The error reads:

pkg-static: Requesting argument %2 while only 1 arguments are available. *** Error code 74.
 
Hi all,
I have the same problem:

freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.1-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 12.1-RELEASE-p10.
No updates are available to install.

# portmaster -dfR ports-mgmt/pkg
===> Installing for pkg-1.15.6
===> Checking if pkg is already installed
===> Registering installation for pkg-1.15.6
pkg-static: Requesting argument %2 while only 1 arguments are available
*** Error code 74
 
Now it is fixed for me
pkg Package manager
Last Update: 2020-10-02 10:01:41
Changes from 1.15.6 to 1.15.7:
- Fix %# expand in script

Try to update ports tree and update again your port with all dependancies.
 
Back
Top