Problem

root@freebsd13:~ # pkg-static install intellij
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating ustc repository catalogue...
ustc repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Updating FreeBSD repository catalogue...
^C
root@freebsd13:~ # pkg-static upgrade pkg
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating ustc repository catalogue...
ustc repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating ustc repository catalogue...
ustc repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Updating FreeBSD repository catalogue...

 

 

Resloution

pkg-static bootstrap -f

root@freebsd13:~ # pkg-static bootstrap -f
pkg(8) is already installed. Forcing reinstallation through pkg(7).
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+http://mirrors.ustc.edu.cn/freebsd-pkg/FreeBSD:13:amd64/quarterly, please wait...
Installing pkg-1.19.0...
package pkg is already installed, forced install
Extracting pkg-1.19.0: 100%
root@freebsd13:~ # pkg-static install intellij
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating ustc repository catalogue...
ustc repository is up to date.
All repositories are up to date.
Updating database digests format: 100%

 

posted on 2023-01-11 18:39  你不知道的浪漫  阅读(145)  评论(0编辑  收藏  举报