Announcement

Collapse
No announcement yet.

Problems with linux-image-4.10.0-33-generic and Initramfs-tools packages.

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

    Problems with linux-image-4.10.0-33-generic and Initramfs-tools packages.

    Hello! I am new to this forum, which I hope to belong for a long time. My problem is this: today, when I go to update the packages I have installed and I skipped an error code 1. When executing the command "sudo dpkg --configure -a" to reconfigure the broken packages I got the following message from error:

    "Errors were encountered while processing:
    linux-image-4.10.0-33-generic
    Initramfs-tools "

    I have tried uninstalling those packages but it will not let me.

    Any possible solution will be welcome.

    #2
    Please try:
    sudo apt-get update
    sudo apt-get -f install

    and post any errors you encounter

    Please Read Me

    Comment


      #3
      First of all thank you very much for answering. I have done what you told me and I got the following error:

      "update-initramfs: failed for /boot/initrd.img-4.10.0-19-generic with 1.
      dpkg: error processing package initramfs-tools (--configure):
      the installed thread the post-installation script returned error exit code 1
      Errors were encountered while processing:
      initramfs-tools
      E: Sub-process / usr / bin / dpkg returned an error code (1) "

      Comment


        #4
        Are you able to boot into the previous kernel?
        Using Kubuntu Linux since March 23, 2007
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          That's an idea I've been hanging around, but I do not know how to do it.

          Comment


            #6
            See: How to change kernel at boot [duplicate]
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              As soon as I can perform the steps that are advised on the page whose link you have passed me, I will try to update the packages I have installed and comment the results here.

              Comment


                #8
                I just loaded the previous kernel, 4.10.19, which works fine; I have updated and, when it came out the message "Reading package list ... Done Creating dependency tree Reading the status information ... Done Calculating the update ... Done The package indicated below was installed automatically and is no longer necessary.
                thermald Use "sudo apt autoremove" to remove it. 0 updates, 0 new ones will be installed, 0 to remove and 0 not updated.
                1 not fully installed or removed.
                0 B of additional disk space will be used after this operation.
                do you wish to continue? [Y / n] ", I pressed the" Y "key to continue ... but I have returned the same error message, only now the protagonist is the kernel 4.10.19:

                "update-initramfs: failed for /boot/initrd.img-4.10.0-19-generic with 1.
                dpkg: error processing package initramfs-tools (--configure):
                the installed thread the post-installation script returned error exit code 1
                Errors were encountered while processing:
                initramfs-tools
                E: Sub-process / usr / bin / dpkg returned an error code (1) "

                I have also noticed in this another error message that also appears, and in which I had not noticed until now:

                "E: / usr / share / initramfs-tools / hooks / fsck failed with return 1."

                Comment


                  #9
                  What is the output of: cat /etc/apt/sources.list

                  Please Read Me

                  Comment


                    #10
                    The output that gives me the command "cat" in this case is this:

                    #deb cdrom: [Kubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)] / zesty main multiverse restricted universe

                    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                    # newer versions of the distribution.
                    deb http://en.archive.ubuntu.com/ubuntu/ zesty main restricted
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty main restricted

                    ## Major bug fix updates produced after the final release of the
                    ## distribution.
                    deb http://en.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team. Also, please note that software in universe WILL NOT receive any
                    ## review or updates from the Ubuntu security team.
                    deb http://es.archive.ubuntu.com/ubuntu/ zesty universe
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty universe
                    deb http://es.archive.ubuntu.com/ubuntu/ zesty-updates universe
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty-updates universe

                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team, and may not be under a free license. Please satisfy yourself as to
                    ## your rights to use the software. Also, please note that software in
                    ## multiverse WILL NOT receive any reviews or updates from the Ubuntu
                    ## security team.
                    deb http://en.archive.ubuntu.com/ubuntu/ zesty multiverse
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty multiverse
                    deb http://es.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

                    ## N.B. software from this repository may not have been tested
                    ## extensively as contained in the main release, although it includes
                    ## newer versions of some applications which may provide useful features.
                    ## Also, please note that software in backports WILL NOT receive any review
                    ## or updates from the Ubuntu security team.
                    deb http://en.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
                    # deb-src http://en.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

                    ## Uncomment the following two lines to add software from Canonical's
                    ## 'partner' repository.
                    ## This software is not part of Ubuntu, but is offered by Canonical and the
                    ## respective vendors as a service to Ubuntu users.
                    # deb http://archive.canonical.com/ubuntu zesty partner
                    # deb-src http://archive.canonical.com/ubuntu zesty partner

                    deb http://security.ubuntu.com/ubuntu zesty-security main restricted
                    # deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
                    deb http://security.ubuntu.com/ubuntu zesty-security universe
                    # deb-src http://security.ubuntu.com/ubuntu zesty-security universe
                    deb http://security.ubuntu.com/ubuntu zesty-security multiverse
                    # deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse

                    Another thing I've also done is check if the linux-image-generic package was still installed on my system, were it not that when I tried to uninstall the linux-image-4.10.0-33-generic package it would have been uninstalled. For this I used the command "dpkg --get-selections | grep linux-image" ... and the linux-image-generic package did not appear anywhere. So I installed it and tried to update again, again without success. Now the message that appears to me is this:

                    "update-initramfs: failed for /boot/initrd.img-4.10.0-19-generic with 1.
                    dpkg: error processing package initramfs-tools (--configure):
                    the installed thread the post-installation script returned error exit code 1
                    No report was written "apport" because the value of «MaxReports» has already been reached
                    Errors were encountered while processing:
                    Linux-image-4.10.0-33-generic
                    linux-image-extra-4.10.0-33-generic
                    linux-image-generic
                    Initramfs-tools "

                    Comment


                      #11
                      sources.list looks OK, post the output of df -h

                      Please Read Me

                      Comment


                        #12
                        This is the output that gives me the command "df -h":

                        Sizes Used Used Disp Usage% Mounted on
                        udev 3.9G 0 3.9G 0% / dev
                        tmpfs 788M 9.4M 779M 2% / run
                        / dev / mapper / kubuntu - vg-root 678G 13G 631G 2% /
                        tmpfs 3.9G 68K 3.9G 1% / dev / shm
                        tmpfs 5.0M 4.0K 5.0M 1% / run / lock
                        tmpfs 3.9G 0 3.9G 0% / sys / fs / cgroup
                        / dev / sda2 465M 86M 351M 20% / boot
                        / dev / sda1 511M 3.4M 508M 1% / boot / efi
                        tmpfs 788M 0 788M 0% / run / user / 119
                        tmpfs 788M 20K 788M 1% / run / user / 1000
                        /home/santiago/.Private 678G 13G 631G 2% / home / santiago

                        Comment


                          #13
                          Looking for information on the Internet, I found a thread in the Ubuntu forum where a user who had exactly the same problem as I was told that the only way to solve it, as long as there was no experience with Ubuntu and derivatives (which is my case with Kubuntu), is to reinstall the operating system.
                          We can give the problem by solved.

                          Comment

                          Working...
                          X