Re: preupgrade F10

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

 



Seth Vidal wrote:


On Fri, 20 Mar 2009, Gerry Reno wrote:


Ok, understand that. So an update of yum has to be left until the very last moment just before other things that require
it.

So maybe change the first line to:

if found package that requires new yum or rpm and updated yum or updated rpm is available:



That way yum wouldn't update yum/rpm unless something actually required the updated yum/rpm.

My interest was just to make the process as simple as possible.


Here's my other hang up with it.

If the user issued:

yum install zsh

Does it seem right to check for a yum update and/or rpm updates before doing what the user asked?

I think we'd be better served with making this better via dependencies. If you cannot use your current rpm to install the pkgs updates that are available it should fail long before the transaction.

imo.

-sv

That is what the first 'if' should do. Act as a filter. So only if 'zsh' had a dependency on a new yum or rpm would it go check for a new yum/rpm. Otherwise it would just do the zsh update.

My perspective is from the user point of view. If the user is upgrading to a new release let's say and the process goes along for quite a while and then decides to bomb out because the rpm version needed to be newer then the user becomes confused. The software should take care of this. So if any package in the whole update requires a newer yum/rpm then I think yum should go do that first.


Regards,
Gerry


--
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