How To Upgrade From Fedora 16 To Fedora 17 - problem

Discussion in 'HOWTO-Related Questions' started by sflyjc, Jan 9, 2014.

  1. sflyjc

    sflyjc New Member

    I'm trying to follow the instructions on this topic (http://www.howtoforge.com/how-to-upgrade-from-fedora-16-to-fedora-17-desktop-and-server) but I get the error below. It seems that the second mirrorlist path (below) has gone bad, since Fedora 17 has been end-of-lifed. What is the solution? How can I upgrade from 16 to 17? Please be specific in any instructions that you give (for example, "You should just install the XYZ tool" will be too vague). Thanks!

    preupgrade-cli "Fedora 17 (Beefy Miracle)"
    Loaded plugins: blacklist, langpacks, whiteout
    No plugin match for: rpm-warm-cache
    No plugin match for: remove-with-leaves
    No plugin match for: auto-update-debuginfo
    Loaded plugins: langpacks, presto, refresh-packagekit
    preupgrade-main (mirrorlist)
    url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=$basearch
    now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64
    preupgrade (mirrorlist)
    url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/$basearch/os/
    now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/x86_64/os/
    Error: Cannot find a valid baseurl for repo: preupgrade

    This could be caused by a missing network connection or a bad mirror.
     
  2. sflyjc

    sflyjc New Member

  3. sflyjc

    sflyjc New Member

    Update - The key is getting 'archive' into the mirrorlist query path. In other words, this query does give a valid mirrorlist for Fedora 17: http://mirrors.fedoraproject.org/mi...ve/fedora/linux/releases/17/Fedora/x86_64/os/

    So now I must figure out how to get preupgrade-cli to query for ?path=pub/archive/fedora/linux/releases/17/Fedora/$basearch/os/, rather than ?path=pub/fedora/linux/releases/17/Fedora/$basearch/os/ ...

    There is probably some config file someplace, that I'm supposed to change. If you happen know what it is, please let me know, thanks.
     
  4. sflyjc

    sflyjc New Member

    Update - I took the above mirrorlist contents, and put it into a new file: ./var/cache/yum/preupgrade/mirrorlist.txt

    Now preupgrade is going forward. It seems to want the same mirrorlist as before, but has found its contents in the yum cache. It is downloading packages as I type.

    Wish me luck! Or please warn ASAP if this is a mistake, haha!
     
  5. sflyjc

    sflyjc New Member

    Update - It worked. Being on f17, now I can 'yum install fedup' and upgrade to later releases.
     
  6. vdingo11

    vdingo11 New Member

  7. alantam

    alantam New Member

    thanks sflyjc.
    To make things clear: past the 4 lines of the pub archive link given upward
    into the file /var/cache/yum/preupgrade/mirrorlist.txt
    then run in su mode:
    preupgrade-cli "Fedora 17 (Beefy Miracle)"
    wait several hours
     

Share This Page