You are not logged in.
Hello,
I am wondering how to forcefully repeat the install process, including writing files that still seem intact.
The reason I'm asking about this is me (late at night, while tired) typed the wrong command and accidentally rm -rf'd my /usr/share/glib-2.0/schemas, while attempting to delete two schemas in particular. As such, I tried to reinstall gnome, gdm, and all GTK applications to restore the schemas, however, no matter what I do, I am unable to force these files to be created.
How can I force a complete reinstall of the packages, including installing schemas (or is there another way to do this)?
Offline
pacman -S reinstalls all files, even those already present in the file system. In fact `pacman -S` unconditionally removes package’s files before (re)installation.⁽¹⁾
Files in “/usr/share/glib-2.0/schemas/” are owned by their respective packages. Note thowever, that “/usr/share/glib-2.0/schemas/gschemas.compiled” is generated dynamically by “Compiling GSettings XML schema files” hook.⁽²⁾ Possibly glib2 is damaged.
Even if reinstalling glib2 helps, I would strongly recommend running `sudo pacman -Qkq` to find any damage.
____
⁽¹⁾ Run with `--debug` option to see full log.
⁽²⁾ “/usr/share/libalpm/hooks/glib-compile-schemas.hook” owned by glib2.
Last edited by mpan (2024-07-29 22:54:05)
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline