You are not logged in.

#1 2011-08-22 11:06:06

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Figure out the changed files with pacman

Hello,

is there an alternative to "rpm -qVa"
with pacman ?


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

#2 2011-08-22 11:17:43

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Figure out the changed files with pacman

ebal wrote:

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

#3 2011-08-22 12:13:51

stoat
Member
Registered: 2011-08-07
Posts: 12

Re: Figure out the changed files with pacman

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 -Qk

If not, then study the pacman man page and Archwiki. Maybe you will find something that will do what you want.

Offline

#4 2011-08-22 12:49:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Figure out the changed files with pacman

stoat wrote:
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 -Qk

If 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

#5 2011-08-22 12:56:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Figure out the changed files with pacman

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

#6 2013-07-16 00:54:19

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: Figure out the changed files with pacman

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

Last edited by trusktr (2013-07-16 00:56:44)


joe@trusktr.io - joe at true skater dot io.

Offline

#7 2013-07-16 01:04:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: Figure out the changed files with pacman

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

#8 2013-07-16 01:29:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Figure out the changed files with pacman

Offline

#9 2013-07-16 01:31:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Figure out the changed files with pacman

trusktr wrote:

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

#10 2013-07-16 01:40:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: Figure out the changed files with pacman

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

#11 2013-07-16 02:04:18

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Figure out the changed files with pacman

Allan wrote:

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. big_smile


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB