You are not logged in.

#1 2019-08-27 18:11:34

xerxes_
Member
Registered: 2018-04-29
Posts: 92

[Solved] paccheck packages errors

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

#2 2019-08-27 22:14:58

loqs
Member
Registered: 2014-03-06
Posts: 8,779

Re: [Solved] paccheck packages errors

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

Online

#3 2019-08-27 22:53:21

merlock
Member
Registered: 2018-10-30
Posts: 20

Re: [Solved] paccheck packages errors

If you run

pacman -Qkk <filename> 

on your outputs, it should give you what it is finding wrong.


It's a big club...and you ain't in it -- George Carlin

perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#4 2019-08-28 07:24:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,600

Re: [Solved] paccheck packages errors

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.

Offline

#5 2019-08-28 08:09:50

apg
Developer
Registered: 2012-11-10
Posts: 189

Re: [Solved] paccheck packages errors

Replace --list-broken with --quiet and paccheck will tell you exactly what is "wrong" with those packages.

Offline

#6 2019-08-28 12:17:01

xerxes_
Member
Registered: 2018-04-29
Posts: 92

Re: [Solved] paccheck packages errors

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

#7 2019-08-28 18:59:16

loqs
Member
Registered: 2014-03-06
Posts: 8,779

Re: [Solved] paccheck packages errors

V1del wrote:

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.

xerxes_ wrote:

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?

Online

#8 2019-08-30 09:28:39

xerxes_
Member
Registered: 2018-04-29
Posts: 92

Re: [Solved] paccheck packages errors

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

Board footer

Powered by FluxBB