You are not logged in.
I read manual of pacrepairdb command and at the end I found a command pipe:
paccheck --list-broken --files --file-properties --db-files --require-mtree | pacrepairdb
I run
paccheck --list-broken --files --file-properties --db-files --require-mtree
and it found errors in packages:
accountsservice
atop
ghc-libs
linux
linux-lts
mlocate
shadow
systemd
vlc
Should I start to worry and repair pacman database by running first command pipe or just ignore it.
I didn't see any problems with my system, so maybe leave this as it is (don't change what's ain't broken)?
Last edited by xerxes_ (2019-08-30 09:30:04)
Offline
I doubt the issue is the pacman database files. What if you remove file-properties from being checked?
paccheck --list-broken --files --db-files --require-mtree
Offline
If you run
pacman -Qkk <filename>
on your outputs, it should give you what it is finding wrong.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
linux, linux-lts, vlc, shadow are of the top of my head normal, as they include runtime adjusted/generated files depending on your setup, which will by definition differ from package defaults, from what i know ghc-libs most likely too no clue about atop and accountservice mlocate should not be there though I might be missing some context and can't verify on my system right now.
Online
Replace --list-broken with --quiet and paccheck will tell you exactly what is "wrong" with those packages.
Offline
paccheck --list-broken --files --db-files --require-mtree
dosen't return any errors
paccheck --quiet --files --file-properties --db-files --require-mtree
listed
accountsservice: '/var/lib/AccountsService/icons' permission mismatch (expected 755)
atop: '/var/log/atop/dummy_after' permission mismatch (expected 644)
atop: '/var/log/atop/dummy_after' modification time mismatch (expected 2019-02-06 21:40:14)
atop: '/var/log/atop/dummy_before' permission mismatch (expected 644)
atop: '/var/log/atop/dummy_before' modification time mismatch (expected 2019-02-06 21:40:14)
ghc-libs: '/usr/lib/ghc-8.6.5/package.conf.d/package.cache' modification time mismatch (expected 2019-04-24 21:34:58)
ghc-libs: '/usr/lib/ghc-8.6.5/package.conf.d/package.cache' size mismatch (expected 166.95 K)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.alias' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.alias.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.builtin.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.dep' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.dep.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.devname' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.softdep' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.symbols' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.symbols.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.alias' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.alias.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.builtin.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.dep' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.dep.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.devname' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.softdep' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.symbols' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.symbols.bin' modification time mismatch (expected 2019-08-25 18:27:01)
mlocate: '/var/lib/mlocate' GID mismatch (expected 0/root)
shadow: '/usr/bin/newgidmap' permission mismatch (expected 4755)
shadow: '/usr/bin/newuidmap' permission mismatch (expected 4755)
systemd: '/var/log/journal' GID mismatch (expected 984/unknown group)
vlc: '/usr/lib/vlc/plugins/plugins.dat' modification time mismatch (expected 2019-08-21 20:26:38)
vlc: '/usr/lib/vlc/plugins/plugins.dat' size mismatch (expected 290.02 K)
What should I do now?
Update:
I changed permissions and groups, but don't know and can't find what is 984 group? I don't have it in /etc/group file. I won't change modification times, because I don't think it's important, but why there are modification time and size mismatches?
Now it looks like this:
paccheck --quiet --files --file-properties --db-files --require-mtree
atop: '/var/log/atop/dummy_after' modification time mismatch (expected 2019-02-06 21:40:14)
atop: '/var/log/atop/dummy_before' modification time mismatch (expected 2019-02-06 21:40:14)
ghc-libs: '/usr/lib/ghc-8.6.5/package.conf.d/package.cache' modification time mismatch (expected 2019-04-24 21:34:58)
ghc-libs: '/usr/lib/ghc-8.6.5/package.conf.d/package.cache' size mismatch (expected 166.95 K)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.alias' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.alias.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.builtin.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.dep' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.dep.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.devname' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.softdep' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.symbols' modification time mismatch (expected 2019-08-16 13:28:51)
linux: '/usr/lib/modules/5.2.9-arch1-1-ARCH/modules.symbols.bin' modification time mismatch (expected 2019-08-16 13:28:51)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.alias' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.alias.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.builtin.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.dep' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.dep.bin' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.devname' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.softdep' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.symbols' modification time mismatch (expected 2019-08-25 18:27:01)
linux-lts: '/usr/lib/modules/4.19.68-1-lts/modules.symbols.bin' modification time mismatch (expected 2019-08-25 18:27:01)
systemd: '/var/log/journal' GID mismatch (expected 984/unknown group)
vlc: '/usr/lib/vlc/plugins/plugins.dat' modification time mismatch (expected 2019-08-21 20:26:38)
vlc: '/usr/lib/vlc/plugins/plugins.dat' size mismatch (expected 290.02 K)
Last edited by xerxes_ (2019-08-28 12:57:23)
Offline
linux, linux-lts, vlc, shadow are of the top of my head normal, as they include runtime adjusted/generated files depending on your setup, which will by definition differ from package defaults, from what i know ghc-libs most likely too no clue about atop and accountservice mlocate should not be there though I might be missing some context and can't verify on my system right now.
I changed permissions and groups, but don't know and can't find what is 984 group? I don't have it in /etc/group file. I won't change modification times, because I don't think it's important, but why there are modification time and size mismatches?
This is expected behavior for linux, linux-lts, mlocate, shadow, systemd and vlc so why do you want to change it?
Offline
Thanks, this command (paccheck --quiet --files --file-properties --db-files --require-mtree) was very helpful, because it checks all packages at once; I reinstall some damaged python packages on second system. Now I leave it as it is. For me it's solved.
Offline