Announcement

Collapse
No announcement yet.

linux-image-5.4.0-42-generic post-removal error

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

    [SOLVED] linux-image-5.4.0-42-generic post-removal error

    During the apt-get upgrade, I get the following error message: installed linux-image-5.4.0-42-generic package post-removal script
    subprocess returned error exit status 1

    I have taken the usual steps for such cases. What to do?

    #2
    Have you manually removed any kernels?
    The next brick house on the left
    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-28-generic


    Comment


      #3
      Originally posted by jglen490 View Post
      Have you manually removed any kernels?
      I tried to remove the kernel in question manually, but without success.

      Comment


        #4
        O.K. Without knowing what you did as "the usual steps", have you tried
        Code:
        sudo apt autoremove
        Code:
        sudo apt autoclean
        Code:
        sudo apt clean
        in that sequence?

        Have you tried to remove that object in Synaptic or Muon?

        And what is your dual boot configuration?
        Last edited by jglen490; Jan 21, 2021, 06:25 AM.
        The next brick house on the left
        Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-28-generic


        Comment


          #5
          Originally posted by jglen490 View Post
          O.K. Without knowing what you did as "the usual steps", have you tried
          Code:
          sudo apt autoremove
          Code:
          sudo apt autoclean
          Code:
          sudo apt clean
          in that sequence?

          Have you tried to remove that object in Synaptic or Muon?

          And what is your dual boot configuration?
          Yes, I ran the above commands in that order without any results. Anyway, the problem has been solved ever since. It turned out that I misconfigured something in grub.cfg with my grub menu timeout. After I fixed this, now everything is working normally. By the way, I don't use dual-boot, but multi-boot, because I have multiple systems installed on separate partitions in parallel.

          Comment


            #6
            Glad you got it solved.

            You had the "Dual Boot" label on your original title, thus my question about dual boot. Multiboot is cool, too!
            The next brick house on the left
            Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-28-generic


            Comment


              #7
              Originally posted by zoli62 View Post
              ... I have multiple systems installed on separate partitions in parallel.
              I used to juggle multiple systems in "multiple separate partitions"... then I moved to btrfs, with multiple systems in separate subvolumes, a huge time saver. Sometimes the installers won't do it directly, in which case I install to scratch partitions then move the system into the btrfs.
              Regards, John Little

              Comment


                #8
                Originally posted by jlittle View Post
                I used to juggle multiple systems in "multiple separate partitions"... then I moved to btrfs, with multiple systems in separate subvolumes, a huge time saver. Sometimes the installers won't do it directly, in which case I install to scratch partitions then move the system into the btrfs.
                How much more stable is btrfs filesystem than ext4?

                Comment

                Working...
                X