Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hint about pkg update -f on "size mismatch" #1802

Closed
evilham opened this issue Jan 16, 2020 · 0 comments
Closed

Hint about pkg update -f on "size mismatch" #1802

evilham opened this issue Jan 16, 2020 · 0 comments

Comments

@evilham
Copy link

evilham commented Jan 16, 2020

AFAIU, a definitive fix for #902, #1581, ... is considered to be something like #988, which would imply a lot of work and therefore not a high priority.

However, in the time I've been using FreeBSD, I've seen the same question regarding "size mismatch" and not being able to install packages over and over again.

Maybe a super good interim solution would be a friendly error message?

I was thinking of something like:

pkg: cached package zh-ibus-pinyin-1.5.0_4: size mismatch, cannot continue
Consider running 'pkg update -f' and read man pkg-update(8) .

Would something like this be acceptable? It would certainly eliminate these questions once and for all, even if the ultimative solution takes a while to be designed and implemented.

@bapt bapt closed this as completed in 3b04262 Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant