You are not logged in.
Pages: 1
I'm not sure if it's relevant, as everything seems to be working fine on my system, but reinstalling those packages didn't change output of the command
LC_ALL=C.UTF-8 pacman -Qk 2>/dev/null | grep -v ' 0 missing files'
audit: 233 total files, 10 missing files
bind: 338 total files, 3 missing files
cups: 946 total files, 2 missing files
mcontrolcenter-git: 27 total files, 1 missing file
nfs-utils: 128 total files, 3 missing files
Should I worry?
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
Here it is
LC_ALL=C.UTF-8 sudo pacman -Qkk audit
audit: 233 total files, 0 altered files
Last edited by Zibi1981 (2024-11-17 11:02:12)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
Zibi1981, is there a reason for that `2>/dev/null` fragment in your invocation? Remove that and you’ll learn what files are “missing”. Or alternatively run the command with sudo. :)
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Ah yes, if I run your first command as normal user, I also see the missing files. That's because pacman is unable to check all files due to missing permissions.
Consequently your second command (pacman -Qkk) without root would also show you which files it cannot access.
Offline
The command is from the Arch wiki regarding pacman.
LC_ALL=C.UTF-8 sudo pacman -Qk | grep -v ' 0 missing files'
[sudo] password for cardiozibi:
warning: cronie: /var/spool/anacron/ (No such file or directory)
warning: cronie: /var/spool/cron/ (No such file or directory)
warning: cups: /var/log/cups/ (No such file or directory)
cronie: 49 total files, 2 missing files
cups: 946 total files, 1 missing file
warning: filesystem: /var/log/old/ (No such file or directory)
warning: filesystem: /var/spool/mail/ (No such file or directory)
filesystem: 124 total files, 2 missing files
warning: gssproxy: /var/log/gssproxy/ (No such file or directory)
gssproxy: 38 total files, 1 missing file
warning: plymouth: /var/spool/plymouth/ (No such file or directory)
plymouth: 496 total files, 1 missing file
warning: samba: /var/log/samba/ (No such file or directory)
warning: samba: /var/spool/samba/ (No such file or directory)
samba: 1093 total files, 2 missing files
warning: systemd: /var/log/journal/ (No such file or directory)
systemd: 1546 total files, 1 missing file
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
So there's a bunch of log and a spooler path missing, that's probably a delierate effort because you're using some tmpfs location or disabled the logs or so?
Offline
Yes, I use tmpfs. Do you think this is the cause?
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
If you moved/removed the log locations somewhere else and deleted the original paths? Sure.
Offline
OK. For now everything seems to be working fine. I've checked this with the command above, because after one of the recent updates (which included systemd if I'm correct) something happened to my Ext4 main partition, and I had to repair it with LiveOS and regenerate /etc/fstab.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
The command is from the Arch wiki regarding pacman.
Was it taken from pacman: Reinstall broken or out-of-sync packages (previous version)? If yes, it was indeed a mistake. Already fixed. If it was taken from another article, please link it. Thanks.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Was it taken from pacman: Reinstall broken or out-of-sync packages (previous version)? If yes, it was indeed a mistake. Already fixed. If it was taken from another article, please link it. Thanks.
Yes, I've taken this command from that wiki entry. Where was the mistake? Lack of "sudo"/"#".
Last edited by Zibi1981 (2024-11-17 16:06:27)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
Yes. It requires root privileges to achieve the desired result.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
See which packages have non-zero "missing files". Results are different when using sudo.
pacman -Qk 2>/dev/null | less -p '[^0] missing'
sudo pacman -Qk 2>/dev/null | less -p '[^0] missing'
NOTE: in nano, just keep clicking "n" to see the next match.
Given a package, find files that are "missing". If not run as root, the results should match the first command (without sudo).
pkg=cups; while read -r w f; do [[ ! -e $f ]] && printf -- '%s\n' "$f" ;done < <(pacman -Ql $pkg )
pkg=bind; while read -r w f; do [[ ! -e $f ]] && printf -- '%s\n' "$f" ;done < <(pacman -Ql $pkg )
NOTE: Not as root/sudo, "Permission denied".
Last edited by mountaintrek (2024-11-18 10:00:37)
Offline
Pages: 1