CachyOS / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the CachyOS performance optimized distribution
3 stars 0 forks source link

database is inconsistent #16

Closed xiota closed 7 months ago

xiota commented 9 months ago

I see the following errors when I run pacman -Fl [package]:

error: cachyos-core-v3 database is inconsistent: version mismatch on package grub
error: cachyos-core-v3 database is inconsistent: version mismatch on package grub
error: cachyos-extra-v3 database is inconsistent: version mismatch on package camlp5
error: cachyos-extra-v3 database is inconsistent: version mismatch on package kmime
error: cachyos-extra-v3 database is inconsistent: version mismatch on package pdal
error: cachyos-extra-v3 database is inconsistent: version mismatch on package rustypaste
error: cachyos-extra-v3 database is inconsistent: version mismatch on package sbcl
error: cachyos-extra-v3 database is inconsistent: version mismatch on package stumpwm
error: cachyos-extra-v3 database is inconsistent: version mismatch on package webkitgtk-6.0
error: cachyos-extra-v3 database is inconsistent: version mismatch on package webkitgtk-6.0-docs
error: cachyos-extra-v3 database is inconsistent: version mismatch on package wpewebkit
error: cachyos-extra-v3 database is inconsistent: version mismatch on package wpewebkit-docs

No improvement after clearing /var/lib/pacman/sync and updating the database with pacman -Fyy.

After decompressing /var/lib/pacman/sync/cachyos-core-v3.files, I find multiple instances of grub. Probably similar issue with the other packages.

%NAME%
grub
%BASE%
grub
%VERSION%
2:2.12-1.1

%NAME%
grub
%BASE%
grub
%VERSION%
2:2.12rc1-7.1

%NAME%
grub
%BASE%
grub
%VERSION%
2:2.12rc1-7.1
xiota commented 7 months ago

@ptr1337 I still have this problem:

$ sudo pacman -Fy
:: Synchronizing package databases...
...

$ pacman -Fl test
error: cachyos-core-v3 database is inconsistent: version mismatch on package grub
error: cachyos-core-v3 database is inconsistent: version mismatch on package grub
error: package 'test' was not found

Same after sudo pacman -Fyy.

ptr1337 commented 7 months ago

@xiota

Can you check again? Sync might take a bit,

xiota commented 7 months ago

Working now. Thank you.

$ pacman -Fl test
error: package 'test' was not found