fedup --product=nonproduct --network 22 is upgrading to the unreleased fc23 !!!

Rick Stevens ricks at alldigital.com
Wed Sep 16 00:50:04 UTC 2015


On 09/15/2015 04:14 PM, jd1008 wrote:
>
>
> On 09/15/2015 04:20 PM, Rick Stevens wrote:
>> On 09/15/2015 03:17 PM, jd1008 wrote:
>>> Why????
>>> All the packages it downloaded are from the unreleased fedora 23.
>>>
>>> For example, this is what it downloaded into
>>> /var/cache/system-upgrade/fedora/packages/
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12 a2jmidid-8-9.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> aajohan-comfortaa-fonts-2.004-5.fc23.noarch.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> aalib-devel-1.4.0-0.27.rc5.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> aalib-libs-1.4.0-0.27.rc5.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> abattis-cantarell-fonts-0.0.16-3.fc23.noarch.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12 abiword-3.0.1-4.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12 abrt-2.6.2-6.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> abrt-addon-ccpp-2.6.2-6.fc23.x86_64.rpm
>>> -rw-r--r-- 1 root jd      0 Sep 15 16:12
>>> packages/abrt-addon-coredump-helper-2.6.2-6.fc23.x86_64.rpm
>>>
>>> As you can see, all of them of length 0.
>>>
>>> Is the repo of 22 being diverted to 23?
>>
>> The correct update from F21 to F22 is:
>>
>>     fedup --network 22
>>
>> fedup should have puked on "--product=nonproduct" as that's not a
>> supported option since F21.
>>
>> Also check your repos.d files and make sure you haven't enabled rawhide.
>
> Hi Rick,
> None of rawhide repos are enabled.
> The latest version of fedup in f21 is fedpkg-1.20-1.fc21.noarch.rpm

fedpkg is NOT fedup. fedpkg is to permit you to download sources from
koji or git.

> # rpm -q fedup
> fedup-0.9.2-1.fc21.noarch

I have the same version:

[root at prophead ~]# rpm -qa | grep fedup
fedup-0.9.2-1.fc21.noarch

>
> # fedup  --network 22
> usage: fedup <SOURCE> [options]
> fedup: error:
>
> This installation of Fedora does not belong to a product, so you
> must provide the =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.

That's not what THAT version of fedup should report. It should look
like:

[root at prophead ~]# fedup --network 22 --product=nonproduct
usage: fedup <SOURCE> [options]
fedup: error: unrecognized arguments: --product=nonproduct

[root at prophead ~]# fedup --product=nonproduct --network 22
usage: fedup <SOURCE> [options]
fedup: error: unrecognized arguments: --product=nonproduct

(I did it twice, swapping around where you stuck "--product=nonproduct"
just to show you).

So you are running an incorrect version of fedup. Get that resolved
first. That's in the upgrade instructions. Also in the upgrade
instructions, they tell you that you MUST make sure you're running the
current system or you're going to get a bunch of very weird things
going on.

Right now it appears you have a very curious mix of F20 and F21 on your
machine and you're going to have problems trying to fedup.

> However, when I set the product=workstation, it started
> to download - but ALL the downloads were failing with messages
> like these:
>
> anaconda-core-23.19.2-2.fc23.x FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-23.19.2-2.fc23.x86_64 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-gui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-core-23.19.2-2.fc23.x FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-tui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> amtterm-1.3-10.fc23.x86_64.rpm FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-gui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-core-23.19.2-2.fc23.x FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-gui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-tui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> amtterm-1.3-10.fc23.x86_64.rpm FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
> anaconda-gui-23.19.2-2.fc23.x8 FAILED ] 3.5 MB/s |  27 MB  00:24:40 ETA
>
> My computer is connected to high speed internet, and am having no problems
> browsing the web, and sending this email.
>
> So, my question remains: Why fc23 ????

Again, you are running an old version of fedup, your machine is NOT a 
clean F21 system and most likely fedup is getting very, very confused.
As others have suggested:

1. Make a backup of your system.

2. Bring it up to current F21 standards using yum or dnf.
    You might even have to do a "dnf --distro-sync" to drag it kicking
    and screaming up to F21.

3. Make sure you're running the LATEST fedup and try the upgrade again,
    remembering that the correct fedup will not accept
    "--product=nonproduct". I don't know of a way to get a version number
    out of fedup (there's no option for that...perhaps "-d" for debug).

5. Failing all that (and with a GOOD backup in hand), do a fresh
    install of F22.

I'm not trying to be nasty here, but there's something quite weird with
your system. Even on a clean system (my laptop on F21), a fedup to F22
had some nasty issues (broken systemd configs for gdm, etc.).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-          "Very funny, Scotty. Now beam down my clothes."           -
----------------------------------------------------------------------


More information about the users mailing list