Announcement

Collapse
No announcement yet.

Error in upgrade of kubuntu

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

    Error in upgrade of kubuntu

    I got this error in upgrade of kubuntu:

    Package failed to install

    Error while installing package: cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2000.9' to '/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2000.9.dpkg-new'

    Someone can help me please?

    I need install updade but i can't because say need libgdk-3 pls help me

    #2
    how were you doing your upgrade.?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Originally posted by vinnywright View Post
      how were you doing your upgrade.?

      VINNY
      Here:

      http://imgur.com/a/Ty9uL

      Comment


        #4
        do your update from the command line and we may get more on the error ,,,,this may be just that it's a new ver. of the package and discover is not allowing removal of old ver.

        do
        Code:
        sudo apt-get update && sudo apt-get  dist-upgrade
        and see what you get.

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          What Vinny said, or, add "--fix-missing" onto the command you used.
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Originally posted by vinnywright View Post
            do your update from the command line and we may get more on the error ,,,,this may be just that it's a new ver. of the package and discover is not allowing removal of old ver.

            do
            Code:
            sudo apt-get update && sudo apt-get  dist-upgrade
            and see what you get.

            VINNY
            I tried that but i got this:
            Code:
            sudo apt-get update && sudo apt-get  dist-upgrade
            [sudo] password for matteo: 
            Hit:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease
            Hit:2 http://it.archive.ubuntu.com/ubuntu yakkety InRelease                       
            Hit:3 http://it.archive.ubuntu.com/ubuntu yakkety-updates InRelease               
            Get:4 http://it.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102 kB]
            Fetched 102 kB in 0s (148 kB/s)                              
            Reading package lists... Done
            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:
            libgtk-3-bin : Depends: libgtk-3-0 (>= 3.20.9-1ubuntu2.1) but 3.20.9-1ubuntu2 is installed
            E: Unmet dependencies. Try using -f.

            Comment


              #7
              As the message suggests, what happens when you run?

              sudo apt-get -f install
              On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

              Comment


                #8
                Originally posted by acheron View Post
                As the message suggests, what happens when you run?

                sudo apt-get -f install
                This :/
                Code:
                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:                                                                                                                 
                 libappindicator3-1 libdbusmenu-gtk3-4 libindicator3-7                                                                                                                                         
                Use 'sudo apt autoremove' to remove them.                                                                                                                                                       
                The following additional packages will be installed:                                                                                                                                            
                 libgtk-3-0
                Suggested packages:
                 gvfs
                The following packages will be upgraded:
                 libgtk-3-0
                1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                130 not fully installed or removed.
                Need to get 0 B/2.392 kB of archives.
                After this operation, 0 B of additional disk space will be used.
                Do you want to continue? [Y/n] Y
                (Reading database ... 199609 files and directories currently installed.)
                Preparing to unpack .../libgtk-3-0_3.20.9-1ubuntu2.1_amd64.deb ...
                Unpacking libgtk-3-0:amd64 (3.20.9-1ubuntu2.1) over (3.20.9-1ubuntu2) ...
                dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
                dpkg-deb: error: subprocess <decompress> returned error exit status 2
                dpkg: error processing archive /var/cache/apt/archives/libgtk-3-0_3.20.9-1ubuntu2.1_amd64.deb (--unpack):
                cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2000.9' to '/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2000.9.dpkg-new': unexpected end of file or stream
                Errors were encountered while processing:
                /var/cache/apt/archives/libgtk-3-0_3.20.9-1ubuntu2.1_amd64.deb
                E: Sub-process /usr/bin/dpkg returned an error code (1)

                Comment


                  #9
                  Try:

                  sudo rm /var/cache/apt/archives/libgtk-3-0_3.20.9-1ubuntu2.1_amd64.deb

                  Then retry.
                  On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                  Comment


                    #10
                    Originally posted by acheron View Post
                    Try:

                    sudo rm /var/cache/apt/archives/libgtk-3-0_3.20.9-1ubuntu2.1_amd64.deb

                    Then retry.
                    Now is resolved, but i got this error:

                    Code:
                     Package failed to install
                    Error while installing package: cannot copy extracted data for './usr/share/i18n/charmaps/BIG5-HKSCS.gz' to '/usr/share/i18n/charmaps/BIG5-HKSCS.gz.dpkg-new'

                    Comment


                      #11
                      I generally repeat the following two command until I get no errors:
                      sudo apt-get -f install
                      sudo dpkg --configure -a
                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment


                        #12
                        Originally posted by GreyGeek View Post
                        I generally repeat the following two command until I get no errors:
                        sudo apt-get -f install
                        sudo dpkg --configure -a
                        Nothing to do i receive always same error:

                        Code:
                         Package failed to install
                        Error while installing package: cannot copy extracted data for './usr/share/i18n/charmaps/BIG5-HKSCS.gz' to '/usr/share/i18n/charmaps/BIG5-HKSCS.gz.dpkg-new'

                        Comment


                          #13
                          BIG5-HKSCS is not in my repository. What apps did you install that required that font encoding as a dependency?

                          This link may have some useful information
                          https://stackoverflow.com/questions/...coded-txt-file

                          Other links:
                          https://github.com/whatwg/encoding/issues/75

                          https://www.ogcio.gov.hk/en/business...tion/ccli/faq/

                          https://encoding.spec.whatwg.org/
                          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                          – John F. Kennedy, February 26, 1962.

                          Comment


                            #14
                            Originally posted by GreyGeek View Post
                            BIG5-HKSCS is not in my repository. What apps did you install that required that font encoding as a dependency?

                            This link may have some useful information
                            https://stackoverflow.com/questions/...coded-txt-file

                            Other links:
                            https://github.com/whatwg/encoding/issues/75

                            https://www.ogcio.gov.hk/en/business...tion/ccli/faq/

                            https://encoding.spec.whatwg.org/
                            I don't know but seems is glibc package problem look this image: http://imgur.com/a/C9HBq

                            Comment


                              #15
                              Does the directory /usr/share/i18n/charmaps exist?
                              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