Ubuntu :: "Unable To Lock The Administration Directory (/var/lib/dpkg/) Are Root?"

May 30, 2010

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.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Unable To Lock Administration Directory

Jan 11, 2011

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.

View 1 Replies View Related

Ubuntu :: Unable To Lock Administration Directory / Why Is So?

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 3 Replies View Related

Ubuntu Installation :: JDK 6 - Unable To Lock Administration Directory

Feb 25, 2010

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.

View 4 Replies View Related

Ubuntu Servers :: E: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)

Mar 25, 2010

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?

View 1 Replies View Related

Ubuntu :: Sudo-apt Get Not Working - Not Get Lock /var/lib/dpkg/lock Resource Temporarily Unavailable

Jun 12, 2011

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.

View 6 Replies View Related

Ubuntu :: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)?

Apr 3, 2010

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?

View 1 Replies View Related

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

View 4 Replies View Related

Ubuntu :: Sudo Apt-Get / Unable To Lock Directory Pops Up

Aug 10, 2011

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.

View 3 Replies View Related

Ubuntu :: Unable To Boot The 10.10 - Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 9, 2011

After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;

Code:

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= boot arg

BusyBox v1.13.3 (Ubuntu 1:1.13.3.1ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;

Code:

sudo fsck /dev/sdb5

Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!

View 9 Replies View Related

Fedora :: Unable To Edit The Files Under Root Directory Of Apache?

Jun 12, 2011

why i m unable to edit the files under root directory of apache ?and how to fix that plz tell me ?

View 3 Replies View Related

SUSE / Novell :: Ran Rm -rf On Home Directory Unable To Run Commands As Root

Jun 13, 2010

Accidently ran rm -rf while the pwd was /home/user-name

Now I'm unable to run any command whatsoever as root, ls,vi,cnf whatever, they don't work.

However the commands work as normal user.

I can guess that the files with root ownership in the home folder were deleted but I would like to revert everything back to normal and would like to know how to solve this problem.

View 5 Replies View Related

Server :: MySQL Root User - Administration And Permissions

Jun 22, 2010

I'm using an older redhat system (2.6.9-22.ELsmp) here which is running an older mysql (server version: 4.1.12). I don't think that's the source of the problems. I believe that have understood things rightly when I say that the mysql root user is unrelated to the linux root user ... in my case I believe the root user to be the unix user mysql. So when I connect to the server (local host from a local terminal) I use:
Code:
-bash-3.00$ mysql -u mysql -p
and enter a blank password

This gets me on, however I seem unable to do anything like create database or alter privilege. I wonder if its related to my finding no database called mysql?
-bash-3.00$ mysql -u mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 11 to server version: 4.1.12

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
Although I understand that show databases will not show things I have no priv to see. Does this mean my settings for the users are all screwed? How do I rectify this situation? Some other (perhaps) useful information.

Code:
[root ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/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=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

So my BASEDIR seems to be nothing like is suggested in the documentation at [URL].

View 2 Replies View Related

Ubuntu Installation :: Can't Find Dpkg Directory In /usr/bin Folder And While Installing Mysql Server?

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.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

View 1 Replies View Related

Ubuntu :: How To Lock Folder / Directory?

Oct 28, 2010

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)

View 9 Replies View Related

Ubuntu :: Error Message 'dpkg Interrupted Must Manually Run 'dpkg --configure -a'

Jan 6, 2010

im trying to update some software in ubuntu using the update manager. i type my password in CORRECTLY but then get this error message.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

what does it mean and how do i fix it?

View 3 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure

Jul 6, 2010

I keep getting this error when I try to install Adobe flash player E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. I had it installed just fine, then i restarted my computer and its gone. .

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 from today I'm getting this error Quote:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. When I'm trying to install any software using

Code: sudo apt-get <sw-name> Also I'm unable install using "Ubuntu Software Center", showing unhandleable error. Here is the details:
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)

[Code]...

View 6 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). 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. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

CentOS 5 :: Lock Screen As Root?

Aug 11, 2009

I've googled for the answer to this but every thread has the same answer "don't log in as root". For once I'd like an actual answer to the question if possible. All of the jobs that I run are all through the root account and I'm constantly using ssh into other workstations and servers to change config files or whatnot. I'd like to be able to lock the screen when I take short breaks or head out for the day while being able to leave jobs running. For example I am currently backing up a server onto another one and would prefer not having to stop the jobs when I leave for the day(there's over 400GB to move).

View 1 Replies View Related

Debian :: Dpkg-buildpacakge Exits After Dpkg-source Error

May 3, 2010

Sid
cmake 2.8.1-2
dh-make .54
dpkg-dev 1.15.7.1

I'm having some issues building deb packages. dh_make --createorig behaves as expected, but when I attempt to buld the package with dpkg-buildpackage -rfakeroot the build dies on a dpkg-source error.

View 14 Replies View Related

Ubuntu Installation :: E:Unable To Parse Package File /var/lib/dpkg/status (1)

Mar 31, 2010

I'm running ubuntu 9.04 and was happy because I finally got the screen resolution to be a good size, but now I can't update anything or even upgrade ubuntu.The message I get is

Quote:

Could Not Initialize Package Information

An unresolvable problem occured while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:

'E:Unable to parse package file /var/lib/dpkg/status (1), E:The package lists or status file could not be parsed or opened.'

I've also had issues with installing new programs (specifically tried Boxee (64bit ver) and Last.fm Scrobbler), but was thinking these issues might be related to the updage-manager error.

View 4 Replies View Related

General :: Lock Ssh User On Own Home Directory?

Jun 21, 2011

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.

View 1 Replies View Related

General :: How To Lock Screen While Login As Root

Feb 20, 2011

I logged in as root. i want to activate screensaver which required password.
Installation version is RHEL 5 server. I have installed xlockmore-5.28-1.el5.rf.i386.rpm but when i run xlock comand in terminal window, it shows error e.g. libGL warning: 3D driver claims to not support visual 0x5b xlock: symbol lookup error: xlock: undefined symbol: DPMSQueryExtension

View 2 Replies View Related

Security :: Secure FTP - Root Privileges After Logging In Form A Macintosh And Could Browse The Root Directory

Apr 12, 2010

I run ProFTPd with TLS authentication on my Debian Lenny server. 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 directory, too.

View 1 Replies View Related

Ubuntu Installation :: Upgrade Interrupted - Unable To Access DPKG Status Area

Jan 6, 2010

I was in the process of upgrading my ubuntu system (probably the latest version, it was about a month ago) and my computer froze (it does that on occasion). I have looked around this site, and tried a few things. I assume I am supposed to use the command "sudo dpkg --configure -a" to fix it. The problem is that when I do that, I get the message "dpkg: unable to access dpkg status area: read-only file system". So, what do I do now? I definitely dont want to mess up my system, but I want to fix it.

View 1 Replies View Related

Networking :: ERROR: Lock Directory /var/run/samba Does Not Exist

Jan 20, 2010

When i try to share a folder from linux ubuntu desktop i am facing a problem a error reported are as follow:

loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist

or i have no permission to open samba

View 1 Replies View Related

Software :: Cvs Checkout - Failed To Create Lock Directory

Oct 16, 2009

Code:

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.

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 space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related

Software :: Login With CAPS Lock (upper Case ROOT)?

Mar 14, 2011

I am facing one problem, whenever I login to my Linux machine with caps lock key on i.e. ROOT inspite of root (password in lower case letter), I am able to login and after that all letters comes in upper case letter only.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved