rhinstaller / fedup

Deprecated Fedora Upgrade tool
GNU General Public License v2.0
23 stars 13 forks source link

fedup --clean should not require --product #56

Closed BowlesCR closed 9 years ago

BowlesCR commented 9 years ago

Pretty self-explainitory... With the addition of the --product switch for F21, it appears that fedup is blindly requiring it even in situations where it isn't needed/relevant.

[root@Fedora cbowles]# fedup --clean
usage: fedup <SOURCE> [options]
fedup: error:

This installation of Fedora does not belong to a product, so you
must provide the --product=PRODUCTNAME option to specify what product
you want to upgrade to. PRODUCTNAME should be one of:

 workstation: the default Fedora experience for laptops and desktops,
   powered by GNOME.
 server: the default Fedora experience for servers
 cloud: a base image for use on public and private clouds
 nonproduct: choose this if none of the above apply; in particular,
   choose this if you are using an alternate-desktop spin of Fedora

Selecting a product will also install its standard package-set in
addition to upgrading the packages already on your system. If you
prefer to maintain your current set of packages, select 'nonproduct'.

See https://fedoraproject.org/wiki/Upgrading for more information.

[root@Fedora cbowles]# fedup --clean --product=nonproduct
resetting bootloader config
removing boot images
removing downloaded packages
removing miscellaneous files
wgwoods commented 9 years ago

This was fixed in commit 64bfc8c.