I do the following on one Ubuntu machine (Ubuntu 16.04.3 LTS)
sudo apt-get install libsqlite3-dev
it shows
E: Unable to locate package libsqlite3-dev
But if I perform the same command on the other one (Ubuntu 16.04.3 LTS too), it shows the following and the package is installed successfully
After this operation, 1,699 kB of additional disk space will be used.
Get:1 http://sg.archive.ubuntu.com/ubuntu xenial/main amd64 libsqlite3-dev amd64 3.11.0-1ubuntu1 [508 kB]
Fetched 508 kB in 1s (383 kB/s)
Selecting previously unselected package libsqlite3-dev:amd64.
I suspect the repository:
http://sg.archive.ubuntu.com/ubuntu xenial/main amd64
is not in the first machine repository list. How should I add it?