Announcement

Collapse
No announcement yet.

adept error msg

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

    adept error msg

    I am getting this message

    You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one

    even after rebooting (several times)

    ps ax| egrep adept
    5201 ? S 0:05 adept_notifier
    5313 pts/1 R+ 0:00 grep -E adept

    I have no idea what to do . . .
    WE&#39;RE ALL BETTER OFF WHEN WE&#39;RE ALL BETTER OFF<br />User # 17645

    #2
    Re: adept error msg

    There could be a stray lock file left over from a previous adept/apt session that didn't close cleanly. This file is there solely to prevent more than one package manager from running at the same time.

    This file can live in a couple different places, such as /var/lib/dpkg and other dirs in the area. You might be able to pinpoint the location by running apt in a konsole window:
    Code:
    sudo apt-get upgrade
    This will be more specific in the error it gives, and should specify the exact file causing this, something along the lines of:
    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?
    So in this case, you would need to delete the file /var/lib/dpkg/lock
    Code:
    sudo rm /var/lib/dpkg/lock

    Comment


      #3
      Re: adept error msg

      Originally posted by claydoh
      You might be able to pinpoint the location by running apt in a konsole window:
      Code:
      sudo apt-get upgrade
      This will be more specific in the error it gives, and should specify the exact file causing this, something along the lines of:
      well, it didn't give an error, but it did install a package that I had tried a couple of days ago that had died mid-stream- seems to have cleared it all up

      thanks much!
      WE&#39;RE ALL BETTER OFF WHEN WE&#39;RE ALL BETTER OFF<br />User # 17645

      Comment


        #4
        Re: adept error msg

        armed with that info, as these unfinished packages don't always finish installing the next time out, the command to use in that situation would be
        Code:
        sudo dpkg --configure -a
        to fix this if it happens again and it doesn't go as easily.

        Comment


          #5
          Re: adept error msg

          I can't seem to make it work. I keep getting the message that another process is using the package manager and using the above lines yields the following:
          Code:
          $ sudo apt-get upgrade
          Password:
          E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
          magnus@D800:~/programming/loan_calculation$ sudo dpkg --configure -a
          dpkg: dependency problems prevent configuration of smbclient:
           smbclient depends on samba-common (= 3.0.24-2ubuntu1.1); however:
           Package samba-common is not installed.
          dpkg: error processing smbclient (--configure):
           dependency problems - leaving unconfigured
          Setting up ktorrent (2.1-0ubuntu2.1) ...
          
          Errors were encountered while processing:
           smbclient
          Trying to install samba yields this:
          Code:
          $ sudo apt-get install samba-common
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          You might want to run `apt-get -f install' to correct these:
          The following packages have unmet dependencies:
           smbclient: Depends: samba-common (= 3.0.24-2ubuntu1.1) but 3.0.24-2ubuntu1.2 is to be installed
          E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

          Comment


            #6
            Re: adept error msg

            Code:
            sudo apt-get remove smbclient
            sudo dpkg --configure --pending
            sudo apt-get update
            sudo apt-get install samba-common smbclient
            You get the idea: 1. muck out, 2. "muck in"

            Comment


              #7
              Re: adept error msg

              Not working....
              Code:
              $ sudo apt-get remove smbclient
              Password:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              You might want to run `apt-get -f install' to correct these:
              The following packages have unmet dependencies:
               kubuntu-desktop: Depends: smbclient but it is not going to be installed
              E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

              Comment


                #8
                Re: adept error msg

                Like it says, try "apt-get -f install".
                For external use only.

                Comment


                  #9
                  Re: adept error msg

                  :P
                  Doh!

                  Thanks, it's working now...

                  Comment

                  Working...
                  X