Re: showing dependency trees

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

 



2009/8/24 Björn Persson <bjorn@xxxxxxxxxxxxxxxxxxxx>:
> Rahul Sundaram wrote:
>> A quick way to actually check for such dependencies is to switch to
>> another desktop environment, say Xfce, remove all the KDE packages and
>> install one of the KDE apps.
>
> That's not all that quick. There ought to be a tool for this. Given a package
> name it should print the dependency tree for that package. It could have an
> option to suppress packages in the base set. Couldn't Yum be taught to answer
> that kind of queries?

I'm not sure this is exactly what you want, but I was using this in my .bashrc:

function dependencylist
{
    yum groupinfo Base | grep -v Packages | sed 1,12d | awk '{print
$1}' > BaseList; yum deplist "$*" | grep provider | awk '{if("grep -q
$2 BaseList") print $2}' | sort | uniq
}


>
> Björn Persson
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>



-- 
Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux