Sponsored Content
Operating Systems Linux Apt-get update wont run and gives 503 service unavailable error Post 302862867 by sea on Friday 11th of October 2013 03:08:26 PM
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...
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
XAPT(1) 						User Contributed Perl Documentation						   XAPT(1)

NAME
xapt - convert Debian packages to cross versions on-the-fly Synopsis $ sudo xapt foo bar baz $ sudo xapt -M http://ftp.fr.debian.org/debian/ foo bar baz $ sudo xapt --clean-cache Description Downloading the Packages files can take a reasonable amount of time, so to grip a number of packages, either specify all packages in one command or use the "--keep-cache" option for each run and use the "--clean-cache" option at the end. Note also that, in common with the rest of Emdebian processing, Install-Recommends is always turned off, so if you need a package that is only recommended by packages in the list given to "xapt", that package will need to be added to the list explicitly. Limitations Installing any package from repositories outside the normal apt sources (especially if those packages are subsequently modified by dpkg- cross) will list those packages as "local or obsolete" in package managers. Converted packages cannot be upgraded without repeating the call to "xapt" because "apt-get" does not know about the renaming of the package by "dpkg-cross" when downloading the packages. This can cause problems if dependencies of such packages need to be upgraded. It is possible that the main system "apt" will try to remove these local packages in order to proceed with the main system upgrade. The best option is to use "xapt" inside a disposable chroot. Checking existing cross packages "xapt", by default, will not check to see if a particular cross package is already installed at a newer or equal version which can cause cross packages to be downgraded. To turn on this check, either use the "--check-newer" option or set "checknewer" to true in the vendor configuration file in /etc/xapt.d/. Using SecureApt If your apt sources include a repository which does not use SecureApt, disable authentication in the vendor configuration file in /etc/xapt.d/ Set noauth=true. Multiarch behaviour By default <dpkg-cross> does nothing with packages from Debian which already support Multi-Arch - the package is simply copied to the current work directory, if it does not already exist. Any package containing a Multi-Arch: field in DEBIAN/control is skipped in this manner. "xapt" uses the --multiarch option can pass the --convert-multiarch option down to dpkg-cross to instead force the generation of a -<arch>-cross package with the files moved into the conventional dpkg-cross locations. "xapt" will check for dpkg-cross version 2.6.3 or higher when this option is set and report an error (unsetting the option) if a suitable version is not found. perl v5.14.2 2012-09-26 XAPT(1)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy