Announcement

Collapse
No announcement yet.

kapckage kit not working

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

    kapckage kit not working

    Hi, This moring i tried to typed java into kpackage kit and tried to install one of the files, it failed stating some error about dependencies , then later i on wanted to install pidgin but now when ever i type something in Kpackagekit i get the following error:
    There are broken dependecies on your system. Please use an advanced package manage e.g. Synaptic or aptitude to resolve this situation.
    I dont know whats wrong or how to fix it, any help?
    Thanks:<br />Using a Toshiba A300-21H ,3GB ram,Intel Core2Duo 2Ghz,Mobile Intel® GMA 4500MHD,intel wifi link 5100. Tux wants you!

    #2
    Re: kapckage kit not working

    Open the Konsole and do these, in sequence:

    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update
    Code:
    sudo apt-get dist-upgrade
    Code:
    sudo apt-get autoclean

    The first one may give you some messages -- it should fix the package database. The second and third should synchronize your system to the repositories and install any missing dependencies or package updates. The third just deletes unneeded leftovers.

    Stick with the packages in the *buntu repos, and there should not be dependency issues -- that's why the repos exist.

    Comment


      #3
      Re: kapckage kit not working

      Thank you, all sorted
      Thanks:<br />Using a Toshiba A300-21H ,3GB ram,Intel Core2Duo 2Ghz,Mobile Intel® GMA 4500MHD,intel wifi link 5100. Tux wants you!

      Comment


        #4
        Re: kapckage kit not working

        hi i tried this but didn't work, when i was upgrading, this is what happened..

        dpkg: serious warning: files list file for package 'openjdk-6-jre-headless' missing assuming package has no files currently installed
        92233 files and directions currentrly installed)
        Preparing to replace openjdk-6-jre-headless 6b14-1.4.1-0ubuntu10_amd64.deb (using .../openjdk-6-jre-headless_6b14-1.4.1-0ubuntu10_amd.deb)
        Unpacking replacement openjdk-6-jre-headless...
        dpkg: unrecoverable fatal error, aborting:
        unable to fsync updated status of 'openjdk-6-jre-headless': Input/output error
        touch:cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-enly file system
        E: Sub-process /usr/bin/dpkg/ returned error code (2)
        i read somewhere that i should install synaptic but i get the same message and now i cant install a thing, not even update programs, when i try it the computer stops responding, can some one help me please...
        I may not agree on what you are saying, but i would give my life to defend the right you have to say it...

        Comment


          #5
          Re: kapckage kit not working

          Unfortunately, it's a pretty clear message:

          Originally posted by mike0138

          dpkg: unrecoverable fatal error, aborting:
          unable to fsync updated status of 'openjdk-6-jre-headless': Input/output error
          touch:cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-enly file system
          E: Sub-process /usr/bin/dpkg/ returned error code (2)
          "fatal" means fatal ...

          Things to try (with no guarantee -- you may be heading for a reinstallation there):

          1.
          Code:
          sudo rm /var/lib/update-notifier/dpkg-run-stamp
          2. Exit the X server with Ctrl-Alt-F1, log in to the console there, and shut down X with
          Code:
          sudo /etc/init.d/kdm stop
          Then run the commands in reply #1 above.

          Good luck!

          Comment


            #6
            Re: kapckage kit not working

            hi, thanks for the reply, i tried the commands you gave me and it still has the same problem, so you think i should reinstall all kubuntu?
            I may not agree on what you are saying, but i would give my life to defend the right you have to say it...

            Comment


              #7
              Re: kapckage kit not working

              You should try Synaptic Package manager I was able to get that from kpackage kit. Then I just used synaptic from then on.

              Comment


                #8
                Re: kapckage kit not working

                One more idea:

                Code:
                sudo apt-get remove --purge openjdk-6-jre-headless
                Then try the reply #1 commands again. If you get an error, I'd like to see what it says.

                Comment


                  #9
                  Re: kapckage kit not working

                  i cant install synaptic either... the same message of fatal error appears
                  I may not agree on what you are saying, but i would give my life to defend the right you have to say it...

                  Comment


                    #10
                    Re: kapckage kit not working

                    Originally posted by mike0138
                    i cant install synaptic either... the same message of fatal error appears
                    That's what "fatal" means -- you can't use the package database. Which means it probably won't remove that openjdk package as I advised -- but you can try it.

                    If you can't install anything, and you can't remove anything, and you can't unlock the package database, you have a brain-dead Debian Linux system. The Debian package management system is the heart of your system's ability to "know" what is installed, and what the versions and dependencies are. When it takes a bullet in the head, you've got a dead system, essentially, although it will continue to work as-is. But you'll never add or delete a package again.

                    Sorry -- I do not know of a way to fix that one.


                    Last stabs:

                    Code:
                    sudo apt-get autoremove
                    Code:
                    sudo aptitude autoremove
                    Code:
                    sudo aptitude update
                    Code:
                    sudo aptitude dist-upgrade

                    Comment


                      #11
                      Re: kapckage kit not working

                      hi, i tried that
                      Originally posted by dibl
                      One more idea:

                      Code:
                      sudo apt-get remove --purge openjdk-6-jre-headless
                      Then try the reply #1 commands again. If you get an error, I'd like to see what it says.
                      ok i tried this, and i got the next response:

                      dpkg: error processing openjdk-6-jre-headless (--remove):
                      Package is in a very bad inconsistent state - you should
                      reinstall it before attempting a removal.
                      Errors were encountered while processing:
                      openjdk-6-jre-headless
                      E: Sub-process /usr/bin/dpkg returned an error code (1)
                      then i tried the commands on reply 1 and in the upgrade command i got:

                      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:
                      E: Unmet dependencies. Try using -f.
                      I may not agree on what you are saying, but i would give my life to defend the right you have to say it...

                      Comment


                        #12
                        Re: kapckage kit not working

                        ok i run the code
                        Code:
                        apt-get -f instal
                        and know it works...
                        thanks a lot...
                        I may not agree on what you are saying, but i would give my life to defend the right you have to say it...

                        Comment


                          #13
                          Re: kapckage kit not working

                          Code:
                          sudo apt-get -f install
                          So, now this should work,

                          Code:
                          sudo dpkg --configure -a
                          and give you no errors.

                          Comment

                          Working...
                          X