The repository '...' does not have a Release file.

Posted January 17, 2018 93k views
Linux BasicsUbuntu 16.04

When I try to install the IOTA full node with this tutorial[]

I get this error:
Welcome to IOTA FullNode Installer!
This script is going to install IOTA full node.
Do you wish to proceed? [y/N] y
Updating system packages…
E: The repository ’ xenial/updates Release’ does not have a Release file.
E: The repository ’ xenial Release’ does not have a Release file.
E: The repository ’ xenial-updates Release’ does not have a Release file.
E: The repository ’ xenial-backports Release’ does not have a Release file.

when I am running the
bash <(curl -s


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

It looks like your apt repositories are configured incorrectly. They are pointing to the Debian repositories but are also configured for the xenial distribution which is Ubuntu 16.04 so not Debian at all. This configuration is located in the file /etc/apt/source.list.

If your droplet is running Ubuntu, replace all instances of debian with ubuntu, and xenial/updates with xenial-security. Run apt-get update to refresh the cache after making any changes to the repository list.

    • You can either open the file in a text editor and replace them manually, or use sed to automate the process. The syntax is s/search/replace/.

      sudo sed -i .bak -e "s/debian/ubuntu/" -e "s/http:\/\/ xenial\/updates/http:\/\/\/ubuntu xenial-security/" /etc/apt/source.list

      I haven’t tried that command myself but it should work. Either way, it creates a copy of the file with the extension “.bak” so you can go in and review the changes and undo them if you need to.

This bug appears if you use the web panel to ‘rebuild’ a droplet from debian to ubuntu.

The fix above is correct, just update to digitalocean’s ubuntu mirrors