A
A
Azizka2016-12-05 01:24:58
FreeBSD
Azizka, 2016-12-05 01:24:58

Why can't I install sudo on FreeBSD?

[email protected]:/usr/ports/security/sudo # make install
===> sudo-1.8.18p1 pkg(8) must be version 1.6.0 or greater, but you have
1.5.4. You must upgrade the ports-mgmt/pkg port first.
*** Error code 1
Stop.
deleted everything in the /usr/ports/ directory
then did:
portsnap fetch
portsnap extract
portsnap update
As a result, nothing has changed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2016-12-05
@Azizka

so update pkg, you also wrote that pkg version 1.6.0 and higher is required, and you have 1.5.4
do
pkg update
pkg upgrade pkg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question