Ubuntu Installation :: E: Could Not Open Lock File /var/cache/apt/archives/lock
Feb 25, 2010
my problem is the terminal:
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?
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 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?
I just downloaded OpenOffice 3.2.1 from the openoffice.org weebsite. I followed the instructions precisely and everytime ended up in the same error message - 'error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)'. I am using Fedora 13.
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.
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.
I'm wondering why the num lock doesn't work in Ubuntu anymore? When you press the "num lock" key, you're supposed to be able to input the numbers along with + - * / and decimal point. When I press num lock and try typing numbers, nothing happens.
I've done a google search and this is a well known problem that nobody has fixed. In Windows it's never a problem.
Seems such a shame that the great Ubuntu and Linux are so good for stability and speed, but can't get a simple num lock working.
I am having a very annoying problem with my laptop.I am experiencing many freezes.When my laptop freezes, it shows the caps lock and scroll lock lights blinking.At first I thought it was a problem with flash (here is original thread: URL... )In the original thread, I thought the freeze's were being caused by the flashplayer, but it apparently isn't the case.The last time I experienced the freeze, I was playing around with the compiz desktop effects.
A few releases ago things used to work this way, but seemingly since Jaunty it no longer does seem to work:
This used to work: I have several Ubuntu machines to upgrade and limited (and highly expensive) bandwidth available. In the past I would upgrade/update one machine and copy the contents of /var/cache/apt/archives to the other machines to be upgraded. When updating/upgrading the distro the packages that already exist in /var/cache/apt/archives would not be downloaded from the Internet while utilising the locally cached .deb files, saving time and bandwidth.
The Problem: I have noticed that since 9.10 (and with 10.04) this no longer appears to work. While the .deb packages may exist in /var/cache/apt/archives, the same packages would be downloaded from the Internet regardless of the same .deb file existing in /var/cache/apt/archives/.
Question: What is wrong and how can I restore the functionality present in copying cached packages from machine to machine in order to save bandwidth?
Why I need this to work: At work (and I have no control over this...) we are limited to a total bandwidth of 3Gb per month for multiple users. Needless to say a single upgrade of a recent Ubuntu distro can decimate a large proportion of our monthly available bandwidth. Upgrading multiple machines is absolutely out of the question if the packages have to be downloaded every time.
An apt-cache server is not an option: The option of a local apt-cache server is not feasible due to the same 3Gb bandwidth constraint. An apt-cache server requires 15Gb storage per version of Ubuntu and the downloading/upgrading of 15Gb worth of packages for that storage is not an option due to the 3Gb limitation.
When i log in as root, and try to click the lock screen button, lock screen doesnt work? Is it disabled by default?is there anyway to lock screen when logged in as root
During the installation, I kept getting tons of errors. Finally something came up saying that I had to abort the installation and it did some stuff. I tried running an application, but I got an error. So I restarted the system.
The normal screen came up where I had to choose the Ubuntu stuff (I'm new to Ubuntu) in the box. I noticed that it had gone to 8.10... which I had earlier before installing 9.04, which went great. So I chose the first on and the system failed to start. I rebooted and tried all the other options, but they all had errors. Now I'm booted to Windows.
I installed Ubuntu from a CD I created. But it is now outdated because it is 8.10, and I have already upgraded to 9.04. 9.04 to 9.10 is where stuff went wrong.
Can I change the Caps Lock key to Control and still keep the on/off nature of Caps Lock? I've checked into using xmodmap and seem to have hit a dead end. Many people want to swap them, but they also want to swap the way they work. I'd rather keep my new Control key as an on/off switch for Control.
Running Ubuntu 9.10 ,installed vlc via synaptic work fine. Using the preference setting i download and install a new skin. When i launch vlc 2 version open ,one with the new and one with the default skin.Vlc is lock up. tried uninstalling and reinstalling still
Ubuntu 10.04, I transferred a Word Processor document via SSH2 from kristin's laptop to my desktop computer on my network the other day. Since that time, both computers have been shutdown. Today, I wanted to open the document and got the following notice.
Quote: Document file 'Sound Fix.odt' is locked for editing by: kristin ( 15.09.2010 16:08 )
Open document Read Only or open a copy of the document for editing.All I can figure is, maybe I didn't exit the gFTP application properly. How do I release this lock on this file on my computer?
What's the easiest way to make a given file/folder (or multiple files) require a password upon opening moving copying etc, without encrypting the file/archive. The password should at least be manually defined upon establishing it, and preferably it could be modified.
I'm aware of the community belief that this is redundant. I don't want to know how to start from scratch a different way, or why I should or shouldn't do this or that. Just how to password lock a file/folder regardless of your feelings on the matter lol.
I'm trying lo lock a file (not using the chmod). This is the code I generated, but even locking the file I still can read and write the file from another process. (I'm working on a ubuntu 10.10, kernel 2.6.35-22-generic #35-Ubuntu SMP)
I would like to lock the /etc/hosts file somehow in a way that only someone else can unlock it, possibly using a lock code.I would then give the passcode to someone else.I'm running Ubuntu 10.10.
I use Unison to synch files between my netbook and desktop. Have done for a while without issue. I hadnt used it for a while and now, when doing so, i cannot get it to work.I get the following error message:
Code: Looking for changes Fatal error: Warning: the archives are locked.
I had to force kill the yast, however, it didn't had chance to unlock the files it lockes while it workes. I know there is a way to manully unlock them, but don't know how to do it
I have a problem when I try to service nagios start, error is the following; No lock file found in /var/run/nagios.pid So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get: -bash: /usr/local/nagios/bin/nagios: No such file or directory
My /var/cache/apt/archives directory has almost 9000 items and is over 12 GB big. All it contains is a bunch of .deb files. Do I need this file or can I delete it to save hard drive space?
I really want to free up disk spaces in my ubuntu, so i look up disk analyzer then i saw /var/cache/apt/archives take about 1.2GB space from my disk. can i deleted those packages to free up disk spaces? the packages there is a *.deb files, when i click on some them, it open ubuntu software center. an the ubuntu software center describe the newer upgrade is installed.
i have kown how to lock file in subversion,such as ' svn lock tree.jpg' but i don't down how to lock file folder, i create the repositoryroject1 project1/trunk /tags /branches /branch_user1 /branch_user2 i need to lock a branch before merging and how to unlock the branch after locked