Announcement

Collapse
No announcement yet.

[SOLVED]kpackage kit failure

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

    [SOLVED]kpackage kit failure

    kpackage kit failed to update so i went to terminal and

    sudo apt-get update
    sudo apt-get upgrade

    then i got this error

    Fetched 121MB in 6min 11s (327kB/s)
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo...buntu2_all.deb Hash Sum mismatch
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu4_i386.deb Hash Sum mismatch
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu1_i386.deb Hash Sum mismatch
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu3_i386.deb Hash Sum mismatch
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    this was first try in terminal then i ran
    sudo apt-get update --fix-missing
    sudo apt-get upgrade --fix-missing
    \then i got this at end \
    Preparing to replace policykit-1 0.94-1 (using .../policykit-1_0.94-1ubuntu1_i386.deb) ...
    Unpacking replacement policykit-1 ...
    Processing triggers for man-db ...
    Processing triggers for sreadahead ...
    Processing triggers for ufw ...
    dpkg: subprocess installed post-installation script killed by signal (Segmentation fault), core dumped
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    any ideas >??

    #2
    Re: kpackage kit failure more from terminal

    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
    starwolf@Powertoynix:~/Documents$ sudo dpkg --configure -a
    Setting up libpolkit-gobject-1-0 (0.94-1ubuntu1) ...

    Setting up cpp-4.4 (4.4.1-4ubuntu8) ...
    dpkg: dependency problems prevent configuration of hpijs:
    hpijs depends on hplip (= 3.9.8-1ubuntu2); however:
    Version of hplip on system is 3.9.8-1ubuntu1.
    dpkg: error processing hpijs (--configure):
    dependency problems - leaving unconfigured
    Setting up libmtp8 (0.3.7-3ubuntu2) ...

    dpkg: dependency problems prevent configuration of hplip-cups:
    hplip-cups depends on hplip (= 3.9.8-1ubuntu2); however:
    Version of hplip on system is 3.9.8-1ubuntu1.
    dpkg: error processing hplip-cups (--configure):
    dependency problems - leaving unconfigured
    Setting up binutils (2.19.91.20091014-0ubuntu1) ...
    Setting up ghostscript (8.70.dfsg.1-0ubuntu3) ...
    Segmentation fault (core dumped)
    dpkg: error processing ghostscript (--configure):
    subprocess installed post-installation script returned error exit status 139
    Setting up cups-bsd (1.4.1-5ubuntu2) ...

    Setting up libgphoto2-2 (2.4.6-1ubuntu6) ...

    dpkg: dependency problems prevent configuration of ghostscript-cups:
    ghostscript-cups depends on ghostscript (>= 8.64.dfsg.1-0ubuntu10); however:
    Package ghostscript is not configured yet.
    dpkg: error processing ghostscript-cups (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of cups:
    cups depends on ghostscript; however:
    Package ghostscript is not configured yet.
    dpkg: error processing cups (--configure):
    dependency problems - leaving unconfigured

    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-2.6.31-12-generic
    Errors were encountered while processing:
    hpijs
    hplip-cups
    ghostscript
    ghostscript-cups
    cups

    Comment


      #3
      Re: kpackage kit failure next error

      starwolf@Powertoynix:~/Documents$ sudo apt-get upgrade --fix-missing
      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:
      hpijs: Depends: hplip (= 3.9.8-1ubuntu2) but 3.9.8-1ubuntu1 is installed
      hplip-cups: Depends: hplip (= 3.9.8-1ubuntu2) but 3.9.8-1ubuntu1 is installed
      E: Unmet dependencies. Try using -f.

      Please bear with me as i am logging this as i go till i get to a point where it fixes it self or i get to the point of totally broken

      Comment


        #4
        Re: kpackage kit failure

        tarwolf@Powertoynix:~/Documents$ sudo apt-get -f install
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        Correcting dependencies... Done
        The following packages were automatically installed and are no longer required:
        linux-headers-2.6.31-11 linux-headers-2.6.31-11-generic
        Use 'apt-get autoremove' to remove them.
        The following extra packages will be installed:
        hplip
        Suggested packages:
        kdeprint gtklp xpp hplip-gui hplip-doc
        The following packages will be upgraded:
        hplip
        1 upgraded, 0 newly installed, 0 to remove and 261 not upgraded.
        5 not fully installed or removed.
        Need to get 0B/298kB of archives.
        After this operation, 28.7kB disk space will be freed.
        Do you want to continue [Y/n]?
        this part went well so again
        starwolf@Powertoynix:~/Documents$ sudo apt-get -f install
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        The following packages were automatically installed and are no longer required:
        linux-headers-2.6.31-11 linux-headers-2.6.31-11-generic
        Use 'apt-get autoremove' to remove them.
        0 upgraded, 0 newly installed, 0 to remove and 261 not upgraded.
        starwolf@Powertoynix:~/Documents$ sudo apt-get upgrade --fix-missing
        247 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
        Need to get 5,197kB/201MB of archives.
        After this operation, 21.4MB of additional disk space will be used.
        Do you want to continue [Y/n]?
        lzma: Decoder error
        dpkg-deb: subprocess <decompress> returned error exit status 1
        dpkg: error processing /var/cache/apt/archives/libqt4-qt3support_4.5.3really4.5.2-0ubuntu1_i386.deb (--unpack):
        short read in buffer_copy (backend dpkg-deb during `./usr/lib/libQt3Support.so.4.5.2')
        No apport report written because the error message indicates a dpkg I/O error
        Preparing to replace libqt4-designer 4.5.2-0ubuntu6 (using .../libqt4-designer_4.5.3really4.5.2-0ubuntu1_i386.deb) ...
        Unpacking replacement libqt4-designer ...
        lzma: Decoder error
        dpkg-deb: subprocess <decompress> returned error exit status 1
        dpkg: error processing /var/cache/apt/archives/libqt4-designer_4.5.3really4.5.2-0ubuntu1_i386.deb (--unpack):
        short read in buffer_copy (backend dpkg-deb during `./usr/lib/libQtDesigner.so.4.5.2')
        No apport report written because the error message indicates a dpkg I/O error
        javaldx: Could not find a Java Runtime Environment!
        Please ensure that a JVM and the package openoffice.org-java-common
        is installed.
        If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
        javaldx: Could not find a Java Runtime Environment!
        Please ensure that a JVM and the package openoffice.org-java-common
        is installed.
        If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
        Disabling: mailmerge.py

        unopkg done.
        Unpacking replacement openoffice.org-emailmerge ...
        Preparing to replace apt 0.7.23.1ubuntu1 (using .../apt_0.7.23.1ubuntu2_i386.deb) ...
        Unpacking replacement apt ...
        Processing triggers for man-db ...
        Processing triggers for hicolor-icon-theme ...
        Processing triggers for shared-mime-info ...
        Unknown media type in type 'all/all'
        Unpacking replacement openoffice.org-emailmerge ...
        Preparing to replace apt 0.7.23.1ubuntu1 (using .../apt_0.7.23.1ubuntu2_i386.deb) ...
        Unpacking replacement apt ...
        Processing triggers for man-db ...
        Processing triggers for hicolor-icon-theme ...
        Processing triggers for shared-mime-info ...
        Unknown media type in type 'all/all'

        Unknown media type in type 'all/allfiles'

        Unknown media type in type 'uri/mms'

        Unknown media type in type 'uri/mmst'

        Unknown media type in type 'uri/mmsu'

        Unknown media type in type 'uri/pnm'

        Unknown media type in type 'uri/rtspt'

        Unknown media type in type 'uri/rtspu'

        Unknown media type in type 'fonts/package'

        Unknown media type in type 'interface/x-winamp-skin'

        Errors were encountered while processing:
        /var/cache/apt/archives/libqt4-qt3support_4.5.3really4.5.2-0ubuntu1_i386.deb
        /var/cache/apt/archives/libqt4-designer_4.5.3really4.5.2-0ubuntu1_i386.deb
        /var/cache/apt/archives/libqtgui4_4.5.3really4.5.2-0ubuntu1_i386.deb
        /var/cache/apt/archives/libqtcore4_4.5.3really4.5.2-0ubuntu1_i386.deb
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        Preparing to replace libqt4-scripttools 4.5.2-0ubuntu6 (using .../libqt4-scripttools_4.5.3really4.5.2-0ubuntu1_i386.deb) ...

        Comment


          #5
          Re: kpackage kit failure

          so then i tried udo apt-get update --fix-missing
          I go no errors but when i tried udo apt-get upgrade --fix-missing
          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:
          libqt4-assistant: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-dbus: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-designer: Depends: libqt4-script (= 4.5.2-0ubuntu6) but 4.5.3really4.5.2-0ubuntu1 is installed
          Depends: libqt4-xml (= 4.5.2-0ubuntu6) but 4.5.3really4.5.2-0ubuntu1 is installed
          libqt4-help: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-network: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-opengl: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-phonon: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-qt3support: Depends: libqt4-network (= 4.5.2-0ubuntu6) but 4.5.3really4.5.2-0ubuntu1 is installed
          Depends: libqt4-sql (= 4.5.2-0ubuntu6) but 4.5.3really4.5.2-0ubuntu1 is installed
          Depends: libqt4-xml (= 4.5.2-0ubuntu6) but 4.5.3really4.5.2-0ubuntu1 is installed
          libqt4-script: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-scripttools: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-sql: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-sql-mysql: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-sql-sqlite: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-svg: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-test: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-webkit: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          Depends: libqtgui4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-xml: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          libqt4-xmlpatterns: Depends: libqtcore4 (= 4.5.3really4.5.2-0ubuntu1) but 4.5.2-0ubuntu6 is installed
          E: Unmet dependencies. Try using -f.
          so i again i ran sudo apt-get -f install
          The following packages will be upgraded:
          libqt4-designer libqt4-qt3support libqtcore4 libqtgui4
          4 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
          42 not fully installed or removed.
          Need to get 0B/7,971kB of archives.
          After this operation, 8,192B disk space will be freed.
          Do you want to continue [Y/n]?
          Errors were encountered while processing:
          /var/cache/apt/archives/libqt4-qt3support_4.5.3really4.5.2-0ubuntu1_i386.deb
          /var/cache/apt/archives/libqtgui4_4.5.3really4.5.2-0ubuntu1_i386.deb
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          so guess we are at a stand still ??

          Comment


            #6
            Re: kpackage kit failure

            Something to try:

            1) Clean the package cache
            Konsole:
            Code:
            sudo apt-get clean

            2) Update the package database
            Konsole:
            Code:
            sudo apt-get update

            3) Try to correct a system with broken dependencies in place
            Konsole:
            Code:
            sudo apt-get -f install

            The difference between the upgrade and the dist-upgrade (man apt-get)
            upgrade

            upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed.


            dist-upgrade

            dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages.
            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


              #7
              Re: kpackage kit failure

              The only error i got so far after the sudo apt-get clean was the standard us sudo apt-get -f install . then i got an error something about JVM not installed. then it said i had 201 updates to do .I think tho the upgrade went thru without any major errors . i will have to see if jvm meeds to be install after the reboot . Thank YOU !!!

              Comment


                #8
                Re: kpackage kit failure

                sudo apt-get install sun-java6-jre
                seems to have been what it wanted went in ok ;-0

                now it seems the open office updates are crashing it did another manual update and upgrade went ok
                I ddi the open office upgrade by it self and now kpackage kit seems to be work thanks again

                Comment

                Working...
                X