apt-get update not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers apt-get update not working
Prev   Next
# 1  
Old 02-14-2006
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.

Thanks & Regards
Gauri
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Apt-get

Want to install APACHE but it's saying command is not found using centos (4 Replies)
Discussion started by: zbest1966
4 Replies

2. Red Hat

Yum and apt-get

I know both yum and apt-get could update the package , could advise which one is better in Redhat server ? thanks Login ID ust3 is currently in read-only mode for multiple infractions. Creating new identities to avoid restrictions is not allowed. This thread is closed. (1 Reply)
Discussion started by: ust03
1 Replies

3. Linux

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... (20 Replies)
Discussion started by: prash358
20 Replies

4. SuSE

Yum update not working from spacewalk server

Hello, I have registered an SLES11SP1 server with my spacewalk server however when I perform a 'yum repolist', I do not see my spacewalk server as one of the available repositories. So when I perform yum update (any-package), it does not find an update available. HOwever within the Spacewalk GUI... (3 Replies)
Discussion started by: s ladd
3 Replies

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

6. Shell Programming and Scripting

Can't get While loop working with rrdtool update

I have data in a CSV file that looks like; 1353557880:1.111:123.3 1353557940:1.113:123.3 1353558000:1.118:123.3 1353558060:1.123:123.3 1353558120:1.218:123.3 I'm running the following; while IFS=":" read d a b; do rrdtool update temp.rrd $d:$a:$b; done <temp6 It gives me the following... (2 Replies)
Discussion started by: ottsm
2 Replies

7. Solaris

Update Manager Not Working

Hello I reinstalled my OS today and after going through the registration the updatemanager pops up, as expected. The problem is all i get is an error message box that's completely blank. The icon in the sytem tray is a blue question mark and when hovering over it, it says i'm not... (4 Replies)
Discussion started by: jpg.2009
4 Replies

8. UNIX for Advanced & Expert Users

oracle update not working

Hi, I have a oracle source with a field my_date =06/02/2009 I am trying to update the table to SYSDATE with a myscript.sql where I have UPDATE table set my_date=to_DATE(SYSDATE,'MM/DD/YYYY'); Now I try to run it with myupdate.SH script where I have sqlplus nolog @myscript.sql ... (4 Replies)
Discussion started by: RubinPat
4 Replies

9. UNIX for Dummies Questions & Answers

sudo apt-get install build-essential not working

it asks for password and then following is displayed Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package build-essential what should i do to install g++ compiler? (4 Replies)
Discussion started by: sparkle
4 Replies

10. UNIX for Advanced & Expert Users

Pro*C Update not working from Crontab

Dear All, I have writen a Pro*c program that does a data base select,insert,update statements and I have scheduled the program to run from crontab, It is runing fine for the select insert and commit statement till it reaches the update statement , it throws the following error: SQL On IPB... (2 Replies)
Discussion started by: alhallay
2 Replies
Login or Register to Ask a Question
APT-SPY.CONF(5) 						File Formats Manual						   APT-SPY.CONF(5)

NAME
apt-spy.conf - configuration file for apt-spy(8) DESCRIPTION
apt-spy.conf is the configuration file for apt-spy(8). It consists of a series of area labels, followed by a list of countries belonging to that label. Whitespace is ignored. Comments may be added anywhere, and begin with the hash ('#') character. Once a hash character is encountered, the rest of the line is ignored. A label consists of any alphanumeric characters, and ends with a colon character (':'). The label must be on a line by itself (excluding comments). Following a label are a list of country codes (one per line) of countries belonging to that label. Each country has a unique two-letter country code corresponding to its top level domain identifier. This is the same as the ISO3166 code. You can find the country code for a specific country either by looking at /var/lib/apt-spy/mirrors.txt, or by looking at the commented examples in the default apt-spy.conf. Labels cannot exist within labels. The end of a label section is signaled by the start of a new one, or by the end of file. Any valid label existing in apt-spy.conf can be specified to apt-spy using the '-a' option. apt-spy will then proceed to benchmark the mirrors in the list of countries associated with that label. EXAMPLES
This is an example of a valid apt-spy.conf file: USUK: GB # United Kingdom US # United States Australia: AU France-Germany-Netherlands: FR DE NL There is a default configuration file included with apt-spy. For further examples, and for a list of valid country codes, please refer to this. SEE ALSO
apt-spy(8), apt(8), sources.list(5) 20th May, 2003 APT-SPY.CONF(5)