Bug 1214255 - fedup: error: unrecognized arguments: --product=nonproduct
Summary: fedup: error: unrecognized arguments: --product=nonproduct
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1225102 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-22 10:02 UTC by Germano Massullo
Modified: 2015-05-27 15:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-26 14:39:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Germano Massullo 2015-04-22 10:02:44 UTC
Description of problem:
Testing Fedora 21 KDE spin upgrade to Fedora 22 KDE spin, caused the following error message


[root@localhost caterpillar]# fedup --network 22--product=nonproduct                                                                                                                                          
usage: fedup <SOURCE> [options]                                                                                                                                                                                
fedup: error: unrecognized arguments: --product=nonproduct 

Version-Release number of selected component (if applicable):
0.9.1-1.fc21

Comment 1 Will Woods 2015-04-22 17:15:16 UTC
--product isn't recognized (or needed) on systems that already have a product installed.

You're running F21, so you already have a product installed.

Comment 2 Chris Murphy 2015-05-06 01:33:33 UTC
What product is KDE? It's not workstation, cloud, or server. It seems like it is nonproduct.

What about minimal install? Also not workstation, cloud, or server, and yet I get this same error message with --product=nonproduct so I have no idea what that option is used for if not for these two use cases.

Comment 3 Samuel Sieb 2015-05-06 02:00:51 UTC
Did you try without that option? I believe that was only necessary to get to F21.

Comment 4 Chris Murphy 2015-05-06 03:44:20 UTC
I tried minimal install without --product and it appears to work, but man fedup says --product=nonproduct is valid so something is still confused or confusing at the least.

Comment 5 Kamil Páral 2015-05-06 07:42:14 UTC
IIUIC, you don't (even can't) use --product when upgrading from F21 or later, regardless of what product or non-product (KDE, minimal, etc) are you on. It will just work.

The fedup man page says:

   Required Arguments
       --product [cloud,server,workstation,nonproduct]
           Specify the Fedora flavor to target for upgrades. Required for updating pre-F21 systems.

I agree that this is slightly confusing. It says it is required pre-F21, but it doesn't say you should not (cannot) use it post-F21. And it's listed as a required argument in any case.

If you find this too confusing, please reopen this bug and adjust the summary (or report a new bug) and ask Will to either clarify that more in the man page (specifically saying that this option is not supported on F21->F22 upgrades and higher), or removing this man page option completely from .fc21 version of fedup and higher. Thanks.

Comment 6 Will Woods 2015-05-26 18:15:16 UTC
*** Bug 1225102 has been marked as a duplicate of this bug. ***

Comment 7 Kamil Páral 2015-05-27 11:40:37 UTC
This problem seems to be already hitting our users:
http://fedoramagazine.org/fedora-22-released/#comment-368424
http://fedoramagazine.org/fedora-22-released/#comment-368420

Comment 8 Aniruddha 2015-05-27 15:58:20 UTC
The problem is that there are no instructions for upgrading with Fedup in the installation guide ( https://docs.fedoraproject.org/en-US/Fedora/22/html/Installation_Guide/chap-upgrading.html#sect-upgrading-fedora-fedup ) 

And that the wiki page referred to in the installation Guide is incomplete:

    Start the upgrade prep by executing following commands
        sudo yum update fedup fedora-release
        sudo fedup --network 21 --product=[workstation | server| cloud | nonproduct] 
    Once the preparations have completed, check the /var/log/fedup.log file if any errors show up in the output from fedup 
https://fedoraproject.org/wiki/FedUp


Note You need to log in before you can comment on or make changes to this bug.