Спойлер

среда, 18 ноября 2015 г.

FreeBSD 10 pkg error : size mismatch, fetching from remote

The new package manager pkg is really a beauty, it runs well and well rounded with a nice syntax.
But it will happen to you that even toe you’ve updated the repository list it will still give you the following error :
“size mismatch, fetching from remote”  and “size mismatch, cannot continue” when trying to fetch one of your
favorite programs.
First reflex as a old linux user is to update the repository “pkg update” which doesn’t yield any results, your still getting
the error “size mismatch, fetching from remote” and “size mismatch, cannot continue".
To solve this :
Use the -f option to force the re-downloading of the repositories.
pkg update -f

Комментариев нет:

Отправить комментарий