zplug: zplug update: Unknown error if the repo is already updated
Problem Summary
Run zplug update. Then again. You’ll get Unknown errors instead of Up-to-date.
System Information
uname -a
Linux fsociety 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
- zsh version
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
- zplug version/commit
2.4.1
Minimal zshrc
source ~/.zplug/init.zsh
zplug "modules/history", from:prezto
zplug "modules/utility", from:prezto
zplug "modules/ruby", from:prezto
zplug "modules/ssh", from:prezto
zplug "modules/terminal", from:prezto
zplug "modules/directory", from:prezto
zplug "zsh-users/zsh-completions", defer:0
zplug "zsh-users/zsh-autosuggestions", defer:2, on:"zsh-users/zsh-completions"
zplug load --verbose
Steps to Reproduce
- Run
zplug update. Then again. You’ll get Unknown errors instead of Up-to-date.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 9
- Comments: 25 (8 by maintainers)
I had the same problem. In my case, the unknown errors happened with both
zplug updateandzplug install. I have solved the problem by installing gawk.I was having this problem just today and the solution from @youxkei to install
gawkseems to have solved this for meInstalling
gawksolves the problem though I do not know why :😂Same error here. After zplug update, no index.lock file exists. But every plugin shows:
trace file shows plenty of: