Apt-get update wont run and gives 503 service unavailable error


 
Thread Tools Search this Thread
Operating Systems Linux Apt-get update wont run and gives 503 service unavailable error
# 1  
Old 10-11-2013
Apt-get update wont run and gives 503 service unavailable error

Hi,

I am running on Ubuntu 12 (precise) 64 bit and came to know that i cannot install any packages using apt-get and aptitude.

Linux test01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

But the same /etc/apt/sources.list file is working on one of the production machine and even i have tested wget and this is working fine too.

Btw i am seeing below error:

Code:
apt-get update
Ign Ubuntu security notices | Ubuntu precise-security InRelease
Ign Ubuntu security notices | Ubuntu precise-security Release.gpg
Ign Ubuntu security notices | Ubuntu precise-security Release
Ign Index of / precise InRelease
Ign Index of / precise-updates InRelease
Ign Index of / precise-backports InRelease
Ign Index of / precise Release.gpg                                                         
Ign Index of / precise-updates Release.gpg                                                 
Ign Index of / precise-backports Release.gpg
Ign Ubuntu security notices | Ubuntu precise-security/main TranslationIndex
Ign Index of / precise Release          
Ign Ubuntu security notices | Ubuntu precise-security/multiverse TranslationIndex
Ign Index of / precise-updates Release  
Ign Index of / precise-backports Release
Ign Ubuntu security notices | Ubuntu precise-security/restricted TranslationIndex
Ign Ubuntu security notices | Ubuntu precise-security/universe TranslationIndex
Ign Index of / precise/main TranslationIndex
Ign Index of / precise/multiverse TranslationIndex
Ign Index of / precise/restricted TranslationIndex
Ign Index of / precise/universe TranslationIndex
Ign Index of / precise-updates/main TranslationIndex
Ign Index of / precise-updates/multiverse TranslationIndex
Ign Index of / precise-updates/restricted TranslationIndex
Ign Index of / precise-updates/universe TranslationIndex
Ign Index of / precise-backports/main TranslationIndex
Ign Index of / precise-backports/multiverse TranslationIndex
Ign Index of / precise-backports/restricted TranslationIndex
Ign Index of / precise-backports/universe TranslationIndex
Err Ubuntu security notices | Ubuntu precise-security/main Sources
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/restricted Sources                                        
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/universe Sources                                          
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/multiverse Sources                                        
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/main amd64 Packages                                       
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/restricted amd64 Packages
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/universe amd64 Packages
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/multiverse amd64 Packages
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/main i386 Packages
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/restricted i386 Packages                                  
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/universe i386 Packages                                    
  503  Service Unavailable [IP: 91.189.92.201 80]
Err Ubuntu security notices | Ubuntu precise-security/multiverse i386 Packages
  503  Service Unavailable [IP: 91.189.92.201 80]
Ign Ubuntu security notices | Ubuntu precise-security/main Translation-en
Ign Ubuntu security notices | Ubuntu precise-security/multiverse Translation-en
Ign Ubuntu security notices | Ubuntu precise-security/restricted Translation-en
Ign Ubuntu security notices | Ubuntu precise-security/universe Translation-en
Err Index of / precise/main Sources    
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/restricted Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/universe Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/multiverse Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/main amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/restricted amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/universe amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/multiverse amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/main i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/restricted i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/universe i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise/multiverse i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/main Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/restricted Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/universe Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/multiverse Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/main amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/restricted amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/universe amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/multiverse amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/main i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/restricted i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/universe i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-updates/multiverse i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/main Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/restricted Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/universe Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/multiverse Sources
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/main amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/restricted amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/universe amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/multiverse amd64 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/main i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/restricted i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/universe i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Err Index of / precise-backports/multiverse i386 Packages
  503  Service Unavailable [IP: 91.189.91.15 80]
