Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Upgrade from 18.04

  1. #1
    Join Date
    Jun 2024
    Beans
    4

    Question Upgrade from 18.04

    Hi,
    I'm new in this community and in ubuntu. I have problem to update my system in offline state. I need to ugrade system to 22.04 or will be great to 24.04. I try to:
    - use apt-offline but i have errors,
    - to create an offline mirror of the ubuntu package repositories but it didn't work
    Can you tell me how can i upgrade it?

  2. #2
    Join Date
    Jun 2014
    Beans
    7,642

    Re: Upgrade from 18.04

    to create an offline mirror of the ubuntu package repositories but it didn't work
    You need to be informative as 'didn't work' doesn't tell us anything. Specific problems, warning or error messages. There are numerous online sites explaining how to do this such as the one at the link below. Your primary problem is likely that you waited a year too long to do this as support for 18.04 ended in April, 2023 and any updating would have been much simpler prior to that date.

    https://louwrentius.com/how-to-setup...tu-mirror.html

    Did you read the information at the Ubuntu site below on the process?

    https://help.ubuntu.com/community/EOLUpgrades

  3. #3
    Join Date
    Mar 2024
    Beans
    16

    Re: Upgrade from 18.04

    open terminal(press Ctrl+alt+T)
    type:
    sudo do-release-upgrade -d
    or
    sudo apt update && sudo apt upgrade -y

  4. #4
    Join Date
    Jun 2014
    Beans
    7,642

    Re: Upgrade from 18.04

    filiprybar

    As indicated in the thread title, the OP wants to update from 18.04 which has not been supported for over a year and the standard update/upgrade commands won't do the job.

  5. #5
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,846

    Re: Upgrade from 18.04

    I suspect that you can upgrade, but maybe not offline. I have Ubuntu 18.04 enrolled in Ubuntu Pro and get the upgrade offer every time the software is updated (image attached from today 7 Jun 2024). It seems to me that if they entice you to get into the Pro support, they have to give you an off ramp to a later version.

    I have not tested the upgrade, and don't plan to at this time. Maybe later.
    Attached Images Attached Images

  6. #6
    Join Date
    Jun 2024
    Beans
    4

    Re: Upgrade from 18.04

    Quote Originally Posted by filiprybar View Post
    open terminal(press Ctrl+alt+T)
    type:
    sudo do-release-upgrade -d
    or
    sudo apt update && sudo apt upgrade -y
    I don't use an environment with the Internet, so I need an offline solution



    I tried the following things:
    - mirroring (it's work but i can't download distr-upgrade-all)
    - apt-offline (work only with installed repo)
    - rsync but i have errors:
    sudo rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu/dists/bionic/main/dist-upgrader-all /archive.ubuntu.com/ubuntu/dists/bionic/main/dist-upgrader-all
    rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
    rsync error: error in rsync protocol data stream (code 12) at io.c(282) [Receiver=3.2.7]
    someone have solutions?

  7. #7
    currentshaft is offline Oops! My Coffee Cup is empty.
    Join Date
    May 2024
    Beans
    Hidden!

    Re: Upgrade from 18.04

    The "offline solution" is to back up your important files and re-install the operating system from scratch.

    You should already be taking backups, so the latter part should be very easy.

  8. #8
    Join Date
    Jun 2024
    Beans
    4

    Re: Upgrade from 18.04

    Quote Originally Posted by currentshaft View Post
    The "offline solution" is to back up your important files and re-install the operating system from scratch.

    You should already be taking backups, so the latter part should be very easy.


    your solution is not an option, I have too much VM to upgrade

  9. #9
    Join Date
    Apr 2007
    Beans
    3,142
    Distro
    Ubuntu

    Re: Upgrade from 18.04

    When offline (why did you not include that in the title of our post?), it becomes highly technical and convoluted to upgrade a system. You would need to create your own repository of 20.04, then adapt the update scripts to use your local repository. After the upgrade, you would need to repeat that all over again to move to 22.04, and finally to

    Your only realistic option for an upgrade without internet connection is to make sure the backup of your user data is complete, proceed to a fresh install of 24.04 using an installation DVD or USB, and restore the user documents to the newly installed system. You will then be good for another five years. To update the system with bug fixes etc, you can do an in-place reinstallation using DVD/USB of the future "dot" updates. That preserves user files and user- and system configuration.

    You could consider delaying the upgrade until 24.04.01 has appeared. There, initial bugs of the new Ubuntu LTS release will have been ironed out.

    This is the easiest and most foolproof option. It will ensure that you will have a new clean system without a chance of issues due to leftovers from the previous version.
    Last edited by vanadium; July 5th, 2024 at 08:13 AM.

  10. #10
    Join Date
    Jun 2024
    Beans
    4

    Re: Upgrade from 18.04

    I know that I have to go to 20.04, then to 22.04 and finally to 24.04. I use this guide


    https://louwrentius.com/how-to-setup...tu-mirror.html
    I encountered problems because I can't download distr-upgrade-all, I don't know why rsync gives errors like this:
    sudo rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu/dists/bionic/main/dist-upgrader-all /archive.ubuntu.com/ubuntu/dists/bionic/main/dist-upgrader-all
    rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
    rsync error: error in rsync protocol data stream (code 12) at io.c(282) [Receiver=3.2.7]
    I'm still fighting but I have no ideas anymore

Page 1 of 2 12 LastLast

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
  •