Re: To distro-sync or not distro-sync?

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

 



On Thu, 2015-10-29 at 15:00 +0100, Vít Ondruch wrote:
> Dne 29.10.2015 v 13:24 Honza Šilhan napsal(a):
> > You can exclude the conflicting packages to proceed the system
> > -upgrade i.e.:
> > "dnf system-upgrade download --releasever=23 --distro-sync -x
> > rubygem-celluloid --allowerasing"
> 
> 
> Does the "-x" work actually? Last time I tried, the package I
> excluded
> was not downloaded (as expected), but after restart, the "-x" was not
> used and my system-upgrade failed (this was unexpected). These flags
> should be propagated and honored after restart, during the upgrade
> phase.

Actually, you're correct, the -x/--exclude settings are not currently
propagated to the upgrade. I filed an issue on github to track that:

  https://github.com/rpm-software-management/dnf-plugin-system-upgrade/
issues/29

I *can* add that to the State object that dnf system-upgrade uses to
pass the --best/--allowerasing/etc. settings between the download and
the upgrade, but I think the best long-term solution is for DNF to
provide some .save()/.load() method(s) that will correctly save *all*
the relevant configuration and transaction bits, rather than trying to
figure all of this out on my own in an external plugin.

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