Results 1 to 10 of 11

Thread: Can I ever install again?

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    New York, USA
    Beans
    263
    Distro
    Ubuntu 8.10 Intrepid Ibex

    [SOLVED] Can I ever install again?

    I installed LimeWire, Latest from LimeWire.com, I accidentally logged out, and nothing will install, even system stuff now. It just says its lock, and it cant lock or cant unlock.

    System asked for these commands along the way:

    Code:
    sudo dpkg --configure -a
    Code:
    apt-get -f install
    When trying to install:
    Code:
    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    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?
    When system updates try to install:
    A red (-) icon comes up in top right corner in system try "An error occrued, Please run Package manager from right-click menu or apt-get in terminal to see what is wrong. The error message was: ;Error : BrokenCount > 0' This usally means that your installed packages have unment dependencies

    When typing apt-get
    Code:
    paul@paul-desktop:~$ apt get
    The program 'apt' can be found in the following packages:
     * sun-java6-jdk
     * sun-java5-jdk
     * openjdk-6-jdk
    Try: sudo apt-get install <selected package>
    bash: apt: command not found
    paul@paul-desktop:~$

    Please help.
    Last edited by PCessna; July 30th, 2008 at 02:58 PM. Reason: Problem Solved OK

  2. #2
    Join Date
    Jan 2006
    Location
    Mechanicsburg PA
    Beans
    68
    Distro
    Ubuntu 6.10 Edgy

    Re: Can I ever install again?

    paul@paul-desktop:~$ apt get
    for apt-get, it looks like you fat fingered the command

    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    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?
    do an

    ls /var/lib/dpkg/lock

    if the lock file is there, remove that and try running apt-get again

    rm /var/lib/dpkg/lock

  3. #3
    Join Date
    Jul 2008
    Location
    New York, USA
    Beans
    263
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Can I ever install again?

    Quote Originally Posted by randomnote1 View Post
    for apt-get, it looks like you fat fingered the command



    do an

    ls /var/lib/dpkg/lock

    if the lock file is there, remove that and try running apt-get again

    rm /var/lib/dpkg/lock
    Code:
    paul@paul-desktop:~$ ls /var/lib/dkpg/lock
    ls: cannot access /var/lib/dkpg/lock: No such file or directory
    paul@paul-desktop:~$ ls /var/lib/dpkg/lock
    /var/lib/dpkg/lock
    paul@paul-desktop:~$ rm /var/lib/dpkg/lock
    rm: remove write-protected regular empty file `/var/lib/dpkg/lock'? ^[[A^[[A^[[A
    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    [sudo] password for paul: 
    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?
    paul@paul-desktop:~$

  4. #4
    Join Date
    Jan 2006
    Location
    Mechanicsburg PA
    Beans
    68
    Distro
    Ubuntu 6.10 Edgy

    Re: Can I ever install again?

    that's the issue...the lock file is still there. You'll probably need to be sudo to remove the lock file

    sudo rm /var/lib/dpkg/lock

    if that doesn't work I would recommend rebooting.

  5. #5
    Join Date
    Jul 2008
    Location
    New York, USA
    Beans
    263
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Can I ever install again?

    Quote Originally Posted by randomnote1 View Post
    that's the issue...the lock file is still there. You'll probably need to be sudo to remove the lock file

    Code:
    sudo rm /var/lib/dpkg/lock
    
    if that doesn't work I would recommend rebooting.
    Code:
    paul@paul-desktop:~$ sudo rm /var/lib/dpkg/lock
    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
    paul@paul-desktop:~$ dpkg --configure -a
    dpkg: requested operation requires superuser privilege
    paul@paul-desktop:~$ sudo dpkg --configure -a
    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      awn-manager libawn0 sun-java6-bin sun-java6-jre
    Suggested packages:
      binfmt-support sun-java6-fonts sun-java6-plugin ia32-sun-java6-plugin
      ttf-wqy-zenhei
    Recommended packages:
      gsfonts-x11
    The following NEW packages will be installed:
      avant-window-navigator awn-manager libawn0
    The following packages will be upgraded:
      sun-java6-bin sun-java6-jre
    2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the download directory
    paul@paul-desktop:~$
    Now rebooting..

  6. #6
    Join Date
    Jun 2005
    Beans
    6,115

    Re: Can I ever install again?

    Yeh I have seen issues like this when apps hang when installing...
    I had to reboot too to resolve it.
    HOME BUILT SYSTEM! http://brainstorm.ubuntu.com/idea/22804/ Please vote up!
    remember kiddies: sudo rm -rf= BAD!, if someone tells you to do this, please ignore them unless YOU WANT YOUR SYSTEM WIPED

Bookmarks

Posting Permissions

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