FreeBSD安装软件报错 “You must upgrade the ports-mgmt/pkg port first.” 的解决方法

本文介绍了解决FreeBSD系统中使用pkg安装软件时遇到版本过低的问题。通过升级ports-mgmt/pkg端口来更新pkg到最新版本,具体步骤包括进入相应目录、编译并重新安装。

FreeBSD安装软件时报以下错误:

pkg(8) must be version 1.3.8 or greater, but you have 1.3.7. You must upgrade the ports-mgmt/pkg port first.


解决方法:

# cd /usr/ports/ports-mgmt/pkg
# make
# make reinstall
# pkg2ng


error https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error Error: ENOSPC: no space left on device, write info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command. error https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.21.4.tgz: ENOSPC: no space left on device, write error https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.4.tgz: ENOSPC: no space left on device, write error https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.4.tgz: ENOSPC: no space left on device, write error https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.21.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.21.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write" error https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.21.4.tgz: ENOSPC: no space left on device, write error https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz: Extracting tar content of undefined failed, the file appears to be corrupt:
最新发布
04-02
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值