Re: yum erase the best way to do reverse dependency checking?

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

 



On 02/21/2011 08:37 AM, Patrick O'Callaghan wrote:
> On Mon, 2011-02-21 at 08:15 -0600, Richard Shaw wrote:
>> On Sun, Feb 20, 2011 at 1:31 PM, Robert Nichols
>> <rnicholsNOSPAM@xxxxxxxxxxx>  wrote:
>>> On 02/20/2011 12:04 PM, Richard Shaw wrote:
>>>> I was googling for a way to figure out a dependency chain for a
>>>> package I'm trying to flush out a spec file for and build. There
>>>> doesn't seem to be a non-destructive equivalent to "yum erase
>>>> <package>" to see if I need to explicitly include a package/program.
>>>>
>>>> Anyone have a solution they like?
>>>
>>> Unless you use "-y" on the command line or have "assumeyes" in your
>>> yum.conf file, yum is going to prompt for confirmation before actually
>>> removing anything.
>>
>> Obviously. I was just trying to find a method that's failsafe. One
>> could argue that it's very easy to accidentally add -y or press y at
>> the prompt because that's what you're used to doing.
>
> echo N|yum erase foo
>
> Not elegant but it works.

Even if someone has "assumeyes" in the yum.conf file?  Pardon me, but
I'm reluctant to test that.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux