Announcement

Collapse
No announcement yet.

Assistance with Adept Manager

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

    Assistance with Adept Manager

    Each time I open Adept Manager, I get this pop-up menu at the beginning,


    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.


    What should be my next steps in order to correct this so I can install some programs and such?

    Thanks for any and all help!

    #2
    Re: Assistance with Adept Manager

    First the simple answer, make sure that you are not running another adept process, like the updater, etc. If you are not, you could go to a command line, K->System->Konsole and execute the following:

    sudo killall adept
    ps -e|grep adept

    If anything comes up execute the following:

    sudo kill <pid>

    where <pid> is the Process ID # that proceeds the name of the process (like adept-updater).

    Once you have done that, try running adept again. If you are still having problems, check out this thread. Don't worry about the sources.lst entry stuff, that does not pertain to you, just check out the information about the dpkg commands and deleting the lock files. Good luck.

    Comment


      #3
      Re: Assistance with Adept Manager

      Or:

      When Adept won't restart after a package install and
      reports:

      "Another process is using the packaging system
      database (probably some other adept
      application or apt-get or aptitude)..."

      Open a konsole and run the following:
      Code:
      sudo dpkg --configure -a
      If that does not work, then run:
      Code:
      sudo apt-get -f install
      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


        #4
        Re: Assistance with Adept Manager

        Originally posted by Snowhog
        Or:




        Open a konsole and run the following:
        Code:
        sudo dpkg --configure -a
        Longtime Mac user, total noob w Linux...

        Had the same problem and that worked like a charm. Thanks.
        They who would give up an essential liberty for temporary security deserve neither liberty or security -- Benjamin Franklin<br /><br />Titanium Powerbook 867 768MB 60GB<br />Mac OS X 10.4 Tiger 40 GB<br />kubuntu 7.10 &quot;Gusty Gibbon&quot; noob 20 GB

        Comment


          #5
          Re: Assistance with Adept Manager

          Thanks for the help guys!

          It worked, then I had another issue and after searching through a ton of sites, this one included I figured that the best way to clean the issue was to reinstall, which I did and things are working good.

          Comment


            #6
            Re: Assistance with Adept Manager

            In Konsole I am getting:
            "
            $ sudo dpkg --configure -a
            dpkg: status database area is locked by another process"

            The earlier commands did not work either...
            And in fact cannot modify, or update any programs. Tried to get mp3 support for Amarok, after plugging in my mp3 player, but got the message than "another application was running, to shut it down, before," etc

            Comment


              #7
              Re: Assistance with Adept Manager

              Use ps -e and sudo kill <pid> to kill any processes (like adept) that may be running. You may also have to find and delete a lock file.

              Comment


                #8
                Re: Assistance with Adept Manager

                Any suggestions as to how to find and delete the lock file?

                Comment


                  #9
                  Re: Assistance with Adept Manager

                  Should be at /var/lib/dpkg/lock.
                  For external use only.

                  Comment


                    #10
                    Re: Assistance with Adept Manager

                    Is "ps -e and sudo kill <pid>" command supposed to be run as this, or something else should bye typed in between < >?
                    Also, am having a hard time browsing files. Was not able to find "/var/lib/dpkg/lock."

                    Comment


                      #11
                      Re: Assistance with Adept Manager

                      Originally posted by nordicwalkingus

                      Also, am having a hard time browsing files.
                      Konqueror is a reasonable GUI file manager, or if you want one that looks like the old Windows 3 File Manager, you can install Krusader.

                      To run Konqueror as the Super User, just Alt-f2
                      Code:
                      kdesu konqueror
                      Be careful what you do while browsing as Super User -- anything you change will be set with "root permissions". But it's a reasonable way to go find that lock file and delete it.

                      Comment


                        #12
                        Re: Assistance with Adept Manager

                        Removed the lock file to the trash bin. Still no real idea how fix Adept. Reinstalling Kubuntu.

                        Comment


                          #13
                          Re: Assistance with Adept Manager

                          Originally posted by nordicwalkingus

                          Still no real idea how fix Adept. Reinstalling Kubuntu.
                          I'm very surprised that
                          Code:
                          sudo dpkg --configure -a
                          didn't fix it -- that is normally the "magic bullet".

                          However, I can testify from experience that multiple repetitions of the installation routine will be beneficial -- you learn something every time, at least for the first few times.

                          Comment


                            #14
                            Re: Assistance with Adept Manager

                            Its re-installed. Fortunately, I didn't really have many files there. Just changed the boot order "sudo kwrite /boot/grub/menu.lst", downloaded Firefox and I'm up and running again. Also set up Gtalk in Kopete.

                            Being a Linux user for a whole week now and having heard all kinds of superlatives about Adept being one of the strongest points and being "fantastic" I am a bit disappointed that it broke within two days of the Kubuntu install...

                            Comment


                              #15
                              Re: Assistance with Adept Manager

                              Originally posted by nordicwalkingus
                              Is "ps -e and sudo kill <pid>" command supposed to be run as this, or something else should bye typed in between < >?
                              Two commands here. ps -e when run in a console, lists all the running processes with the PID (process ID) listed on the left. sudo kill <pid> is the command that (selectively) kills a running process. You would replace <pid> with the process's PID number.

                              As said though, this kills single occurrences of a running process. If you want/need to kill ALL occurrences of a running process/application, you can issue the command
                              Code:
                              sudo killall [process/application name]
                              As an example, to kill Konqueror (assuming you have it running), you would issue the command:
                              Code:
                              sudo killall konqueror
                              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