Find the answer to your Linux question:
Results 1 to 3 of 3
Hello Everybody, I downloaded ubuntu 9.04 and loaded on PC and thereafter I was adding various softwares by using apt-get. i was trying to load te JAVA6 by the following ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    15

    Update Manager Problem

    Hello Everybody,

    I downloaded ubuntu 9.04 and loaded on PC and thereafter I was adding various softwares by using apt-get. i was trying to load te JAVA6 by the following command: -

    sudo apt-get install --reinstall -y sun-java6-jre sun-java6-plugin

    I think the JAVA did not completely load and I am lind of stuck in between... AFter that I am facing the following problem: -

    manish-desktop:~$ sudo dpkg --configure -a
    dpkg: status database area is locked by another process
    manish-desktop:~$

    Can somebody help please and tell me what is actually happening here. I can not even open my repositories....

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I believe you can run
    Code:
    sudo fuser -vki /var/lib/dpkg/lock
    and it should ask if you want to kill the process using the file. Say yes and you should be good to go.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    manish-desktop:~$ sudo dpkg --configure -a
    dpkg: status database area is locked by another process
    Are you running any other instance of Package Manager? Its not possible to do that. Close all other instances like Synaptic or Adept. Execute apt-get command again.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...