package management
I am completely new to Linux, I've successfully installed "etch" and KDE, am now trying to learn how to use package managers. I have tried installing Open Office (openoffice.org-core and openoffice.org-kde) with both Aptitude and KPackage but I keep getting a similar error message in both programs (this is from KPackage):
<fice.org-core' 'openoffice.org-kde' ;echo 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? RESULT=100 I have closed all other processes in the system tray, I don't know what I'm doing wrong. Thanks for any advice. Mark |
open terminal:
su - now: apt-get install synaptic logout of the computer and login. Now in your menu you will have something called synaptic (GUI). Open it and then search for openoffice. |
I seem to remember that Etch installs open office by default.
Are you sure it is not installed already? Having installed Etch on a few different machines i have never had to add open office manually. Regards, The Trooper. |
Quote:
Solution is simple: first make sure there are no package manager processes running (dpkg, apt-get, adept, synaptic, ...) and if the file still is there, simply remove it. You should not remove it if there is a package manager process running, because then another process could accidentally start and interfere with the other one, but if there are no processes, the file is "not used" by anybody. So (you need to be root to do these things, killing processes not owned by you and all: Code:
su - Code:
ps -e |grep apt Code:
killall -q dpkg Code:
ls /var/lib/dpkg/lock Code:
rm /var/lib/dpkg/lock With Adept I've found this sometimes happens; the application crashes, leaving an unneeded lock file behind. Installing Synaptic (which is a front-end to the package manager just like Adept, but with a GTK interface rather than QT, so it might not sit as well into KDE desktop than Adept does - but on the other hand, Synaptic is in my opinion somewhat "more clear" in terms of usage than Adept) won't get you past the lockfile problem, but if it's Adept that causes the lockfile-leftovers, then you might get less headache using Synaptic. If you are fine with it's outlooks and the interface, go ahead, it won't harm anyone :) Hope it helps. |
Thanks very much for all your help, i've deleted the lock file, but I still can't install Synaptic, letalone OOo. I give up ?temporarily and seek something more idiot-friendly.
|
If you are really that new, I would recommend you to start off with ubuntu or kubuntu. Try it for a few months - it is easier.
|
All times are GMT -5. The time now is 01:08 AM. |