{"action":"created","issue":{"url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/169","repository_url":"https://api.github.com/repos/ustclug/mirrorrequest","labels_url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/169/comments","events_url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/169/events","html_url":"https://github.com/ustclug/mirrorrequest/issues/169","id":285077612,"number":169,"title":"freebsd-pkg镜像存在问题：提示size mismatch","user":{"login":"ykla","id":10327999,"avatar_url":"https://avatars1.githubusercontent.com/u/10327999?v=4","gravatar_id":"","url":"https://api.github.com/users/ykla","html_url":"https://github.com/ykla","followers_url":"https://api.github.com/users/ykla/followers","following_url":"https://api.github.com/users/ykla/following{/other_user}","gists_url":"https://api.github.com/users/ykla/gists{/gist_id}","starred_url":"https://api.github.com/users/ykla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykla/subscriptions","organizations_url":"https://api.github.com/users/ykla/orgs","repos_url":"https://api.github.com/users/ykla/repos","events_url":"https://api.github.com/users/ykla/events{/privacy}","received_events_url":"https://api.github.com/users/ykla/received_events","type":"User","site_admin":false},"labels":[{"id":181972037,"url":"https://api.github.com/repos/ustclug/mirrorrequest/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-12-29T11:23:52Z","updated_at":"2017-12-30T15:29:20Z","closed_at":"2017-12-30T15:29:20Z","author_association":"NONE","body":"pkg install vim\r\n提示:\r\npkg: cached package *:size mismatch, cannot continue\r\n\r\n尝试pkg update -f\r\n以及rm /var/db/pkg/*\r\n\r\n环境：FreeBSD11.1\r\n\r\n源配置过程:\r\n\r\n----------------------------------------------------------------------------------------------------\r\n========================\r\nfreebsd-pkg 源使用帮助\r\n========================\r\n\r\n地址\r\n====\r\n\r\nhttps://mirrors.ustc.edu.cn/freebsd-pkg/\r\n\r\n说明\r\n====\r\n\r\nFreeBSD PKG 软件源\r\n\r\n收录架构\r\n========\r\n\r\ni386，amd64，aarch64, armv6, mips, mips64\r\n\r\n\r\n收录版本\r\n========\r\n\r\nFreeBSD 8, FreeBSD 9, FreeBSD 10, FreeBSD 11, FreeBSD 12\r\n\r\n使用方法\r\n========\r\n \r\n \r\n创建用户级PKG源文件 :\r\n\t\t\t\t\t`#mkdir -p /usr/local/etc/pkg/repos` ：\r\n\t\t\t\t\t`#cd /usr/local/etc/pkg/repos` ：\r\n\t\t\t\t\t`#ee 1.ustc.conf` 或 file:`#vi 1.ustc.conf` ：\r\n\r\n* 添加以下内容以使用USTC源：\r\n\r\n::\r\n\r\n\t\tustc: {\r\n\t\t  url: \"pkg+http://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/latest\",\r\n\t\t  mirror_type: \"srv\",\r\n\t\t  signature_type: \"none\",\r\n\t\t  fingerprints: \"/usr/share/keys/pkg\",\r\n\t\t  enabled: yes\r\n\t\t}\r\n\t\r\n\r\n* （建议）禁用系统级PKG源\r\n\r\n\t\r\n\t``mv /etc/pkg/FreeBSD.conf /etc/pkg/FreeBSD.conf.back``\r\n\r\n \r\n然后运行 ``pkg update -f`` 更新索引以生效。 \r\n\r\n\r\n\r\n相关链接\r\n========\r\n\r\n:官方主页: https://www.freebsd.org\r\n:论坛: https://forums.freebsd.org/\r\n:文档: https://www.freebsd.org/doc\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/comments/354551878","html_url":"https://github.com/ustclug/mirrorrequest/issues/169#issuecomment-354551878","issue_url":"https://api.github.com/repos/ustclug/mirrorrequest/issues/169","id":354551878,"user":{"login":"gaoyifan","id":5450996,"avatar_url":"https://avatars3.githubusercontent.com/u/5450996?v=4","gravatar_id":"","url":"https://api.github.com/users/gaoyifan","html_url":"https://github.com/gaoyifan","followers_url":"https://api.github.com/users/gaoyifan/followers","following_url":"https://api.github.com/users/gaoyifan/following{/other_user}","gists_url":"https://api.github.com/users/gaoyifan/gists{/gist_id}","starred_url":"https://api.github.com/users/gaoyifan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaoyifan/subscriptions","organizations_url":"https://api.github.com/users/gaoyifan/orgs","repos_url":"https://api.github.com/users/gaoyifan/repos","events_url":"https://api.github.com/users/gaoyifan/events{/privacy}","received_events_url":"https://api.github.com/users/gaoyifan/received_events","type":"User","site_admin":false},"created_at":"2017-12-30T15:29:20Z","updated_at":"2017-12-30T15:29:20Z","author_association":"OWNER","body":"请参考 review 信息修改文档。这个 issue 先关啦。"}}
{"actor":{"display_login":"gaoyifan"}}