Re: fedora-upgrade fails with error: unrecognized arguments: --distro-sync

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

 



On Thu, 16 Nov 2017 23:06:33 +0800
Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:

> On 11/16/17 22:49, Christopher Ross wrote:
> > On 16/11/17 14:24, Ed Greshko wrote:  
> >> On 11/16/17 22:04, Christopher Ross wrote:  

> >> How about just doing the "approved" method found at
> >> https://fedoraproject.org/wiki/DNF_system_upgrade  
> >
> > I get a different error with that!  
> 
> Even if the other method "worked" you'd still run into the difficulty
> you show below.
> 
> I don't have a 32bit system and don't have EFI sytems.
> 
> You may want to try adding --skip-broken to the command, or -x to
> exclude the grub2-efi package from the upgrade process.
> 
> >
> > root@nellie 14:43:37 ~ # dnf system-upgrade download --refresh
> > --releasever=27 Before you continue ensure that your system is
> > fully upgraded by running "dnf --refresh upgrade". Do you want to
> > continue [y/N]: Y Adobe Systems Incorporated
> >                                19 kB/s | 1.9 kB     00:00
> > negativo17 - Spotify                                91 kB/s |  15
> > kB     00:00 Fedora 27 - i386 - Updates
> >                               4.8 MB/s | 7.9 MB     00:01 Fedora 27
> > - i386                               3.3 MB/s |  53 MB     00:16
> > RPM Fusion for Fedora 27 - Free - Updates
> >                               284 kB/s | 38 kB     00:00 RPM Fusion
> > for Fedora 27 - Free                               2.2 MB/s | 614
> > kB 00:00 RPM Fusion for Fedora 27 - Nonfree - Updates
> >                               208  B/s | 1.1 kB     00:05 RPM
> > Fusion for Fedora 27 - Nonfree                               947
> > kB/s | 151 kB     00:00 Last metadata expiration check: 0:00:00 ago
> > on Thu 16 Nov 2017 14:47:16 GMT. Error:
> >  Problem: package grub2-efi-1:2.02-0.40.fc26.i686 requires
> > grub2-tools = 1:2.02-0.40.fc26, but none of the providers can be
> > installed
> >   - grub2-tools-1:2.02-0.40.fc26.i686 does not belong to a
> > distupgrade repository
> >   - problem with installed package grub2-efi-1:2.02-0.40.fc26.i686
> > root@nellie 14:47:37 ~ #
> >
> >
> > Regards,
> > Chris R.
> >
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to
> > users-leave@xxxxxxxxxxxxxxxxxxxxxxx  
> 
> 

This sounds like this issue.  I think the workaround is to remove the
obsolete packages before doing the system-upgrade.  You could look at
the bugzilla to see how it has been resolved.

"""
On Tue, 2017-11-14 at 19:07 -0700, Chris Murphy wrote:
> grub2-tools does not belong to a distupgrade repository, causes
> software-upgrade failure
> https://bugzilla.redhat.com/show_bug.cgi?id=1491624  

The problem is that grub2-efi-modules no longer exists after all the
changes to grub2 in f27, but none of the new packages provides or
obsoletes grub2-efi-modules .

When you see an error like this - where it's complaining about packages
from f26 when upgrading to f27 - the mentioned packages themselves are
not the problem. What you need to ask is "why are grub2 and grub2-tools 
not being updated to f27 versions?" And in this case the answer is
"because the old grub2-efi-modules requires grub2-tools of a matching
version, and nothing is causing the old grub2-efi-modules package to be
removed because nothing obsoletes or provides grub2-efi-modules , so
dnf is trying to keep it around, and that's why it wants to keep the
old grub2 and grub2-tools".

One of the other bug reports you closed is actually a different bug of
a similar type: nothing obsoletes/provides grub2-efi on i686.

I have cleaned up and consolidated the bug reports and poked pjones
about them. Thanks.
-- 
Adam Williamson
Fedora QA Community Monkey
"""
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[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