Ign Index of / precise/main Translation-en
Ign Index of / precise/multiverse Translation-en
Ign Index of / precise/restricted Translation-en
Ign Index of / precise/universe Translation-en
Ign Index of / precise-updates/main Translation-en
Ign Index of / precise-updates/multiverse Translation-en
Ign Index of / precise-updates/restricted Translation-en
Ign Index of / precise-updates/universe Translation-en
Ign Index of / precise-backports/main Translation-en
Ign Index of / precise-backports/multiverse Translation-en
Ign Index of / precise-backports/restricted Translation-en
Ign Index of / precise-backports/universe Translation-en
W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  503  Service Unavailable [IP: 91.189.92.201 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  503  Service Unavailable [IP: 91.189.91.15 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.


Last edited by Scott; 10-11-2013 at 05:55 PM.. Reason: Code tags, not quote tags
# 2  
Old 10-11-2013
HTTP Error 503 Service unavailable Explained

EDIT:
Besides, some of the files give a 404..
I'd assume either outdated, mirrors out of sync, or evil goblins are after you Smilie

EDIT2:
However, the IP (91.189.91.15) works splendid for me!
Code:
p 91.189.91.15 
PING 91.189.91.15 (91.189.91.15) 56(84) bytes of data.
64 bytes from 91.189.91.15: icmp_seq=1 ttl=44 time=196 ms

--- 91.189.91.15 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 196.138/196.138/196.138/0.000 ms


Last edited by sea; 10-11-2013 at 03:27 PM..
# 3  
Old 10-11-2013
Thanks for your reply. But when i try to run
Quote:
apt-get update
from other production machine it is working fine.
# 4  
Old 10-11-2013
Has the testing machine a running network.service? (eg: NetworkManager.service)

Have you seen the edits of first answer?
# 5  
Old 10-11-2013
Code:
ping 91.189.91.15
PING 91.189.91.15 (91.189.91.15) 56(84) bytes of data.
64 bytes from 91.189.91.15: icmp_req=1 ttl=52 time=80.3 ms
64 bytes from 91.189.91.15: icmp_req=2 ttl=52 time=80.5 ms
64 bytes from 91.189.91.15: icmp_req=3 ttl=52 time=80.1 ms
64 bytes from 91.189.91.15: icmp_req=4 ttl=52 time=80.4 ms
64 bytes from 91.189.91.15: icmp_req=5 ttl=52 time=80.7 ms
64 bytes from 91.189.91.15: icmp_req=6 ttl=52 time=80.3 ms
64 bytes from 91.189.91.15: icmp_req=7 ttl=52 time=80.2 ms
64 bytes from 91.189.91.15: icmp_req=8 ttl=52 time=80.3 ms

---------- Post updated at 01:54 PM ---------- Previous update was at 01:33 PM ----------

Is there a way to remove all packages and start over unsing apt-get or aptitude, without re-installing the o/s?

Last edited by Scott; 10-11-2013 at 05:55 PM.. Reason: Code tags, not quote tags
# 6  
Old 10-11-2013
You could first try to cleanup the cache:
Code:
sudo apt-get clean

Retry normal update...

Only IF regular update still wont work, then you might try to reinstall everything again.
Code:
sudo apt-get reinstall apt-get aptitude
sudo apt-get reinstall $(dpkg --get-selections | grep -v deinstall)

hth

But i bet there's a better option than to reinstall everything, it just wont pop up, atm...
# 7  
Old 10-11-2013
Code:
apt-get reinstall apt-get aptitude
E: Invalid operation reinstall


Last edited by Scott; 10-11-2013 at 05:55 PM.. Reason: Code tags, not quote tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl/http 503 error with bash script

I am trying to use REST API and curl in a bash script to generate a http report. The curl command at the end of the script should generate a html file but instead I get an error "HTTP/1.1 503 Service Unavailable". This is the script #!/bin/bash export... (7 Replies)
Discussion started by: kieranfoley
7 Replies

2. UNIX for Dummies Questions & Answers

Sudo apt-get update fail: Malformed line 59

I am trying to update/add a repository. Whenever I try to do a sudo apt-get update I get the message: E: Malformed line 59 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. and when I do: gksudo gedit /etc/apt/sources.list I see... (1 Reply)
Discussion started by: kayak
1 Replies

3. HP-UX

Why wont my Service Guard Package Fail?

Hi There I have a 2 node failover SG cluster, with a 4 packages running, that due to various reason I cant fail over/test for a while. Therefore have created a test package to test over the 2 nodes. The package resources include a presented LUN from our HP SAN and a package IP address. The... (2 Replies)
Discussion started by: Pentat0nicc
2 Replies

4. UNIX for Dummies Questions & Answers

System snmp service is unavailable

Hello, am working on a suse linux system and trying to connect the server to the monitoring system we use. On checking the logs, i see that the snmp service is unavailable and would appreciate any help on how to fix this. snmpd stop - done snmpd start - done snmpd status - unused (instead... (16 Replies)
Discussion started by: mena
16 Replies

5. UNIX for Advanced & Expert Users

fork: Resource temporarily unavailable , server unexpectedly unavailable network connection

Solaris 10 Server refuse to connect :wall: fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2) Issue has been resolved after taken few steps :b: First of all need to check... (1 Reply)
Discussion started by: taherahmed
1 Replies

6. Programming

IO Error - xmal feed wont run

Keep getting IO Error and •nonnumeric port: '' (InvalidURL; misconfigured server?) This in relation to RSS feeds. We have done a load of work to try to get RSS feeds working. Now they work. But they wont validate. http://www.ukcitymedia.co.uk/news/rss.php?feed=New_News ... (0 Replies)
Discussion started by: alankeys
0 Replies

7. Shell Programming and Scripting

script wont run

$ ls -l total 44 drwx------ 2 ivanachu users 512 Dec 6 19:15 VILEARN -rw------- 1 ivanachu users 74 Dec 5 18:42 cond -rwx------ 1 ivanachu users 97 Dec 5 21:30 cond2 -rwxrwxrwx 1 ivanachu users 4979 Feb 10 22:42 createHAqmgr.ksh -rw------- 1 ivanachu users 28 Dec 4... (10 Replies)
Discussion started by: ivanachukapawn
10 Replies

8. HP-UX

emacs wont run

hi i keep getting this error message when i try and run emacs: /usr/lib/dld.sl: Unresolved symbol: pthread_mutex_init (code) from ./emacs Abort any ideas? thanks ed. (4 Replies)
Discussion started by: deusprogrammer
4 Replies

9. Shell Programming and Scripting

why wont this script run?

i have this script i wrote, it chokes when running the add install client commandit keeps telling me the add_install_client command is incorrect. When I put the print statement in front of the command so it will echo it, the command looks right on the screen. Yes im am an ametuer, im trying to... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

10. UNIX for Dummies Questions & Answers

apt-get update not working

Hi all, Till now i was able to do apt-get update. but today i started to the following error: # apt-get update E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to lock the list directory # Could any one let me know how to solve it. ... (1 Reply)
Discussion started by: gauri
1 Replies
Login or Register to Ask a Question