I have manually added the following source to the /etc/apt/sources.list file
deb http://ports.ubuntu.com/ubuntu eoan main
I have done this to get some packages for the armhf target (specifically speaking libssl-dev:armhf package). But when I do apt-get update, I see that the program fails to find a release file. Here is the log.
...
Ign:18 http://archive.ubuntu.com/ubuntu eoan-security/main armhf Packages
Ign:19 http://archive.ubuntu.com/ubuntu eoan-security/universe armhf Packages
Err:7 http://archive.ubuntu.com/ubuntu eoan/main armhf Packages
404 Not Found [IP: 2001:67c:1562::18 80]
Ign:12 http://archive.ubuntu.com/ubuntu eoan/restricted armhf Packages
Ign:13 http://archive.ubuntu.com/ubuntu eoan/universe armhf Packages
Ign:14 http://archive.ubuntu.com/ubuntu eoan/multiverse armhf Packages
Err:15 http://archive.ubuntu.com/ubuntu eoan-updates/main armhf Packages
404 Not Found [IP: 2001:67c:1562::18 80]
Ign:16 http://archive.ubuntu.com/ubuntu eoan-updates/universe armhf Packages
Err:17 http://archive.ubuntu.com/ubuntu eoan-backports/universe armhf Packages
404 Not Found [IP: 2001:67c:1562::18 80]
Err:18 http://archive.ubuntu.com/ubuntu eoan-security/main armhf Packages
404 Not Found [IP: 2001:67c:1562::18 80]
Ign:19 http://archive.ubuntu.com/ubuntu eoan-security/universe armhf Packages
Reading package lists... Done
E: The repository 'http://ports.ubuntu.com/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I have looked into the ports folder here : http://ports.ubuntu.com/dists/eoan/, and I can see a Release file there. What could be the problem? Here is the list of foreign architectures I have.
subin@linux:~$ dpkg --print-foreign-architectures
i386
armhf