It looks to me that you are trying to run two instances of apt-get (or apt-get and software center). That is not possible (the error you mentioned is related to that). Issue you are having should not be connected to root account.
–
Milan TodorovicDec 14 '12 at 12:10

3

in addtion to @MilanTodorovic: you can not run two instance of software installation at same time because it may lead to a an instable state of the OS. To maintain stability they lock the admin directory. You can search for deadlock in google, ubuntu will face same kind of situation if allowed
–
Web-EDec 14 '12 at 12:16

thanks for help people i'm really didn't think about stability thank you milan and web-e about help and i'm very sorry about my bad language
–
Mahmoud20070Dec 14 '12 at 12:21

1

@Web-E : I don't think that's a given for all software. Some software can, some can't. And not all that can't will lead to "instable state of the OS"
–
NanneDec 14 '12 at 13:02

1 Answer
1

There is no inherent reason you cannot "do a lot of jobs in the same time".

But some jobs are not meant to run at the same time. This is usually implemented by locking something.

In this case, you can imagine an update needing the current state of your machine, but it has to be sure nothing changed. If you are updating somehting (installing package X) and you run a different update that needs package X as well, it will ALSO try to install that package

Therefore, apt (or aptitude, or anything using the ubuntu package system) should not run at the same time, and uses this lock file mechanism to check.