Announcement

Collapse
No announcement yet.

Database Locked - Adept Manager

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

    Database Locked - Adept Manager

    Synaptic crashed when I was using it.
    Now, when I start Adept Manager, I get the following
    error message:
    Another process is using the packaging system database (probably some other Adept application or apt-get or aptitude).
    Would you like to attempt to resolve this problem? No will enter read-only mode and Cancel to quit and resolve this issue yourself.
    I presume that there is a lockfile somewhere that needs to be deleted, but
    don't see it under my ~/.synaptic path.
    Does someone have a resolution?
    Thanks
    Tim

    #2
    Re: Database Locked - Adept Manager


    on: Today at 09:53:49 am


    Topic: Trying to install kubuntu-restricted-extras failed & now Adept Manager complains
    http://kubuntuforums.net/forums/inde...opic=3088071.0
    Now when I try to open the Adept Manager a window jumps up and says:

    The title is: "Database Locked - Adept Manager"
    Then the text: "Another process is using the packaging system database (probably some other adept application or apt-get or aptitude).
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Database Locked - Adept Manager

      Originally posted by tim042849
      Synaptic crashed when I was using it.
      Now, when I start Adept Manager, I get the following
      error message:
      Another process is using the packaging system database (probably some other Adept application or apt-get or aptitude).
      Would you like to attempt to resolve this problem? No will enter read-only mode and Cancel to quit and resolve this issue yourself.
      I presume that there is a lockfile somewhere that needs to be deleted, but
      don't see it under my ~/.synaptic path.
      Does someone have a resolution?
      Thanks
      Tim
      this means that synaptic is prolly still running in the background even tho it crashed.
      check with ksysguard.
      <br />

      Comment


        #4
        Re: Database Locked - Adept Manager

        The solution was
        sudo dpkg --configure -a

        Now I'm back to normal, but the cause of this -
        which was synaptic crashing when I attempted to
        install kubuntu-restricted-extras - is still an issue.

        It seems that I'm not the only one to have these problems.
        Is there a way to install kubuntu-restricted-extras with
        aptitude or get-apt. I guess I just don't trust synaptic
        on my machine.

        Thanks for helping me to get this resolved so quickly.
        Tim

        Comment


          #5
          Re: Database Locked - Adept Manager

          Is there a way to install kubuntu-restricted-extras with
          aptitude or get-apt. I guess I just don't trust synaptic
          Hmm - Probably apt-get is the most robust way (and you get feedback, if it doesn't work):
          Code:
          sudo apt-get install kubuntu-restricted-extras
          or
          Code:
          sudo apt-get install -s kubuntu-restricted-extras
          -s, --simulate, --just-print, --dry-run, --recon, --no-act
          No action; perform a simulation of events that would occur but do
          not actually change the system. Configuration Item:
          APT::Get::Simulate.
          Before you edit, BACKUP !

          Why there are dead links ?
          1. Thread: Please explain how to access old kubuntu forum posts
          2. Thread: Lost Information

          Comment


            #6
            Re: Database Locked - Adept Manager

            Thank you. I think that is a good tip!
            Well try later and report back.
            cheers
            tim

            Comment


              #7
              Re: Database Locked - Adept Manager

              Originally posted by tim042849
              Thank you. I think that is a good tip!
              Well try later and report back.
              cheers
              tim
              Eureka! Success. thnx again

              Comment


                #8
                Re: Database Locked - Adept Manager

                Not being a Synaptic user - I use Adept Manager - I do like to use the CLI apt-get to 'test' the installation effects on my system before actually installing. In this way, I get upfront feedback (as Rog131 stated) if installing the package will create any problems. A typical CLI would look like:
                Code:
                sudo apt-get --simulate install kubuntu-restricted-extras
                where the syntax takes the form: apt-get [options] command [package...]
                Using Kubuntu Linux since March 23, 2007
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment

                Working...
                X