Announcement

Collapse
No announcement yet.

Stuck Package???

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

    Stuck Package???

    From the menu, I choose "Add/Remove Programs". Then select anything new package I want from Adept Installer.

    Click "Apply Changes". The progress bar moves as it's downloading, and then another progress bar for installation progress.

    Then it gets stuck. Stuck forever! I look at the "details", and it says this :


    "
    Setting up dkms (2.0.17.4-0ubuntu2)
    0
    "
    <STUCK HERE FOREVER>


    I am using Gutsy Gibbon.

    Any help greatly appreciated! I'm stuck!

    Bob

    #2
    Re: Stuck Package

    The problem has something to do with the "Dynamic Kernel Module Support" (dkms) not being able to build a module for something -- possibly a wireless chip? You might need to do a little independent searching on Ubuntu Forum, using your particular hardware model, and see if you can turn anything up. I don't think your network connection is working quite right.

    Here's some general guidance.

    It's better to use the KMenu>System>Adept Manager utility to do your package installations. That "Add/Remove Programs" is kind of an introductory thing for Windows emigrants, I think, but it doesn't provide the full range of package management functions.

    To be certain that the package manager (database) on your system is problem free, open the KMenu>System>Konsole (a "text mode" window to the Linux Command Line Interface "CLI") and issue these commands, in sequence:

    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get autoclean
    Hopefully you will see no errors -- if you do, copy them and paste them into a reply here.

    Next, issue this one:

    Code:
    sudo apt-get update
    If the "sudo apt-get update" command generates the same dkms error, then that is kind of expected -- that issue will have to be resolved before any updates or packages can be downloaded to your system.

    If the "sudo dpkg --configure -a" command produces no errors, then your package management system is good to go, and you merely have some network connectivity issue to sort out.

    Hope this helps.

    Comment


      #3
      Re: Stuck Package

      Thanks for the help so far. None of those commands generate any errors.

      After, I went to "System" -> "Adept Manager" and marked a package for uninstall (AMSN).

      Again, it hangs, like this :

      (Reading database ... 103110 files and directories currently installed.)
      Removing amsn ...
      Setting up dkms (2.0.17.4-0ubuntu2) ...
      <STUCK>

      Any more ideas!?!?!?

      Thanks again,

      Bob

      Comment


        #4
        Re: Stuck Package

        Originally posted by Bobbber

        None of those commands generate any errors.
        Hmmmmm. Well, then let's take the bold approach. Open the Konsole again, and this time enter:

        Code:
        sudo apt-get update
        Code:
        sudo apt-get install
        and observe whether it installs whatever updates you did not already have.

        Next,
        Code:
        sudo apt-get install exact-name-of-the-package-you-want
        Let us know if you observe errors.

        Comment


          #5
          Re: Stuck Package

          For Gutsy Installations:

          Open Adept Manager (K Menu | System | Adept Manger) and click on Adept | Manage Repositories. On the first tab, check all items (you don't need the last item checked unless you intend to download source files for compiling). On the Third-Party Software tab uncheck/delete the cdrom repository entry. Close the window. If Adept doesn't automatically fetch updates, click on Fetch Updates. You will now have access to the thousands of available packages. If you still have problems, open a console and type:
          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


            #6
            Re: Stuck Package

            Guys, (thanks again... I know you must hate people like me huh!)

            Result of "sudo apt-get update"
            Ign cdrom://Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1) gutsy/main Translation-en_GB
            Ign cdrom://Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1) gutsy/restricted Translation-en_GB
            Get: 1 http://security.ubuntu.com gutsy-security Release.gpg [191B]
            Ign http://security.ubuntu.com gutsy-security/main Translation-en_GB
            Get: 2 http://gb.archive.ubuntu.com gutsy Release.gpg [191B]
            Hit http://gb.archive.ubuntu.com gutsy/main Translation-en_GB
            Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_GB
            Ign http://security.ubuntu.com gutsy-security/universe Translation-en_GB
            Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_GB
            Get: 3 http://archive.canonical.com gutsy Release.gpg [191B]
            Ign http://archive.canonical.com gutsy/partner Translation-en_GB
            Get: 4 http://security.ubuntu.com gutsy-security Release [51.2kB]
            Hit http://gb.archive.ubuntu.com gutsy/restricted Translation-en_GB
            Hit http://gb.archive.ubuntu.com gutsy/universe Translation-en_GB
            Hit http://gb.archive.ubuntu.com gutsy/multiverse Translation-en_GB
            Get: 5 http://gb.archive.ubuntu.com gutsy-updates Release.gpg [191B]
            Ign http://gb.archive.ubuntu.com gutsy-updates/main Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-updates/restricted Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-updates/universe Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-updates/multiverse Translation-en_GB
            Hit http://archive.canonical.com gutsy Release
            Get: 6 http://gb.archive.ubuntu.com gutsy-backports Release.gpg [191B]
            Hit http://archive.canonical.com gutsy/partner Packages
            Ign http://gb.archive.ubuntu.com gutsy-backports/main Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-backports/restricted Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-backports/universe Translation-en_GB
            Ign http://gb.archive.ubuntu.com gutsy-backports/multiverse Translation-en_GB
            Hit http://gb.archive.ubuntu.com gutsy Release
            Get: 7 http://gb.archive.ubuntu.com gutsy-updates Release [58.5kB]
            Hit http://archive.canonical.com gutsy/partner Sources
            Get: 8 http://gb.archive.ubuntu.com gutsy-backports Release [44.0kB]
            Get: 9 http://security.ubuntu.com gutsy-security/main Packages [80.5kB]
            Hit http://gb.archive.ubuntu.com gutsy/main Packages
            Hit http://gb.archive.ubuntu.com gutsy/restricted Packages
            Hit http://gb.archive.ubuntu.com gutsy/main Sources
            Hit http://gb.archive.ubuntu.com gutsy/restricted Sources
            Hit http://gb.archive.ubuntu.com gutsy/universe Packages
            Hit http://gb.archive.ubuntu.com gutsy/universe Sources
            Hit http://gb.archive.ubuntu.com gutsy/multiverse Packages
            Hit http://gb.archive.ubuntu.com gutsy/multiverse Sources
            Get: 10 http://gb.archive.ubuntu.com gutsy-updates/main Packages [254kB]
            Get: 11 http://security.ubuntu.com gutsy-security/restricted Packages [14B]
            Get: 12 http://security.ubuntu.com gutsy-security/main Sources [15.0kB]
            Get: 13 http://security.ubuntu.com gutsy-security/restricted Sources [14B]
            Get: 14 http://security.ubuntu.com gutsy-security/universe Packages [56.7kB]
            Get: 15 http://security.ubuntu.com gutsy-security/universe Sources [8134B]
            Get: 16 http://security.ubuntu.com gutsy-security/multiverse Packages [2880B]
            Get: 17 http://security.ubuntu.com gutsy-security/multiverse Sources [812B]
            Get: 18 http://gb.archive.ubuntu.com gutsy-updates/restricted Packages [4263B]
            Get: 19 http://gb.archive.ubuntu.com gutsy-updates/main Sources [70.4kB]
            Get: 20 http://gb.archive.ubuntu.com gutsy-updates/restricted Sources [937B]
            Get: 21 http://gb.archive.ubuntu.com gutsy-updates/universe Packages [79.2kB]
            Get: 22 http://gb.archive.ubuntu.com gutsy-updates/universe Sources [12.7kB]
            Get: 23 http://gb.archive.ubuntu.com gutsy-updates/multiverse Packages [9935B]
            Get: 24 http://gb.archive.ubuntu.com gutsy-updates/multiverse Sources [1881B]
            Get: 25 http://gb.archive.ubuntu.com gutsy-backports/main Packages [30.2kB]
            Get: 26 http://gb.archive.ubuntu.com gutsy-backports/restricted Packages [14B]
            Get: 27 http://gb.archive.ubuntu.com gutsy-backports/universe Packages [92.7kB]
            Get: 28 http://gb.archive.ubuntu.com gutsy-backports/multiverse Packages [15.2kB]
            Get: 29 http://gb.archive.ubuntu.com gutsy-backports/main Sources [8805B]
            Get: 30 http://gb.archive.ubuntu.com gutsy-backports/restricted Sources [14B]
            Get: 31 http://gb.archive.ubuntu.com gutsy-backports/universe Sources [21.8kB]
            Get: 32 http://gb.archive.ubuntu.com gutsy-backports/multiverse Sources [3230B]
            Fetched 924kB in 3s (266kB/s)
            Reading package lists... Done

            administrator@Kubuntu1:~$ sudo apt-get install
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
            1 not fully installed or removed.
            Need to get 0B of archives.
            After unpacking 0B of additional disk space will be used.
            Setting up dkms (2.0.17.4-0ubuntu2) ...
            <Stuck here forever, again>!!!!!

            Sorry!

            Comment


              #7
              Re: Stuck Package

              Still stuck! Someone?

              Comment


                #8
                Re: Stuck Package

                A crafty Google search reveals this is not a new or unique situation:

                http://ubuntuforums.org/showthread.php?t=650756

                http://ubuntuforums.org/archive/index.php/t-652323.html

                In that second link, it appears the guy had success by marking the dkms package for removal, and then installing the downloaded .deb file. But I don't know why you couldn't just do
                Code:
                sudo apt-get remove dkms
                and then do
                Code:
                sudo dpkg --configure -a
                and then
                Code:
                sudo apt-get install dkms
                and have it fully installed.

                Comment


                  #9
                  Re: Stuck Package

                  Same result. Gets stuck just like before.

                  Bob

                  Comment


                    #10
                    Re: Stuck Package

                    Did you ensure that the cdrom repository was not marked in Adept Manager as my previous posts instructs?
                    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


                      #11
                      Re: Stuck Package

                      I think I had the same problem; the god news is I know how to fix it.
                      The bad news is you'll have to re-install Kubuntu.
                      So after you reinstal Kubuntu; there will be message that will say you have possibility to update your system. You ignore that and go to Konsole write: sudo apt-get update and sudo apt-get upgrade
                      After this upgrading will start around 30-40 minutes in the process there will be question whether you like to change something or to keep the old version you press Y meaning yes i would like to change it (it says that n as in no is default but don't press it you'll get stuck again)
                      I hope this will work, maybe first few times adept will have some problems so try instaling with sudo apt-get ...; but if you update to new version 8.04 Hardy Heron it will work just fine.
                      You update in adept package manager you have an button on right side with upwards arrow and if you hover your mouse it will say update click that and you'll get the newest version of kubuntu.

                      OT: can any one help me with this problem: http://kubuntuforums.net/forums/inde...opic=3093333.0
                      I&#39;m magnet for errors, problems and bugs...

                      Comment


                        #12
                        Re: Stuck Package

                        Sorry Snowhog... yes I did try that.

                        Adept got stuck as usual when I tried to install a new package, so I executed the code you put in your post...(sudo dpkg --configure -a)

                        I got this :


                        [sudo] password for administrator:
                        dpkg: error processing dkms (--configure):
                        Package is in a very bad inconsistent state - you should
                        reinstall it before attempting configuration.
                        Setting up avahi-autoipd (0.6.20-2ubuntu3.3) ...

                        Setting up update-manager-core (1:0.81.2) ...

                        Setting up rsync (2.6.9-5ubuntu1.1) ...

                        Setting up libavahi-common-data (0.6.20-2ubuntu3.3) ...
                        Setting up libavahi-common3 (0.6.20-2ubuntu3.3) ...

                        Setting up libavahi-client3 (0.6.20-2ubuntu3.3) ...

                        Setting up libavahi-glib1 (0.6.20-2ubuntu3.3) ...

                        Setting up libavahi-qt3-1 (0.6.20-2ubuntu3.3) ...

                        Setting up libavahi-core5 (0.6.20-2ubuntu3.3) ...

                        Setting up libavahi-compat-libdnssd1 (0.6.20-2ubuntu3.3) ...

                        Setting up avahi-daemon (0.6.20-2ubuntu3.3) ...
                        * Reloading system message bus config... [ OK ]
                        Fixing up startup script priorities...
                        * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ]

                        Processing triggers for libc6 ...
                        ldconfig deferred processing now taking place
                        Errors were encountered while processing:
                        dkms

                        Comment


                          #13
                          Re: Stuck Package

                          How about
                          Code:
                          sudo apt-get purge dkms
                          Then
                          Code:
                          sudo dpkg --configure -a
                          ?

                          Comment

                          Working...
                          X