I removed pkg with
If I use
pkg delete -f pkg
, and then I used pkg install -f pkg
, the system return:It's very slow, and sometimes it fails.root@freebsd:~ # pkg install -f pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/latest, please wait...
If I use
pkg-static.pkgsave install -f pkg
, it will install pkg
very quickly. so where does it come from?zjs@freebsd:~ % which pkg-static.pkgsave
/usr/local/sbin/pkg-static.pkgsave
zjs@freebsd:~ % pkg which /usr/local/sbin/pkg-static.pkgsave
/usr/local/sbin/pkg-static.pkgsave was not found in the database
zjs@freebsd:~ % ls -al /usr/local/sbin/pkg-static.pkgsave
-rwxr-xr-x 1 root wheel 27768016 Nov 19 2022 /usr/local/sbin/pkg-static.pkgsave