After migrating to another datacenter, apt still uses the old mirrors.
After migrating my NYC2 server to NYC1,
apt is still using the NYC2 mirrors (
apt update shows that). I took a look in
/etc/apt/sources.list, but it doesn’t mention NYC2, just the generic
How can I update apt to use the NYC1 mirrors?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.