Home > Unable To > Unable To Lock The Administration Directory (/var/lib/dpkg/)

Unable To Lock The Administration Directory (/var/lib/dpkg/)

Contents

System has been upgraded over time through about 3 or 4 releases. I'm new to Linux so have absolutely no idea how to get round this, or implement a manual fix. I love Nix! –Wayne Phipps Jun 26 '15 at 13:17 3 Note, killall apt-get does the same thing as your ps/kill combo. –Cerin Jan 15 at 22:09 | show 3 Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate return self._simulate_helper(trans, status_path) File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 948, in _simulate_helper return depends, status, self._cache.required_download, \ File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download Source

I've also created a PPA for the project. share|improve this answer answered Oct 21 at 19:59 Joe 927619 add a comment| up vote -2 down vote After running commands told by Kern in his answer, you may try this: Now I can't install any software from the Software Update Center. When I did that, I got errors like: newline in field name #padding in files like '/var/lib/dpkg/updates/0003'. his explanation

Unable To Lock The Administration Directory (/var/lib/dpkg/)

Sep 6, 2010 I cannot find dpkg directory in /usr/bin folder and while installing mysql server it gives the following error Errors were encountered while processing:/var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.5_i386.debE: Sub-process /usr/bin/dpkg returned an error In reply to this post by Amrit Pal Pathak On 06/15/2011 02:07 AM, amritpal pathak wrote: > when i try to install any software by terminal ,it says: > E: Could Support us by taking our online Linux courses We are thankful for your never ending support. You can force the lock off by removing the file, but it's not recommended without first closing the program that's holding the lock safely, since you could cause corruption or interrupt

My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root Some other (perhaps) useful information.Code:[root ~]# cat /etc/my.cnf[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sock# Default to using old password format for compatibility with mysql 3.x# clients (those using the mysqlclient10 compatibility package).old_passwords=1[mysql.server]user=mysqlbasedir=/var/lib[mysqld_safe]err-log=/var/log/mysqld.logpid-file=/var/run/mysqld/mysqld.pidSo my BASEDIR seems to be best Georgi View Comment Reply Arnold says: December 28, 2011 at 5:03 am Firefox 3.6.10 Ubuntu 10.10Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10Thank you Kiss View Comment /var/cache/debconf/config.dat Is Locked By Another Process Close the program and run it again it should work.You may either have synaptic open, or have another terminal window open running apt-get, or have the update manager running.Check it and

I have looked around this site, and tried a few things. Does this mean my settings for the users are all screwed? Is there some way to reset aptdaemon? In any case, if the process got stuck, you probably don't have a choice but to kill it.

share|improve this answer answered Mar 31 at 2:43 BluePython 1114 add a comment| up vote 0 down vote In my case I just waited for several minutes and the lock has Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Your name can also be listed here. Only if the process fails to exit, meaning it's hung, should you kill -9, which tells to kernel to terminate it. Reply Aaron Kili says: November 18, 2016 at 12:01 pm @Ron That is so true, many thanks for the well explained feedback.

Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

Visit Chat Related 2“sudo apt-get update” packages 404ing in linux mint nadia1Apt-get update issues on Linux Mint0apt-get is unable to lock the administration directory while installing1Trouble starting my Vagrant box after Abhijit Raj (abhijitraj-dce) wrote on 2011-01-14: #5 Thanks Kim! Unable To Lock The Administration Directory (/var/lib/dpkg/) View 1 Replies View Related General :: Installing As Non-root In A Root Owned Directory Mar 8, 2011 I have a machine which has only /opt with some decent amount of Unable To Lock Directory /var/cache/apt/archives/ Software center, auto updates, perhaps. `ps -efH|less` will show them all.   output of this is:UID        PID  PPID  C STIME TTY          TIME CMDroot    

Word for fake religious people Why does a (D)DoS attack slow down the CPU and crash a server? this contact form Cyril (i3s7) wrote on 2011-03-10: #18 @ Esteban Clarke : You must be super user. I can now install from the software center again. Help it: More helpful ArticlesApache Webserver: No space left on device: Couldn’t create accept lock /var/lock/apache2/accept.lock - FixHow to get a list and Backup (Save Enabled Plugins) / Restore Enabled (Active) Could Not Get Lock /var/lib/dpkg/lock Kali

I did what you tried and the issue got resolved! Ravi Saive says: @Federico, It seems you compiling 64-bit binaries into 32-bit system,... I've tried to install using this command: sudo apt-get instal. http://globalcryptonews.com/unable-to/unable-to-acquire-package-administration-lock-for-this-system.html What exactly is the history of this machine?

Make sure that you are not running aptitude, synaptic or adept. Dpkg: Error: Dpkg Status Database Is Locked By Another Process Advice? Okay, so this problem occured when I was installing mysql server on my computer.

Mar 21, 2011 On my freshly installed 64bit ubuntu i keep getting this error:Unable to lock the administration directory (/var/lib/dpkg/)whats going on?

View 2 Replies View Related Ubuntu Installation :: Can't Find Dpkg Directory In /usr/bin Folder And While Installing Mysql Server? comments powered by Disqus Welcome to Starry Hope! kal31 (djami-hms) wrote on 2011-03-30: #21 mee to . E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files.

Name (required) Mail (will not be published) (required) Website Search for: Daily Bible quote Let no man seek his own, but every man another's wealth. -- 1 Corinthians 10:24 GET ARTICLE I got it by reading many answers to questions like this one. it's work carefully. Check This Out The project's home page will be located here, and the source code can be found on launchpad.

Asked by greg white on 2011-03-28 as you can see this is the message i get when trying to get updates GPG error: http://packages.medibuntu.org maverick Release: The following signatures couldn't be Hot Network Questions A for loop that appears to be practically infinite Show message on products (view.phtml) within specified category only Do progress reports/logging information belong on stderr or stdout? While most or all of this is presented in the other answers, this distills the fix down to a few commands. SIGN ME UP Linux Monitoring Tools Real Time Interactive IP LAN Monitoring with IPTraf Tool 8 Feb, 2013 Install Mtop (MySQL Database Server Monitoring) in RHEL/CentOS 6/5/4, Fedora 17-12 1 Oct,

Is it possible to change airports when using China's on-arrival transit visa scheme? With the introduction of Facebook's Graph API and Ubuntu's Quickly project, it seemed like building a Facebook photo uploader should be pretty easy. Apr 3, 2010 I have pidgin2.5.2. What is the output of: $ ls -al /var/lib/dpkg/ ls: cannot access /var/lib/dpkg/: No such file or directory -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users Amrit

it seems that inserting a new username requires root privileges and i am back to square one. Could this be some sort of security breach? The apt-get command gives me back the following....'Could not get lock /var/lib/dpkg/lock resource temporarily unavailable' 'unable to lock administration directory /var/lib/dpkg is another process using it?'I tried the obvious restart but In addition, you may as well want to learn how to find and kill running processes and read through a simple guide to kill, pkill and killall commands to terminate a

View 4 Replies View Related Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem Jan 9, 2011 I'm using 10.10 and When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). If you see an apt-get process or an aptitude process that looks stuck, you can try kill processnumber and if that doesn't work try kill -9 processnumber This should kill the The college in 'Electoral College' What is the intuition behind the formula for the average?

Duplicate of bug #659438 Remove Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. I was then asked to report the problem here. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. share|improve this answer edited Nov 5 at 8:36 Younghyo Kim 33 answered Feb 7 '12 at 2:22 zurdo 3,87511318 4 ok...