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
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Advanced & Expert Users
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
4. Solaris
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
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
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
7. SuSE
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
8. Linux
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
9. Red Hat
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
10. UNIX for Beginners Questions & Answers
Want to install APACHE but it's saying command is not found using centos (4 Replies)
Discussion started by: zbest1966
4 Replies
LEARN ABOUT DEBIAN
auto-apt
auto-apt(1) General Commands Manual auto-apt(1)
NAME
auto-apt - on demand package installation tool
SYNOPSIS
auto-apt [options] [command] [args...]
DESCRIPTION
This manual page documents briefly the auto-apt commands.
auto-apt is a program that checks file access of programs running within auto-apt environments. If a program will access a file of unin-
stalled package, auto-apt will install the package containing the file, by using apt-get.
OPTIONS
A summary of options is included below.
-h Usage.
-s No action, perform a simulation of action.
-y Automatic yes to prompt.
-q Quiet
-i Don't install in background process.
-x Disable X interface.
-X Enable X interface. Run apt-get in another x-terminal-emulator if you run in X environments.
-a [dist[,dist...]]
Select installable distribution from main,contrib,non-free,non-US or none. If you set "-a none", it means almost same as "-s".
-p [hook[,hook...]]
Select hook functions from exec,open,access,stat or none If you set "-p none", it means almost same as "-s".
-D [dbfile]
Change dbfile from default /var/cache/auto-apt/pkgcontents.db
-F [filedb]
Change filedb from default /var/cache/auto-apt/pkgfiles.db, which is generated by auto-apt update-local commands. It is used as
default dbfile for commands with -local postfix. In many cases, it is used with -L option to detect file access
-L [record.lists]
Append file access data to record.lists file.
COMMANDS
A summary of command is included below.
run [command]
Run command controlled by auto-apt. If command is not specified, user's shell will be used.
update [ -a ]
Recreate dbfile from sources.list information. dbfile can be specified by -D option. With -a option, all files are stored in
dbfile. Note that dbfile become too big with -a option.
update-local [ -a ]
Generate filedb from installed package information. filedb can be specified by -F option. With -a option, all files are stored in
dbfile. Note that dbfile become too big with -a option.
merge [ -a ]
Merge package,filename information to dbfile, which can be specified by -D option. With -a option, all files are stored in dbfile.
Note that dbfile become too big with -a option.
del package
Delete file information of package from dbfile database.
check [-v] [-f] file
Check which package provides file, from dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of dbfile
database.
install [-s] [-d] [-u] [-y] [-v] file
Try to install a package that provides file by using apt-get. You need root privilege to run apt-get install.
list [-v] [-f]
List file information in dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of dbfile database.
search [-v] [-f] pattern
Search file information by grep(1) pattern in dbfile database. options: -v means verbose. -f uses Contents-*.gz file instead of
dbfile database.
debuild [debuildopts]
Run debuild(1) in auto-apt environments, and show Build-Depends: estimation. Recommended to use with -s option of auto-apt.
status Show whether current environment is in auto-apt or not.
FILES
o /etc/auto-apt/paths.list path lists
o /var/cache/auto-apt cache/database directory
o /etc/auto-apt/sources.list sources.list for auto-apt. if not found, symlink to apt-get's sources.list will be created.
ENVIRONMENTS
o AUTO_APT_CACHEDIR override default cache/database directory
BUGS
Known bugs. See /usr/share/doc/auto-apt/BUGS. and/or http://bugs.debian.org/auto-apt
AUTHOR
This program was written by Fumitoshi UKAI <ukai@debian.or.jp>, inspired by idea/comments from Debian Guru (debian.gr.jp) and Project Dice
members.
29 Jun 2000 auto-apt(1)