You are not logged in.
In the past, I used BleachBit and pacmans NoExtract option to only keep english locale files. Because this caused some issues, I decided to revert back to my config without the NoExtract option etc.
However, a lot of packages are now missing their locale files:
$ sudo pacman -Qk
warning: accountsservice: /usr/share/locale/af/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/ar/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/as/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/ast/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/az/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/be/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/bg/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/bn_IN/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/ca/LC_MESSAGES/accounts-service.mo (No such file or directory)
warning: accountsservice: /usr/share/locale/ca@valencia/LC_MESSAGES/accounts-service.mo (No such file or directory)
...
$ sudo pacman -Qk 2>&1 | grep "^warn" | wc -l
6898
How can I tell pacman to download all of them again?
Offline
Have you tried reinstalling accountsservice?
Offline
Have you tried reinstalling accountsservice?
Those are a lot of packages I'd have to reinstall:
$ sudo pacman -Qk 2>&1 | grep -o -P '(?<=warning: ).+(?=: /)' | uniq | wc -l
78
Is there any other option around this?
Offline
willemv wrote:Have you tried reinstalling accountsservice?
Those are a lot of packages I'd have to reinstall:
$ sudo pacman -Qk 2>&1 | grep -o -P '(?<=warning: ).+(?=: /)' | uniq | wc -l 78
Is there any other option around this?
Are you asking if there is another option to restore the files other than reinstalling the 78 packages?
Or are you asking if there is a better command to produce the list of packages to reinstall?
#pacman -S `pacman -Qqo /usr/share/locale/`
Last edited by loqs (2021-06-19 16:59:51)
Offline
Is there any other option around this?
Why? It's the easiest way to fix your issue.
Offline
willemv wrote:Is there any other option around this?
I delete all those locale files on purpose (more than just the files bleachbit would delete) and get those warnings, but have had no actual problems...so, one answer is to do nothing.
"If you do not change direction, you may end up where you are heading." -- L.T.
Offline