I tried to install Skype on my PC, but it did not get installed. My friend ran the sudo apt update command. After the command had run he installed Skype. Then the installation ran easily.
So my question is, why wouldn't the installation run before running the command sudo apt update?