Announcement

Collapse
No announcement yet.

Database Locked

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Database Locked

    If that (apt-get --configure -a) does not work, then run:
    sudo apt-get -f install
    The following are not required to fix the problem:
    sudo apt-get autoremove
    sudo apt-get autoclean
    sudo apt-get update
    sudo apt-get install

    Although, if apt-get -f install does, run the four commands above.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #17
      Re: Database Locked

      Code:
      pavel@PavelPC:~$ sudo apt-get -f install
      Password:
      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?
      pavel@PavelPC:~$ sudo apt-get --configure -a
      E: Command line option --configure is not understood
      pavel@PavelPC:~$
      Computer Ignroing me =).
      When one gives up - he guarantees demise.<br />When one struggles - he guarantees a chance for success.

      Comment


        #18
        Re: Database Locked

        So what commands else can I try?
        When one gives up - he guarantees demise.<br />When one struggles - he guarantees a chance for success.

        Comment


          #19
          Re: Database Locked

          The last command is not sudo apt-get --configure -a it is:
          Code:
          sudo dpkg --configure -a
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #20
            Re: Database Locked

            This is the way, first thing worked.

            Code:
            pavel@PavelPC:~$ sudo dpkg --configure -a
            Password:
            dpkg: dependency problems prevent configuration of ubuntu-restricted-extras:
             ubuntu-restricted-extras depends on sun-java6-jre; however:
             Package sun-java6-jre is not installed.
            dpkg: error processing ubuntu-restricted-extras (--configure):
             dependency problems - leaving unconfigured
            dpkg: dependency problems prevent configuration of gstreamer0.10-plugins-ugly:
             gstreamer0.10-plugins-ugly depends on liboil0.3 (>= 0.3.8); however:
             Package liboil0.3 is not installed.
            dpkg: error processing gstreamer0.10-plugins-ugly (--configure):
             dependency problems - leaving unconfigured
            Errors were encountered while processing:
             ubuntu-restricted-extras
             gstreamer0.10-plugins-ugly
            pavel@PavelPC:~$
            And also with the sudo apt-get -f install, I have got all that is down below. The problem is, that I cannot click the OK button =(.

            Code:
            Package configuration
            
             ┌────────────────────────────────────────────────────────────────────────┤ Configuring sun-java6-bin ├─────────────────────────────────────────────────────────────────────────┐
             │                                                                                       │
             │ Operating System Distributor License for Java v1.1 (DLJ)                                                           ↑
             │                                                                                       ▮
             │ Operating System Distributor License for Java version 1.1 (DLJ)                                                       ▒
             │                                                                                       ▒
             │ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON THE CONDITION THAT YOU    ▒
             │ ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE,  ▒
             │ YOU ACCEPT ALL OF THE TERMS OF THE AGREEMENT.                                                                ▒
             │                                                                                       ▒
             │ 1. DEFINITIONS. "Software" means the code identified above in binary                                                    ▒
             │   form, any other machine readable materials including, but not                                                      ▒
             │   limited to, libraries, source files, header files, and data files),                                                   ▒
             │   any updates or error corrections provided by Sun, and any user                                                      ▒
             │   manuals, programming guides and other documentation provided to you                                                   ▒
             │   by Sun under this Agreement, and any subsequent versions that Sun                                                    ▒
             │   makes available to you hereunder. "Operating System" means any                                                     ▒
             │   version of the Linux or OpenSolaris operating systems that manages                                                    ▒
             │   the hardware resources of a general purpose desktop or server                                                      ▒
             │   computer and shares these resources with various software programs                                                    ▒
             │   that run on top of it. "Programs" means Java technology applets and                                                   ▒
             │   applications intended to run on the Java Platform Standard Edition                                                    ▒
             │   (Java SE platform) platform on Java-enabled general purpose desktop                                                   ▒
             │   computers and servers.                                                                          ▒
             │                                                                                       ▒
             │                                                                                       ▒
             │ 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;                                                   ↓
             │
             │                                          <Ok>
             │
            When one gives up - he guarantees demise.<br />When one struggles - he guarantees a chance for success.

            Comment


              #21
              Re: Database Locked

              Use the Tab key. You'll know when you are on the <Ok> (it will change color a bit), then press Enter.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #22
                Re: Database Locked

                Thank you.The problem was resolved.

                That's it for today. Have a happy thanksgiving>
                When one gives up - he guarantees demise.<br />When one struggles - he guarantees a chance for success.

                Comment


                  #23
                  Re: Database Locked

                  You're welcome. Enjoy Thanksgiving also.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment

                  Working...
                  X