Re: post-install dependencies check

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



On Fri, 2020-02-21 at 14:11 -0500, Jude DaShiell wrote:
> Can pacman be used to find which packages are missing which optional
> dependencies after an install?

In the Internet I found

"For example with xmms2:
pacman -Qi xmms2 | sed -n '/^Optional/,$p' | sed '/^Required/q' | head -n -1 | cut -c19- | cut -d: -f1
"
- https://unix.stackexchange.com/questions/53080/list-optional-dependencies-with-pacman-on-arch-linux

so I reedited it to

for i in $(pacman -Q | cut -d\  -f1); do echo "##### "$i; pacman -Qi $(pacman -Q $i| cut -d\  -f1) | sed -n '/Deps/,$p' | sed '/^Required/q' | grep -v Required\ By | grep -v None | grep -v installed] ; done

To install all packages

"sudo pacman -S --asdeps $(pactree -l wine)" -
https://confluence.jaytaala.com/display/TKB/Install+a+package+with+all+optional+dependencies+in+Arch+based+distros

might do the job.



[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