Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can I ever install again?

  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

  7. #7
    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 SunnyRabbiera View Post
    Yeh I have seen issues like this when apps hang when installing...
    I had to reboot too to resolve it.
    Won't work, Sun Java is interfering with my system, and I cannot install anything without sun java asking me to agree to terms and locking up.. I want it out! I WANT TO INSTALL PROGRAMS.. Lord, Can anyone please help this D:.. Right after installer to avant starts working

    Package configuration
    Code:
     ┌───────────────────────┤ Configuring sun-java6-bin ├───────────────────────┐
     │                                                                           │ 
     │ 2.  License Grant. Subject to the terms and conditions of this            ↑ 
     │     Agreement, as well as the restrictions and exceptions set forth in    ▒ 
     │     the Software README file, Sun grants you a non-exclusive,             ▮ 
     │     non-transferable, royalty-free limited license to reproduce and use   ▒ 
     │     the Software internally, complete and unmodified, for the sole        ▒ 
     │     purposes of running Programs and designing, developing and testing    ▒ 
     │     Programs.  Sun also grants you a non-exclusive, non-transferable,     ▒ 
     │     royalty-free limited license to reproduce and distribute the          ▒ 
     │     Software, directly or indirectly through your licensees,              ▒ 
     │     distributors, resellers, or OEMs, electronically or in physical       ▒ 
     │     form or pre-installed with your Operating System on a general         ▒ 
     │     purpose desktop computer or server, provided that: (a) the Software   ▒ 
     │     and any proprietary legends or notices are complete and unmodified;   ▒ 
     │     (b) the Software is distributed with your Operating System, and       ↓ 
     │                                                                             
     │                                  <Ok>                                       
     │                                                                           │ 
     └───────────────────────────────────────────────────────────────────────────┘
    Out of nowhere, Omg, What do I do?

    and now it's all locked(same locks you said a reboot would fix)! What do I do?

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

    Re: Can I ever install again?

    Now I get this
    Code:
    paul@paul-desktop:~$ sudo apt-get install avant-window-navigator
    [sudo] password for paul: 
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
    paul@paul-desktop:~$
    Please help.............................................. ....

    When system updates a run, now
    Code:
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
    E: _cache->open() failed, please report.
    Code:
    paul@paul-desktop:~$ dpkg --configure -a
    dpkg: requested operation requires superuser privilege
    paul@paul-desktop:~$ sudo dpkg --configure -a
    paul@paul-desktop:~$ 
    paul@paul-desktop:~$
    Code:
    paul@paul-desktop:~$ dpkg --configure -a
    dpkg: requested operation requires superuser privilege
    paul@paul-desktop:~$ sudo dpkg --configure -a
    paul@paul-desktop:~$ 
    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.
    Need to get 0B/30.7MB of archives.
    After this operation, 88.5MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    I need to know how to uninstall java sun.
    Then it seems that will return my system to normal.

    Edit 5: System finally budged and installed java fine. now attempting to install avant

    Edit 6: finally works
    Thank you all for help, Now changing topic to SOLVED
    Last edited by PCessna; July 30th, 2008 at 02:58 PM.

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

    Re: Can I ever install again?

    Excellent - glad it turned out to be relatively simple!

  10. #10
    Join Date
    Mar 2008
    Beans
    7

    Re: Can I ever install again?

    !? What do you mean your system "budged"? I'm having the exact same problem, and there's been no "budge"ing about it. How did you get the license agreement screen to go away?

    .:iacobus:.


    EDIT: aha! http://ubuntuforums.org/showthread.php?t=416496 --- it's shift+tab!
    Last edited by iacobus; August 3rd, 2008 at 05:45 PM.

Page 1 of 2 12 LastLast

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
  •