You are not logged in.
Pages: 1
Topic closed
I've set an option in Bleachbit to remove language files other than for my native language because I don't use them and they take up quite a bit of space. However, during system upgrades and AUR upgrades I get lines of warnings about missing language files. A small sampling of the errors follows:
warning: could not get file information for usr/share/locale/be/
warning: could not get file information for usr/share/locale/be/LC_MESSAGES/
warning: could not get file information for usr/share/locale/be/LC_MESSAGES/systemd.mo
warning: could not get file information for usr/lib/chromium/locales/ms.pak
warning: could not get file information for usr/share/man/de/
warning: could not get file information for usr/share/man/de/man1/
warning: could not get file information for usr/share/man/de/man1/inkscape.1.gz
warning: could not get file information for usr/share/man/de/man1/inkview.1.gzIs there a way to disable the warnings?
Last edited by walkingstickfan (2021-12-11 07:49:25)
Arch Linux with Openbox & Tint2
Offline
man pacman.conf | less -p NoExtractOffline
Okay, but wouldn't you need to list each package? If so, that would be quite a list.
Arch Linux with Openbox & Tint2
Offline
No, read the section properly. You don't list packages but filepaths and you can use globs and inverse globs
Offline
https://wiki.archlinux.org/title/Pacman … _to_system
% grep NoE /etc/pacman.conf
NoExtract = usr/share/gtk-doc/*
NoExtract = usr/share/locale/* !usr/share/locale/en_US !usr/share/locale/en !usr/share/locale/locale.alias
NoExtract = usr/share/help/* !usr/share/help/en*
NoExtract = usr/share/man/* !usr/share/man/man*
NoExtract = usr/share/licenses*
NoExtract = usr/share/qt4/translations/*
NoExtract = usr/share/X11/locale/*
NoExtract = usr/lib/chromium/locales/* !usr/lib/chromium/locales/en-US.pak
NoExtract = usr/lib/modules/*/kernel/crypto/speck.ko.xzLast edited by graysky (2021-12-11 11:58:02)
Offline
@V1del & graysky: Okay, but that's still a bit much in my opinion just to disable warnings about missing language files. One thing that Debian does better in my opinion. I don't get any warnings about the missing language files in Debian. In any case, thank you both for your input.
Last edited by walkingstickfan (2021-12-11 19:20:26)
Arch Linux with Openbox & Tint2
Offline
The NoExtract solution is the correct approach. Bleachbit is breaking pacman: the warnings are there for a reason.
Offline
How is it breaking pacman? Why does pacman care about missing language files? I don't use them, so therefore I don't want them. They take up quite a bit of disk space that I can put to better use.
Arch Linux with Openbox & Tint2
Offline
The only files pacman treats differently are backup files. It has no concept of language files or low value files or files walkingstickfan does not want.
Offline
How is it breaking pacman? Why does pacman care about missing language files? I don't use them, so therefore I don't want them. They take up quite a bit of disk space that I can put to better use.
So don't install them in the first place. Bleachbit is a crude tool that operates behind pacman's back.
Offline
Here's a novel thought...why not change pacman to only install the language files for the language selected during the OS installation or the current language default selected by the user? Why is the default to install a bunch of language files that most people probably don't use?
Last edited by walkingstickfan (2021-12-11 19:39:43)
Arch Linux with Openbox & Tint2
Offline
Here's a novel thought...why not change pacman to only install the language files for the language selected during the OS installation or the current language default selected by the user? Why is the default to install a bunch of language files that most people probably don't use?
How could pacman do that when it has no concept of language files?
Offline
Q: how do I stop pacman noticing that I've removed files that it installed
A: tell pacman not to install those files in the first place
R: but I want to keep installing the files, then deleting the files afterwards! Make spacebar-heating a configurable option!.
The appropriate solutions are there for you to utilise. If you want to implement alternative pacman behaviour, feel free to fork the project.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed