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

2017-11-16 Thread stan
On Thu, 16 Nov 2017 23:06:33 +0800
Ed Greshko  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@lists.fedoraproject.org
> > To unsubscribe send an email to
> > users-le...@lists.fedoraproject.org  
> 
> 

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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


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

2017-11-16 Thread Ed Greshko
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:
>>>
>>>
>>> On 16/11/17 12:59, Christopher Ross wrote:
 Today I tried upgrading my x86 laptop from Fedora 26 to 27 but it failed 
 with the
 following...
>>>
>>>
>>> For info, trying again consistently yields the same results.
>>>
>>
>> Well, the description of the fedora-upgrade package says...
>>
>> Description  : Upgrade Fedora to next version using dnf upgrade.
>>   : This is attempt to automatize steps as listed here:
>>   : 
>> https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager
>>   :
>>   : This is an unofficial tool, for official Fedora-supported
>>   : upgrades please see:
>>   : https://fedoraproject.org/wiki/Upgrading
>>
>>
>> So, it seems like a work in progress.
>>
>> 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@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org


-- 
Fedora Users List - The place to go to speculate endlessly


signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


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

2017-11-16 Thread Jon Ingason
Den 2017-11-16 kl. 15:04, skrev Christopher Ross:
> 
> 
> On 16/11/17 12:59, Christopher Ross wrote:
>> Today I tried upgrading my x86 laptop from Fedora 26 to 27 but it
>> failed with the following...
> 
> 
> For info, trying again consistently yields the same results.
> 
> 
> root@nellie 13:43:45 ~ # fedora-upgrade
> Going to upgrade your Fedora to version 27.
> You may want to read Release Notes:
>   http://docs.fedoraproject.org/release-notes/
> Hit Enter to continue or Ctrl + C to cancel.

> dnf system-upgrade: error: unrecognized arguments: --distro-sync

If you do
$ grep "\-\-distro-sync" /usr/sbin/fedora-upgrade

you get
dnf system-upgrade download --releasever=$UPGRADE_TO --distro-sync
dnf system-upgrade download --releasever=$UPGRADE_TO --distro-sync
dnf system-upgrade download --releasever=rawhide --distro-sync
--nogpgcheck

and --distro-sync is not an option in dnf.

This is the reason for error.

Therefore this must be a bug. You should report this in bugzilla.

> root@nellie 13:59:51 ~ #
> 
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org


-- 

Jon Ingason
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


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

2017-11-16 Thread Christopher Ross

On 16/11/17 14:24, Ed Greshko wrote:

On 11/16/17 22:04, Christopher Ross wrote:



On 16/11/17 12:59, Christopher Ross wrote:

Today I tried upgrading my x86 laptop from Fedora 26 to 27 but it failed with 
the
following...



For info, trying again consistently yields the same results.



Well, the description of the fedora-upgrade package says...

Description  : Upgrade Fedora to next version using dnf upgrade.
  : This is attempt to automatize steps as listed here:
  : 
https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager
  :
  : This is an unofficial tool, for official Fedora-supported
  : upgrades please see:
  : https://fedoraproject.org/wiki/Upgrading


So, it seems like a work in progress.

How about just doing the "approved" method found at
https://fedoraproject.org/wiki/DNF_system_upgrade


I get a different error with that!

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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


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

2017-11-16 Thread Ed Greshko
On 11/16/17 22:04, Christopher Ross wrote:
>
>
> On 16/11/17 12:59, Christopher Ross wrote:
>> Today I tried upgrading my x86 laptop from Fedora 26 to 27 but it failed 
>> with the
>> following...
>
>
> For info, trying again consistently yields the same results.
>

Well, the description of the fedora-upgrade package says...

Description  : Upgrade Fedora to next version using dnf upgrade.
 : This is attempt to automatize steps as listed here:
 : 
https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager
 :
 : This is an unofficial tool, for official Fedora-supported
 : upgrades please see:
 : https://fedoraproject.org/wiki/Upgrading


So, it seems like a work in progress.

How about just doing the "approved" method found at
https://fedoraproject.org/wiki/DNF_system_upgrade


-- 
Fedora Users List - The place to go to speculate endlessly


signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


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

2017-11-16 Thread Christopher Ross



On 16/11/17 12:59, Christopher Ross wrote:
Today I tried upgrading my x86 laptop from Fedora 26 to 27 but it failed 
with the following...



For info, trying again consistently yields the same results.


root@nellie 13:43:45 ~ # fedora-upgrade
Going to upgrade your Fedora to version 27.
You may want to read Release Notes:
  http://docs.fedoraproject.org/release-notes/
Hit Enter to continue or Ctrl + C to cancel.

Going to run 'dnf upgrade' before upgrading.
This step is highly recommended, but can be safely skipped.
Hit Enter to continue, Ctrl + C to cancel or S + Enter to skip.
Last metadata expiration check: 0:56:43 ago on Thu 16 Nov 2017 12:47:22 GMT.
Dependencies resolved.
Nothing to do.
Complete!

Going to resolve old .rpmsave and .rpmnew files before upgrading.
This step is highly recommended, but can be safely skipped.
Hit Enter to continue, Ctrl + C to cancel or S + Enter to skip. S
Choose upgrade method
  * offline - this use dnf-plugin-system-upgrade plugin and requires 
two reboots

- this is official upgrade method
  * online  - this use distro-sync and require only one reboot
- this is not offically tested by FedoraQA
For more information see https://fedoraproject.org/wiki/Upgrading

What is your choice? (offline/online)  offline
usage: dnf system-upgrade [-c [config file]] [-q] [-v] [--version]
  [--installroot [path]] [--nodocs] [--noplugins]
  [--enableplugin [plugin]] [--disableplugin 
[plugin]]

  [--releasever RELEASEVER] [--setopt SETOPTS]
  [--skip-broken] [-h] [--allowerasing] [-b] [-C]
  [-R [minutes]] [-d [debug level]] [--debugsolver]
  [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
  [--rpmverbosity [debug level name]] [-y]
  [--assumeno] [--enablerepo [repo]]
  [--disablerepo [repo] | --repo [repo]]
  [-x [package]] [--disableexcludes [repo]]
  [--repofrompath [repo,path]] [--noautoremove]
  [--nogpgcheck] [--color COLOR] [--refresh] 
[-4] [-6]

  [--destdir DESTDIR] [--downloadonly]
  [--comment COMMENT] [--bugfix] [--enhancement]
  [--newpackage] [--security] [--advisory ADVISORY]
  [--bzs BUGZILLA] [--cves CVES]
  [--sec-severity 
{Critical,Important,Moderate,Low}]

  [--forcearch ARCH] [--no-downgrade]
  [--number NUMBER]
  [download|clean|reboot|upgrade|log]
dnf system-upgrade: error: unrecognized arguments: --distro-sync
root@nellie 13:59:51 ~ #

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org