Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Can't upgrade Ubuntu 18.04 to 20.04

  1. #21
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    This shows a very basic sources list for bionic, back up first as shown.
    reset /etc/apt/sources.list to bionic
    https://ubuntuforums.org/showthread....0#post13843080

    Then change from bionic to focal
    Change distribution. using find to replace in sources
    #sudo sed -i 's/find/replace/g' /etc/apt/sources.list
    sudo sed -i 's/bionic/focal/g' /etc/apt/sources.list
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #22
    Join Date
    May 2022
    Beans
    44

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    It's not a proper way to update your system oldfred

  3. #23
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    While not the recommended way, we have an issue where sources are all mixed up & need to be fixed.
    My suggestion for correct way is almost always, new clean install & restore from backups. But too many users do not even have any backup.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #24
    Join Date
    Nov 2014
    Beans
    40

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    @oldfred Thanks. Let me clear the procedure up:

    1: back up the sources.list doc
    2: move it elsewhere (can it be done with GUI?)
    3: create a new sources.list file with the linked terminal command
    4: inside the sources.list file, replace each "bionic" entry with "focal"
    5: sudo apt-get update > sudo apt-get upgrade > Software Updater > Upgrade

    Is the above correct?

  5. #25
    Join Date
    May 2022
    Beans
    44

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    Quote Originally Posted by kubasienczyk View Post

    Is the above correct?
    No, this will mess your system up.

    Do the following:
    1. Restore default /etc/apt/sources.list from here:
    https://gist.github.com/rhuancarlos/...dca8edf1e76800
    2. Update the APT caches:
    Code:
    sudo apt update
    3. Delete all your PPAs using this answer:
    https://askubuntu.com/a/646918/1592865
    4. Run the GUI updater tool.

  6. #26
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    The link above I think is really the same, just with all the normal comments whcih are not processed as they have # as first char.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #27
    Join Date
    Nov 2014
    Beans
    40

    Re: Can't upgrade Ubuntu 18.04 to 20.04

    I would like to sincerely thank everyone who provided their insights on the matter. I was eventually able to upgrade 18.04 to 20.04 on both machines. @readableauthor's instructions were spot on and solved my problem.

    Thank you!

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •