How to fix error: could not open file /var/lib/pacman/sync/extra.db: gzip decompression failed



I was trying to update/upgrade my Manjaro 17.0. I thing something went wrong with my internet connection and after that I got the following error:
error: could not open file /var/lib/pacman/sync/extra.db: gzip decompression failed
The error appear every time I tried to install package using pacman command. So actually Pacman was unusable at this point. 

How to fix this error?

I was searching around google and found a simple solution for this error. Simply run the following command on Terminal
sudo pacman -Syy
Wait until the repository synced and now the error should be fixed.

1 comments:

Thank you, you solved my problems


EmoticonEmoticon