Cannot install software in Ubuntu due to unsupported version

The reason why you can’t install software is maybe because you are using old ubuntu versions in which software and security updates is not supported anymore. Below are the steps to enable software installation:

  • Open terminal by going to Applications > Accessories > Terminal or by keyboard shortcut “CTL+Alt+T”
  • Type:
    sudo nano /etc/apt/sources.list
  • Go to the last line of the file
  • Paste the following:
    ## EOL upgrade sources.list
    # Required
    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse
    
    # Optional
    #deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
  • IMPORTANT: Change CODENAME to your distribution’s code name, e.g. natty. To get the ubuntu codename, execute the following:
    cat /etc/lsb-release

    Look for DISTRIB_CODENAME value.

  • Then, run:
    sudo apt-get update

    Now, you can install new software.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.