Ubuntu Zentyal apt get update unable to connect

Ubuntu / Zentyal apt-get update unable to connect pk.archive.ubuntu.com Fixed

I have just finished installation of Zentyal / Ubuntu Server and when I tries to Install Modules and tries to update it, it start giving me errors that your pk.archive.ubuntu.com is not working , I have faced this issue year before but didn't try to write it on my blog and now its here to help others, Well I have tries below command

sudo apt-get update

Ign http://pk.archive.ubuntu.com precise Release.gpg and a large list of Ignore lists but there is a easy solution that I have done through terminal.


  1. Access your Zentyal or Ubuntu Server from Terminal, after username / password
  2. run this command nano /etc/apt/sources.list (you can also use vi or gedit)
  3. Now Replace all pk (in your scenario, you can change your tld with US)
  4. Press F3 to save file in nano editor
  5. Press Ctrl + X to exit and then again
  6. run again the command ; sudo apt-get update

Final List was something like as under, you can also copy and paste below list into your sources.list file.

# Ubuntu apt-get update not working for pk.archive.ubuntu.com
# Use us.archive.ubuntu.com sources to get it working
# Muhammad Rizwan Ahmad, http://www.ipaddresshost.com/author/rizwan/
# Skype : expertsols | Please Message the Reference
# http://www.ipaddresshost.com

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse


Get Socially Engaged with IP Address and Host Team !