Skip to content

Instantly share code, notes, and snippets.

@d0k1
Forked from dergachev/ubuntu-eol.md
Last active August 29, 2015 14:26
Show Gist options
  • Save d0k1/9a6616d290aa242b51a2 to your computer and use it in GitHub Desktop.
Save d0k1/9a6616d290aa242b51a2 to your computer and use it in GitHub Desktop.

Revisions

  1. @dergachev dergachev revised this gist Jul 29, 2014. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -33,8 +33,9 @@ To make `apt-get update` work, we simply need to edit `/etc/apt/sources.list` an
    sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    ```

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.
    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get install update-manager-core; do-release-upgrade` as soon as possible.

    **SOURCES**:

    * https://help.ubuntu.com/community/EOLUpgrades
    * https://help.ubuntu.com/community/EOLUpgrades
    * https://help.ubuntu.com/community/SaucyUpgrades
  2. @dergachev dergachev revised this gist Jul 28, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,6 @@ sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.

    *SOURCES*:
    **SOURCES**:

    * https://help.ubuntu.com/community/EOLUpgrades
  3. @dergachev dergachev revised this gist Jul 28, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,6 @@ sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.

    ## SOURCES:
    *SOURCES*:

    * https://help.ubuntu.com/community/EOLUpgrades
  4. @dergachev dergachev revised this gist Jul 28, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,6 @@ sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.

    SOURCES:
    ## SOURCES:

    * https://help.ubuntu.com/community/EOLUpgrades
  5. @dergachev dergachev revised this gist Jul 28, 2014. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -33,4 +33,8 @@ To make `apt-get update` work, we simply need to edit `/etc/apt/sources.list` an
    sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    ```

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.
    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.

    SOURCES:

    * https://help.ubuntu.com/community/EOLUpgrades
  6. @dergachev dergachev revised this gist Jul 28, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Let's say you're using Ubuntu 13.04 (Raring Ringtail, released in April 2013) and it just went End-of-Life on you, because it's supported for only 6 months, and the deprecated packages are taken down after 12 months.

    You'll probably figure this out when you try to run `sudo apt-get update` starts throwing these errors:
    You'll probably figure this out the hard way. When you run `sudo apt-get update`, it will eventually report these errors:

    ```
    Ign http://archive.ubuntu.com raring-updates/universe Sources/DiffIndex
  7. @dergachev dergachev created this gist Jul 28, 2014.
    36 changes: 36 additions & 0 deletions ubuntu-eol.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    Let's say you're using Ubuntu 13.04 (Raring Ringtail, released in April 2013) and it just went End-of-Life on you, because it's supported for only 6 months, and the deprecated packages are taken down after 12 months.

    You'll probably figure this out when you try to run `sudo apt-get update` starts throwing these errors:

    ```
    Ign http://archive.ubuntu.com raring-updates/universe Sources/DiffIndex
    Err http://security.ubuntu.com raring-security/main Sources
    404 Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com raring-security/universe Sources
    404 Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com raring-security/main amd64 Packages
    404 Not Found [IP: 91.189.91.15 80]
    Ign http://archive.ubuntu.com raring-updates/main amd64 Packages/DiffIndex
    Err http://security.ubuntu.com raring-security/universe amd64 Packages
    404 Not Found [IP: 91.189.91.15 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
    ```

    Visiting [http://archive.ubuntu.com/ubuntu/dists](http://archive.ubuntu.com/ubuntu/dists) does confirm that raring packages are indeed gone, while lucid, precise, saucy, and trusty are still there, as per their promised support schedule.

    Some googling reveals that they're not deleted, but simply moved to [http://old-releases.ubuntu.com/ubuntu/dists/](http://old-releases.ubuntu.com/ubuntu/dists/), sort of a graveyard for insecure and unsupported packages.

    To make `apt-get update` work, we simply need to edit `/etc/apt/sources.list` and update all URLs from `security.ubuntu.com` and `archive.ubuntu.com` to point to `old-releases.ubuntu.com`, as per the following sed command:

    ```bash
    sudo sed -i.bak -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    ```

    After this, `sudo apt-get update` seems to run without a hitch. Of course if you do this, you're accepting to use an insecure system, and should do `sudo apt-get upgrade` as soon as possible.