Re: [ Pacman -Syu ] Creating temporary files..., error: command failed to execute correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9/8/19 4:40 PM, Xianwen Chen (陈贤文) via arch-general wrote:
> Dear Eli,
> 
> Thank you!
> 
> Is there a way to ask paccheck to list only files that need to be fixed?
> 
> For example, if I run
> 
>     sudo paccheck --file-properties --quiet
> 
> I get list of files with package information and error information, such as
> 
>     screen: '/usr/lib/tmpfiles.d/screen.conf' permission mismatch
> (expected 644)
> 
> Or maybe I need to write a regular expression to extract file name and
> path from such an output myself?
No, paccheck does not have an option to do this. You could try
submitting a feature request for it. :)

You can extract everything between the '' though, which I think should
handle any filenames since packaged filenames can contain spaces or
single quotes but not newlines, and the paccheck output doesn't contain
any more single quotes after the quoted filename.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux