You are not logged in.
I tried a searching a bit on the forum but did not find a solution. pacman -Syu gives this:
kparts: /usr/share/locale/ug/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/uk/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/uz/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/uz@cyrillic/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/vi/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/wa/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/xh/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/zh_CN/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/zh_HK/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/locale/zh_TW/LC_MESSAGES/kparts5.mo exists in filesystem
kparts: /usr/share/qlogging-categories5/kparts.categories exists in filesystem
Errors occurred, no packages were upgraded.
Here is some information that I I got from running commands I found in other posts. Any idea what to do next?
[arnuld@arch64 ~ ]$ pacman -Q kparts
error: package 'kparts' was not found.
[arnuld@arch64 ~ ]$ pacman -Qo /usr/share/qlogging-categories5/kparts.categories
error: No package owns /usr/share/qlogging-categories5/kparts.categories
This package exist in Extra repo; https://archlinux.org/packages/extra/x86_64/kparts/
[arnuld@arch64 ~ ]$ stat /usr/share/qlogging-categories5/kparts.categories
File: /usr/share/qlogging-categories5/kparts.categories
Size: 146 Blocks: 8 IO Block: 4096 regular file
Device: 8,3 Inode: 26125377 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-01-16 23:50:41.000000000 +0530
Modify: 2023-01-07 16:43:44.000000000 +0530
Change: 2023-01-16 23:50:41.005567619 +0530
Birth: 2023-01-16 23:50:41.005567619 +0530
[arnuld@arch64 ~ ]$
Last edited by arnuld (2023-02-23 03:51:01)
Offline
https://wiki.archlinux.org/title/Pacman … )%22_error
If there're more errors like this, you want to
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
to make sure that there're not (further) corruptions in the pacman database.
Some deviances are completely normal, but if anything "mtree" related shows up, there're problems beyond those stale files.
Offline
https://wiki.archlinux.org/title/Pacman … )%22_error
If there're more errors like this, you want to
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
to make sure that there're not (further) corruptions in the pacman database.
Some deviances are completely normal, but if anything "mtree" related shows up, there're problems beyond those stale files.
The output from that command spans thousands of lines but no word like "mtree" is there in those. Almost all of the output is made of such kind of lines:
java-runtime-common: 21 total files, 2 altered files
libutempter: 20 total files, 1 altered file
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (MD5 checksum mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
backup file: pacman: /etc/makepkg.conf (Modification time mismatch)
What you suggest I do next: --overwrite?
Offline
"thousands" is plenty, but eg. the mkinitcpio and libutempter deviation is common.
You'll have to assess this casewise (eg. it's obvious why the config files deviate: you edited them)
If there's no mtree errors, I'd leave it alone until problems arise (don't fix what's not broken)
Do NOT blindly "--overwrite '*'"!
Offline
There is actually more than 200,000 lines of output. I can't check each and every one and then rename/move them. And I can't upgrade till I solve this.
[arnuld@arch64 ~ ]$ sudo LC_ALL=C pacman -Qkk &> debug.txt
[arnuld@arch64 ~ ]$ grep -i mtree debug.txt
[arnuld@arch64 ~ ]$ wc -l debug.txt
209518 debug.txt
Last edited by arnuld (2023-02-22 16:33:04)
Offline
You missed piping it to grep
Online
Looks like most of the lines (207,000) belong to missing gnome icons/themes directories. I removed them manually sometime ago and hence harmless. Only 2015 lines are of concern now
Last edited by arnuld (2023-02-22 16:41:17)
Offline
And I can't upgrade till I solve this.
You can install kparts w/ --overwrite '*' if that's the only problem.
Offline
I used your command
pacman -S --overwrite '*' PACKAGE_NAME_HERE
Just now restarted the computer and everything is looking fine. Thanks for the solution.
Last edited by arnuld (2023-02-23 03:50:48)
Offline
For future readers: this was ok for the kparts package.
Resolving file conflicts this way (w/ globbing) can shred your system configuration if you apply it to the wrong™ package, so to be safe, filter the offending files as narrow as you can.
Offline
There were actually 3 packages:
kparts
python-tornado
aom
UPDATE March 3, 2023: I got the same problem again for today's pacman -Syu, for 2 packages:
knotifyconfig
xmlsec
Same solution: sudo pacman -S --overwrite '*' knotifyconfig xmlsec
Last edited by arnuld (2023-03-03 17:15:43)
Offline