Skip to main content

abc.archive.ubuntu.com not working on Zentyal or Ubuntu

abc.archive.ubuntu.com not working on Zentyal or Ubuntu is an error that almost every IT professional come across during his career. I have just finished installation of Zentyal (Ubuntu) and when I tries to Install Modules, 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

abc.archive.ubuntu.com not working on Zentyal or Ubuntu

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.

Solution:-

  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://rizwanranjha.com/author/rranjha/
# Skype : expertsols | Please Message the Reference
# http://rizwanranjha.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

Comments

Popular posts from this blog

Setting up per connection Limit Bandwidth on MikroTik Router

Generally, I do not prefer to add any unwanted restriction on the network user until its required due to some Administration reason. I know, there are more ways to tackle this setting up per connection Limit Bandwidth on MikroTik Router question comes into one’s mind but I resolve my concern while using MikroTik PCQs feature in MikroTik Queue Type and then calling this Queue Type to Simple Queue. There are more options for setting up per connection Limit Bandwidth on MikroTik Router but please share your concern to add anything else in this article. Let’s start to add our configurations; I am using WinBox for this Article but you can use anything you are convenient to use. Let’s start Step by Step procedure for Setting up per connection Limit Bandwidth on MikroTik Router, any version.  Setup Queue Types After Successful Login, click on Queues menu. Navigate to Queue Types and Press Add + (Plus Sign) to add a new Queue Type. Type a Name like in my scenario,...

'ping' is not recognized as an internal or external command, operable program or batch file - Windows

I know, I am writing about the thing that is a lot over the internet but today in my Good Morning to my Desk, I tried to ping of host in my network and I just got this message and I faced this issue on Windows XP, Windows 7 and now on Windows 8 and on Servers Windows 2003 and Windows Server 2008/R2 as well and the solution also work for me on these Operating Systems. Well the message was; C:\Users\rizwan.ahmad>ping 192.168.10.10 'ping' is not recognized as an internal or external command, operable program or batch file. Solution 1 (Easy):    Start > RUN Type control sysdm.cpl,,3 or Open Control Panel » System » Advanced » Environment Variables Right Click on My computer Go to Properties Go to Advanced system settings (on Windows 7 / 8) Environment Variables Select 'PATH' from the list of system variables and edit set PATH to c:\windows\system32 ; Solution 2 (Advance) Open CMD and enter SET command and check the output, there you ...

Event 7026 : Service Control Manager Logfile : System - cdrom

You may be face  Event 7026 on your Windows systems and as this Event shows that " The following boot-start or system-start driver(s) failed to load: cdrom ", you may be wonder that why it is happening while system don't have any CDROM connected with it. In my scenario, I start explore and comes to know that in registry, cdrom service is set to 1 that indicate that it is a system / boot type device. Cause: Normally this error / Event ID indicates that there were priviously a CDROM was installed and now Physical Drive is no more connected but its services is up and running. Solution: You simple need to disable or set to manual cdrom in registry as under; Click on Start > RUN > Type regedit  and Press Enter   Navigate to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom Find Subkey Name Start Type REG_DWORD Set its Data Type to 3 ( Manual ) or 4  (  Disable  ) Important Link: http://support.microsoft.c...