Announcement

Collapse
No announcement yet.

package not installing

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

    package not installing

    Hello, whilst realising this must be a simple matter to resolve, any assistance will be appreciated.

    The other day I did command line update and when finding one package to upgrade typed to do the same but the result was thus:-

    "The following packages will be upgraded:
    nitrux-icon-theme
    1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/4,253 kB of archives. After unpacking 62.5 kB will be freed.
    Do you want to continue? [Y/n/?] y
    dpkg: unrecoverable fatal error, aborting:
    files list file for package `nitrux-icon-theme' contains empty filename
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install. Trying to recover:"

    ah so thought I will just remove it ...

    "The following packages will be REMOVED:
    nitrux-icon-theme
    0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 40.7 MB will be freed.
    dpkg: unrecoverable fatal error, aborting:
    files list file for package `nitrux-icon-theme' contains empty filename
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install. Trying to recover:"

    I have done a search through forum and web and keep seeing different answers, before applying anything wondered if I any one would suggest the best route to sort this. ?
    Regards - BuKunut
    There are three kinds of people in the world; those who can count and those who can't.

    #2
    I have that icon theme installed @hear on 12.10 ,,,,,,where did you get yours ?

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

    Comment


      #3
      Vinnywright

      I seem to remember this was loaded from repositories with one other, as for the others in my icon list I am sure these were acquired from KDE-Look.
      There are three kinds of people in the world; those who can count and those who can't.

      Comment


        #4
        see what a
        Code:
        sudo apt-get -f install
        returns .

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

        Comment


          #5
          Originally posted by vinnywright View Post
          see what a
          Code:
          sudo apt-get -f install
          returns .

          VINNY
          Thank you this is what is returned.....

          Reading package lists... DoneBuilding dependency tree
          Reading state information... Done
          The following packages were automatically installed and are no longer required:
          linux-headers-3.11.0-15 linux-headers-3.11.0-15-generic linux-image-3.11.0-15-generic linux-image-extra-3.11.0-15-generic
          Use 'apt-get autoremove' to remove them.
          0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

          buKunut
          There are three kinds of people in the world; those who can count and those who can't.

          Comment


            #6
            OK now do a
            Code:
            sudo apt-get update && sudo apt-get dist-upgrade
            and see if it gets stuck on that icon package .

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

            Comment


              #7
              Originally posted by vinnywright View Post
              OK now do a
              Code:
              sudo apt-get update && sudo apt-get dist-upgrade
              and see if it gets stuck on that icon package .

              VINNY
              Calculating upgrade... Done
              The following packages will be upgraded:
              nitrux-icon-theme
              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              Need to get 0 B/4,253 kB of archives.
              After this operation, 62.5 kB disk space will be freed.
              Do you want to continue [Y/n]? y
              Selecting previously unselected package nitrux-icon-theme.
              dpkg: unrecoverable fatal error, aborting:
              files list file for package `nitrux-icon-theme' contains empty filename
              E: Sub-process /usr/bin/dpkg returned an error code (2)

              Yeah, the same.

              buKunut
              There are three kinds of people in the world; those who can count and those who can't.

              Comment


                #8
                and what dose a
                Code:
                dpkg-query -l nitrux-icon-theme
                return.

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

                Comment


                  #9
                  I had the same problem - answer and fix are here. In a nutshell -

                  Remove the file nitrux-icon-theme.list in /var/lib/dpkg/info/, and update your package cache.
                  Worked for me...
                  ​"Keep it between the ditches"
                  K*Digest Blog
                  K*Digest on Twitter

                  Comment


                    #10
                    This icon theme hasn't been packaged beyond Quantal (12.10). If you originally installed it from a downloaded .deb package you can see if it can still be used in Saucy (13.10) by adding the PPA:
                    Code:
                    sudo apt-add-repository ppa:upubuntu-com/themes
                    then running:
                    Code:
                    sudo apt-get udpate && sudo apt-get dist-upgrade
                    Because this is an icon theme, there shouldn't be anything in it that would create any problems with Saucy, but you want to look at any warnings apt may give.
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Snowhog - This is the company that makes the icons - http://nitrux.in/ and they have their own PPA here: https://launchpad.net/~noobslab/+archive/nitrux-os. There was a problem with a recent update on their behalf and I've posted the fix above
                      ​"Keep it between the ditches"
                      K*Digest Blog
                      K*Digest on Twitter

                      Comment


                        #12
                        Cool. Always best, when using a third-party repository/PPA, to use one that contains packages for the Ubuntu release you are running. Thank you for the info.
                        Using Kubuntu Linux since March 23, 2007
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Thank you dequire and Snowhog!

                          I did the removing of "nitrux-icon-theme.list in /var/lib/dpkg/info/ "
                          then run update and upgrade

                          "The following packages will be upgraded:
                          nitrux-icon-theme
                          1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                          Need to get 0 B/4,253 kB of archives. After unpacking 62.5 kB will be freed.
                          Do you want to continue? [Y/n/?] y
                          Selecting previously unselected package nitrux-icon-theme.
                          dpkg: warning: files list file for package 'nitrux-icon-theme' missing; assuming package has no files currently installed
                          (Reading database ... 327528 files and directories currently installed.)
                          Preparing to replace nitrux-icon-theme 3.2.6 (using .../nitrux-icon-theme_3.2.61_all.deb) ...
                          Unpacking replacement nitrux-icon-theme ...
                          gtk-update-icon-cache-3.0: The generated cache was invalid.
                          WARNING: icon cache generation failed for /usr/share/icons/NITRUX
                          Setting up nitrux-icon-theme (3.2.61) ...
                          gtk-update-icon-cache-3.0: The generated cache was invalid.
                          WARNING: icon cache generation failed for /usr/share/icons/NITRUX

                          Current status: 0 updates [-1].
                          stephen@stephen-MS-7599:~$ sudo aptitude upgrade
                          No packages will be installed, upgraded, or removed.
                          0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                          Need to get 0 B of archives. After unpacking 0 B will be used."

                          As you can see the second run of upgrade, the file is no longer shown and no no longer showing the error, thank you for your help and assistance in this matter.

                          Best wishes buKunut
                          There are three kinds of people in the world; those who can count and those who can't.

                          Comment


                            #14
                            Hummm wehen I installed the nitrux icons I just DL'd the nitrux-KDE.tar.gz from hear http://store.nitrux.in/ and pointed the system settings>applacation appearance>icons>install theme file ,,,at it ,,,done , working , ,,,, but this was in 12.10 .....going to give it a go hear in 14.04 and see what happens .................................................. .. yup worked just fine hear as well

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

                            Comment

                            Working...
                            X