Following is an error encountered on Ubuntu 12.04 LTS
$ sudo apt-get update
E: The method driver /usr/lib/apt/methods/http could not be found.
This can be easily fixed by installing apt-transport-https as follows.
sudo apt-get install apt-transport-https