Re: Poll: How users use DNF

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

 



On Tue, Dec 09, 2014 at 12:28:54PM -0500, Radek Holy wrote:
> Please share with me the use cases, not the description of the "install"
> command. Think twice before you share something because I believe it's
> not as easy as it might seem. As an example I think it might be something
> like:
> 
> - "I call YUM install, because I want to get given packages into my system
>    and I don't care whether it requires an upgrade or downgrade or what." or
> - "I want to get them there but it should protect me against dangerous
>    operations like downgrades" or
> - "I often make typos, so I expect that the program knows what I mean" or
> - "it would be nice if it would literally perform the installation; if any
>    of the packages cannot be installed because of any reason, it should fail".

OpenStack's  devstack.sh deployment script makes use of YUM for two
core tasks.

First it wants to ensure a set of packages exist on the host and wants
to see an error exit status if any of the packages requested are not
present after the command completes. Currently it uses 'install' for
this but has to grep stderr for "No package" to see if YUM claimed
success when it in fact failed to install some of the packages [1].

Second it wants to be able to be to ensure a package is not present
on a server. ie if the package is not installed currently that's fine,
but if it is installed it must be removed. It wants to have an error
status only if the package is installed and cannot be removed.

In both cases it needs to operate non-interactively with no user
prompting.

Regards,
Daniel

[1] https://bugzilla.redhat.com/show_bug.cgi?id=965567
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[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