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

Re: [atomic-devel] should we include microdnf in atomic host



On 26/08/17, Dusty Mabe wrote:
> 
> 
> On 08/25/2017 09:05 PM, Colin Walters wrote:
> > 
> > 
> > On Fri, Aug 25, 2017, at 09:52 AM, Dusty Mabe wrote:
> >> If there is ever a case where people "need" to `ostree admin unlock --hotfix`
> >> and install a new patched rpm that hasn't been released yet, should we consider
> >> including microdnf to make it easier to grab those rpms? 
> > 
> > In general, rpm-ostree already has all of the code from libdnf; microdnf just
> > wraps libdnf.   So anything we're not supporting is really a bug; right?
> 
> Yeah if we could just use libdnf and then have microdnf and rpm-ostree use that,
> that would be great. 
> 
> I guess this is a bug, maybe, maybe not. Basically this came up in a conversation
> about the various ways to patch a running production system. The ostree admin unlock
> is the absolute most tactical way to go about it (especially as long as livefs is experimental)
> but there is no great way to install rpms without doing depsolving yourself and having
> to find them on the mirrors.
> 
> > 
> > Isn't your case already mostly covered by
> > # for x in https://kojipkgs.fedoraproject.org//packages/docker/1.13.1/28.gitb5e3294.fc27/x86_64/docker-{common-,rhel-push-plugin-,}1.13.1-28.gitb5e3294.fc27.x86_64.rpm; do curl -L -O $x; done
> > # rpm-ostree ex override replace ./docker-*
> 
> Sure, you depsolved that manually and also found it on the mirrors manually. Also you are 
> relying on an experimental feature (and another experimental feature if you don't want to
> reboot (livefs).
> 
> Even in your scenario it could be useful to have something like microdnf on the system to
> handle some functionality like 'microdnf download foorpm' and get that rpm local onto the
> system. So in your scenario about, even if we weren't using hotfix you could do:
> 
> # microdnf download --resolve docker
> # rpm-ostree ex override replace ./docker-* 
> 

This one is much easier for the endusers. Though I would count the whole
as a RFE than bug.


Kushal
-- 
Fedora Cloud Engineer
CPython Core Developer
https://kushaldas.in
https://dgplug.org


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