You are not logged in.
Pages: 1
Topic closed
Hello,
is there an alternative to "rpm -qVa"
with pacman ?
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
Hello,
is there an alternative to "rpm -qVa"
with pacman ?
Are we supposed know how rpm works?
We are on Arch forum, not on Redhat/Fedora ones...
Last edited by jaco (2011-08-22 11:23:02)
Offline
is there an alternative to "rpm -qVa"
with pacman ?
Maybe.
In an rpm-based system, that rpm command lists all installed packages and verifies them against the metadata in the rpm database. To me, this might produce an equivalent output in Arch...
pacman -QkIf not, then study the pacman man page and Archwiki. Maybe you will find something that will do what you want.
Offline
ebal wrote:is there an alternative to "rpm -qVa"
with pacman ?Maybe.
In an rpm-based system, that rpm command lists all installed packages and verifies them against the metadata in the rpm database. To me, this might produce an equivalent output in Arch...
pacman -QkIf not, then study the pacman man page and Archwiki. Maybe you will find something that will do what you want.
If you're sure about this, can you add it to https://wiki.archlinux.org/index.php/Pacman_Rosetta ? 'Package Verification' section is already there, but it doesn't have Arch equivalents listed.
Last edited by karol (2011-08-22 12:51:11)
Offline
Sort of... "pacman -Qk" just checks the files from the package are still on the system. It does not verify that they have not changed. Adding that is on the roadmap for pacman-4.1.
Offline
Allan, -Qkk is nice, to see the number of altered files, but how do we actually see which files are altered (or missing as bonus, but command like trickery can do this easily already)?
-Qkkl would be nice. Output could be along the lines of:
package-name: {missing,altered}: /path/to/folder/filenameLast edited by trusktr (2013-07-16 00:56:44)
joe@trusktr.io - joe at true skater dot io.
Offline
I get a listing of altered files with a comment saying what change has been identified e.g. different size, different modification time... Did you actually try the command on something where you have altered files e.g. something with configuration files? (I tried grub.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Offline
Allan, -Qkk is nice, to see the number of altered files, but how do we actually see which files are altered (or missing as bonus, but command like trickery can do this easily already)?
-Qkkl would be nice. Output could be along the lines of:
package-name: {missing,altered}: /path/to/folder/filename
Did you even run "pacman -Qkk"?
Offline
And, on that note, I think it is safe to close this (almost) two year old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Did you even run "pacman -Qkk"?
Allan, please take a picture of yourself making a face of utter disbelief so we can macro such statements onto it and post them as replies. ![]()
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1
Topic closed