Problems Installing Foreman (Ubuntu 16.04)

Hey, I am new to Foreman, I recently (a couple of months ago managed to install foreman nicely with the code below). But now I am having problems installing
I get this message :
Failed to fetch No Hash entry in Release file /var/lib/apt/lists/partial/deb.theforeman.org_dists_xenial_Release

*** echo β€œdeb xenial 1.15” >> /etc/apt/sources.list.d/foreman.list**

*** echo β€œdeb plugins 1.15” >> /etc/apt/sources.list.d/foreman.list**

  • apt-get update && apt-get install -y foreman-installer

Have tried apt-get clean and apt-get update but nothing is helping!

All releases that supported Ubuntu Xenial (16.04) have been archived by now (see Archiving old Debian/Ubuntu releases). I would recommend setting up a Bionic (18.04) server and following the latest version’s installation instructions. Focal (20.04) support is still in progress, hopefully it will be ready in time for 2.5 but there is still at least a month until it would be released.