Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-05-2011, 10:20 AM   #1
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit

Hi All, i could int able to install sudo aptitude install zip file in debian it delivering following error

dpkg: dependency problems prevent configuration of samba:
samba depends on samba-common (= 2:3.5.6~dfsg-3squeeze5); however:
Package samba-common is not configured yet.
samba depends on libpam0g (>=; however:
Package libpam0g is not configured yet.
samba depends on update-inetd; however:
Package update-inetd is not configured yet.
dpkg: error processing samba (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
[ ERR] Reading state information
E: Could not get lock /var/lock/aptitude - open (11: Resource temporarily unavailable)

W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!
Old 12-05-2011, 11:26 AM   #2
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Do this and report what you get:

ps -e | grep apt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 17 07-12-2016 02:50 AM
open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied gabsik Linux - Server 6 08-30-2012 09:39 PM
Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) basina Linux - Laptop and Netbook 3 09-05-2011 05:18 PM
Lock after invalid login attempts, session lock, minimum password length nstarz Linux - Security 1 06-24-2010 05:36 PM
Could not get lock /var/lib/dpkg/lock thelonius Debian 5 07-31-2006 07:48 PM

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration