Ubuntu :: Can't Update - Unable To Lock The List Directory
Jan 23, 2011
red minus sign next to internet and following states..... E: Type 'cat' is not known on line 45 in source list /etc/apt/sources.list E: Unable to lock the list directory
So I was trying to run this: sudo apt-get update && sudo apt-get upgrade.But then it stopped working in the terminal, so i got this:E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?So then I ran this: sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock..Which blanked my screen. I booted to a terminal and I ran apt-get update and apt-get upgrade.All my files are there, I ran -ls. Any advice as to how to log on graphically again?Also-when I turn on the computer, it says the screen graphics card and the like were not detected properly.
I am currently new to ubuntu. I would like to install jdk 6 in ubuntu. I've tried to install using this command: sudo apt-get instal. But in the end, I only got this result: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? I've tried many times and still it doesn't works.
Unable to lock directory /var/cache/apt/archives/ Whenever I use sudo apt-get to install my apps in the terminal this pops up when its almost done downloading.
I tried install Gimp, but received: "Unable to lock the administration directory (/var/lib/dpkg/), are you root?". I saw the article "Sticky: Using sudo in place of root login in Ubuntu" and guess it's relevant. And when I extract Blender it's just a bunch of inactive files. Not quitting although having trouble at the moment.
I have had a Dlink 323 network file server for some time. After first getting it going, it has worked fine on both my Ubuntu computers and my Windows machines including a dual boot Ubuntu machine / Vista box. Recently, a problem has appeared that started at about the same time. The Ubuntu machines give me the "Unable to mount location, Failed to retrieve share list from server" error message. The Windows machines still work fine. This message can be caused by a number of problems. I suspect that this time was caused by a update. The linux machines are 11.04 and 10.10.
When I run "ls -al somedir*" (I use the "ll" shortcut, actually), Linux not only list files that match, but also the contents of directories whose name also happens to match.Is there a way to limit "ls" so that it will only show names (files and directories) and ignore the contents of the directories?
its look like ordinary question..i want to know how to lock a directory in such a way that it require password for unlocking(by entering to that directory)
I must to give ssh connection to own customer. So I want to lock ssh user on own home directory. It is not necessery to reach other folders. I know that ftp user can lock on own folder but I don't know how to lock ssh user.
I have uShare 1.1a setup to talk to my XBox 360. If I share a directory that has no subdirectories, the video files display on the XBox. However, most of my files are in sub-directories on a different partition - I don't really want to copy them to the share, but uShare doesn't seem to recognise any sub-directories or files contained therein.
I have tried setting up symbolic soft links directly to the video files (although this is a pain, it is better than moving the files)...
Code: ln -s /home/jonftp/TV-Shows/Buffy/Season-1/Buffy-101.avi /home/share/Buffy-101.avi ...but these don't show up on the XBox either.
How can I get uShare to "drill down" the directory structure to list the files or how can I get uShare to follow symbolic links?
I found another thread similar to my question here: http://www.linuxquestions.org/questi...-issue-535818/
But I don't understand what the solution is. I believe this has something to do with the permissions on the directory im trying to check out so I did chmod 777 on subdirectory in /cvs(my cvsroot directory) and I was able to checkout subdirectory afterwards, but I still get the same error.
i have consistently had one problem since i started using ubuntu a couple of days ago, when i try to install or update anything i get the error message 'unable to get exclusive lock'. It says that this probobally means that another software management program is running however using system monitor none are apparent. I am currently trying to use the update manager however i was having the same problem while installing flash player yesterday.
I know its been a few years since this post was made but, im having the same problem as guts and glory. So i did the things you said and it still says "status database area is locked by another process"
After i wrote 'sudo apt-get clean all' it didnt say anything but /home/user/
All i want to do is to enable desktop mode. So i can then install programs like vlc media player for watching movies
Edit: ok i don't know where the rest of the post went?! So when i type in 'sudo synaptic' i get a error saying "Unable to get exclusive lock - This usually means that another package management application (like apt-get or aptitude) already running. Please close that application first."
And when i type "sudo dpkg --configure -a" i get "dpkg: status database area is locked by another process"
I have a Dell Laptop C640 Latitude that locks up with in a min or two of booting up after I update from 09.04 to 09.10 or if I do a clean install of 04.10. I do not know if it is the laptop or the 09.10 that is doing it.
I recently tried to upgrade to 10.04 but during the upgrade my powerpack failed. Now 10.04 has been installed but I cannot access Synaptic through the drop down menu it says "Unable to get an exclusive lock". I've tried accessing it through Terminal which works but then the only option I have is to Partial Upgrade but then that freezes at the first stage saying the old database can't access the new (or something along those lines) then that screen just remains there. Also when I minimise any windows I have open they don't appear at the bottom of the screen I have to go to multi screen to find them.
I'm using Fedora 15 with Gnome 3 on my laptop. I don't restart the system unless there's an update that requires me to, preferring to use the Suspend feature instead. However, I noticed that after an uptime of a few days, the screen doesn't lock anymore. Neither the shortcut 'Ctrl+Alt+L', nor the terminal command 'gnome-screensaver-command --lock' seem to work. I'm sure restarting the system will enable me to lock again, but I don't think I should restart just to get this feature back.
Does anyone know why this happens? Is there some other way to lock the screen?
I am very new to Ubuntu or any Linux for that matter. I am tring to get Mediatomb to work on my system. I have installed the packages and mediatomb appears to be running fine. The problem is that I have an external hard drive that I want my files to be kept on. When I try to add the folders on the external I get the following error:Error: Could not list directory /media/TeraByte : Permission Denied.TeraByte is the name of the volume, I have created shared folders on the Volume, but I can't seem to get anywhere with this
I want to list the images in a directory with their dimensions, if possible in order of their widths (all the wider pictures come first) - this is not strictly necessary,
On my windows console, i have installed sun virtualbox. I only have 768MB ram and so i downloaded a trial version of eboostr. I thought it would work, but when i tried an install of 11.2, also, i tried a debian install, it did the same thing, it froze up in the middle of the install with the error Code: unable to allocate and lock memory. I guess that eboostr doesn't work, but is there a way to use a flash drive as ram in virtual box?
When i connect windows server 2003 from ubuntu these error displayed .When i installing the tsclient, by executing these following command from a Terminal window:
sudo apt-get install tsclient
When i run these command the following error displayed.
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I have a HP Pavilion dv4 that is 4 months old. Yesterday it suddenly seemed to restart then once I logged in it turned off. When I tried to turn it on some of the lights came on and the caps lock and num lock started flashing. Since then I have not been able to get it to work correctly.It once seemed to turn on but died again after the login window.I tried to use my live cd but the same thing happened. It started loading once, but then shut down again. Every other time it stayed dead minus the lights
I recently installed Ubuntu 11.04 on an old Sony Vaio laptop. I was following some of the steps here..[url]
The step "Enable Full DVD Playback(Dual Layer DVD Support)" did not finish correctly doh and now I can't use 'sudo apt-get' for anything or the software center or using the 'Update Manager' does not work.
The update manger says it may be caused by an update not finishing correctly which sounds correct as explained above. 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 that hasn't worked.
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/) , are you root?
I have pidgin2.5.2. I want to install pidgin2.6.6.How can I do that?E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
There is a very strange problem I've been having. When I enable either Caps Lock or Num Lock the media controls on my keyboard cease to work. I have Googled this one to death but found nothing. This problem existed in Xubuntu 9.10 and now still exists in Xubuntu 10.04. The keyboard I use is a Logitech Elite Keyboard. I would love to be able to use the Caps Lock and Num Lock without the worry that I am disabling the media controls
I have just burned the latest CD using infraRecorder, as per the instructions on this site, however when I boot from this CD, it spends about 5 minutes moving the red balls across my screen, then all of the sudden it just freezes, and my caps and scroll lock lights start to blink. I've had a look in the forums already but there's nothing about this happening on Boot of the live CD.