Guo Qiang

FreeBSD 执行 portsnap fetch update 出现错误

发布日期 2021-02-18 10:31:35已读 651 次FAQ
image

曾经遇到过几次更新 ports 时出现如下的错误信息


# portsnap fetch update

Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 5 metadata files... gunzip: (stdin): unexpected end of file
metadata is corrupt.


这种情况只要清理一下 ports 缓存就能解决


# rm /var/db/portsnap/tag


Copyright © 2019~2024 Guo Qiang
Pages viewed 31,236,317