You are not logged in.

#1 2024-03-23 14:20:34

kyngs
Member
Registered: 2022-10-16
Posts: 51

[SOLVED] Pacman spams the log with warnings

Most pacman subcommands spam my log with: warning: package_name: unknown key '%INSTALLED_DB%' in local database
Some of the packages printed are not even installed at all. (EDIT: This is not true. I have thought this because I've never installed gnome, but it seems that lutris has gnome-desktop as it's dependency. Just why?)
Here's the whole log for pacman -Syu: https://pastebin.com/PFNL7cKz

Rebuilding the database would probably fix the issue, but I want to avoid that as the process seems hacky at best: https://wiki.archlinux.org/title/Pacman … l_database
Any ideas?

Last edited by kyngs (2024-03-23 14:53:37)

Offline

#2 2024-03-23 14:43:18

Floats
Member
Registered: 2024-01-30
Posts: 4

Re: [SOLVED] Pacman spams the log with warnings

I just reinstalled everything with

# pacman -Qqn | pacman -S -

All the packages were in the cache anyway, so nothing had to be downloaded.

Offline

#3 2024-03-23 14:51:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Offline

#4 2024-03-23 14:53:22

kyngs
Member
Registered: 2022-10-16
Posts: 51

Re: [SOLVED] Pacman spams the log with warnings

Thanks.
Here is the one-liner from the reddit post for anyone interested:

sudo find /var/lib/pacman/local/ -type f -name "desc" -exec sed -i '/^%INSTALLED_DB%$/,+2d' {} \;

Offline

Board footer

Powered by FluxBB