I have a question about the sources.list file in /etc/apt/sources.list Does it affect the outcome of the apt commands as illustrated below:
If you run the apt update command, will it only update all the packages from the repository indicated in sources.list? (Likewise, if you installed a package that is not part of the repository, then it will not be included in the apt update command?)
What if you do an apt install (package_name) - but the package that you want to install is not part of the repository indicated in sources.list, it will "never be able to find" the package from the internet?
I am wondering if sources.list constrains or limits the packages that you can find and interact with the use of the apt commands.
Also if the above were true - then to be able to download and install packages from another disto, then you would need to strictly edit the sources.list file and add the repository from the other distro?