On Tuesday, 20 September 2016 00:24:36 UTC+10, Marek Marczykowski-Górecki wrote: > Directly - I don't think so. But I haven't checked for any indirect > dependencies (like some Qubes tools require X and X require one of > those). > Also you haven't specified whether it's about dom0 or VM. > - -- > Best Regards, > Marek Marczykowski-Górecki > Invisible Things Lab
Hi Marek, By saying Qubes I mean dom0, because that is Qubes in my mind, where the guests are not Qubes, they are guests. On Tuesday, 20 September 2016 04:52:56 UTC+10, steve.coleman wrote: > Here is a quick hack to answer this kind of question. > > $ cat ./qubes_requires > > #!/bin/bash > PACKAGES=`rpm -qa | grep -i qubes` > REQUIRED=`repoquery --requires --recursive --resolve $PACKAGES 2>&1` > for pkg in "$@" > do > ANS=`echo $REQUIRED | grep -c $pkg` > if [ $ANS -gt 0 ] ; then > echo $pkg yes > else > echo $pkg no > fi > done > > % ./qubes_requires cdparanoia cdrdao dvd+rw-tools enca > cdparanoia yes > cdrdao no > dvd+rw-tools no > enca yes > > You just need to supply a longer list of packages to get the full > answer, and be careful of short package names that might be a substring > of other longer package names. Thanks Steve, I'll look into that most definitely. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/9a268131-b6cf-447d-947a-48e7c01b2a8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.