Oct 29, 2018
There is nothing wrong with the sources.list file, but you probably need to update your local package database with apt-get update before being able to run the install command, as apt-get install doesn't do automatically. (you're in a Debian, by the way, not Ubuntu, though it doesn't change anything for this). to edit sources.list, on doing from root user, nano etc/apt/sources.list nano text editor appears as a new file and on saving, it throws an error:- etc/apt/sources.list : no such file exist** Sources List Generator for Ubuntu, Xubuntu, Kubuntu, Edubuntu, Ubuntu Server and other Ubuntu-based distros. It features the official Canonical one repositories as well as other 3rd party repos. sudo nano /etc/apt/sources.list close nano correctly so it saves back to sources.list (Kali Linux is meant for experts. If you have to ask a basic question, maybe, just maybe Kali Linux is not for you.) $ sudo apt-get update If you're still getting any 404 or 403 errors then double check your sources are correct. Otherwise you should now be able to upgrade your packages: $ sudo apt-get upgrade The above solution should work for Ubuntu releases as old as 4.10 (warty), though I haven't tested this. Install the runtime. The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core.
The indexes of available packages are fetched from the location (s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and updated packages is available. An update should always be performed before an upgrade or dist-upgrade.
The information available from the configured sources is acquired by apt-get update (or by an equivalent command from another APT front-end). SOURCES.LIST.D The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. Two different file formats are allowed as described in the next two sections. Using Old Debian Versions In Your sources.list Ik thinks you better use the folder /etc/apt/sources.list.d/ for adding files. add a file like etch.list in this and put everything for etch in it. i have for example. APT (software) - Wikipedia
Ubuntu Manpage: apt-get - APT package handling utility
Sources List Generator for Debian. It features the official Debian repositories as well as other 3rd party repos. How To Add Apt Repository In Ubuntu | Linuxize