ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Errors When Updating from Ubuntu Server 14.04 to 14.10

    Scheduled Pinned Locked Moved IT Discussion
    ubuntu 14.10ubuntuupgradeupdatelinuxservercli
    24 Posts 2 Posters 8.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom @scottalanmiller
      last edited by

      @scottalanmiller said:

      From what I can tell (I really dislike apt-get) these are the bits that really matter:

      update-rc.d: error: insserv rejected the script header
      dpkg: error processing package initscripts (--configure):
      subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
      initscripts
      

      Ok, so what do I do with them?

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        What has been done to the machine outside of letting the package manager handle everything?

        thanksajdotcomT 1 Reply Last reply Reply Quote 0
        • thanksajdotcomT
          thanksajdotcom @scottalanmiller
          last edited by

          @scottalanmiller said:

          What has been done to the machine outside of letting the package manager handle everything?

          I just put Pertino on today, or tried to again. Working with them on it now because it's installed and running but the pertino0 interface doesn't exist...

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            @scottalanmiller said:

            scottalanmiller
            From what I can tell (I really dislike apt-get) these are the bits that really matter:

            update-rc.d: error: insserv rejected the script header

            It's not working for me on Fedora either.

            1 Reply Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom
              last edited by

              Ok, so dpkg seems to be the issue, specifically when it tries to run a dpkg --configure on some packages. I am trying updating again but via aptitude now. I don't know if it will make any difference, but here is the link I found:
              http://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-'dpkg-configure-a'-e-dpkg-was-interrupted-error-695895/

              "sudo aptitude safe-upgrade" is the command I'm running, which appears to do the same as apt-get upgrade. We'll see if it works. I'll keep you posted, but I am basically unable to install, update or remove any packages at this point via apt-get.

              1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom
                last edited by thanksajdotcom

                This is what I'm getting, as the packages with issues.

                dpkg: error processing package friendly-recovery (--configure):
                dependency problems - leaving unconfigured
                Errors were encountered while processing:
                 pertino-client
                 initscripts
                 upstart-bin
                 upstart
                 friendly-recovery
                
                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Try removing Pertino before updating.

                  thanksajdotcomT 1 Reply Last reply Reply Quote 0
                  • thanksajdotcomT
                    thanksajdotcom @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    Try removing Pertino before updating.

                    I can't remove anything. I tried doing an

                     apt-get purge initscripts upstart-bin upstart friendly-recovery
                    

                    I figured if things were hosed on those items, I'd rip and reinstall. As the text started flying, I noticed it removing things like mysql-server and the like. All I could think was "oh shit!" because now my Wordpress is hosed, and I can't take a backup of my MySQL databases because running

                     mysql -u root -p 
                    

                    generates an error and so I am stuck in limbo with my MySQL. I checked my backups on my UEB and I have good backups so I'm restoring from the 19th and hopefully that'll roll back all these changes and I can get a fresh slate.

                    1 Reply Last reply Reply Quote 0
                    • thanksajdotcomT
                      thanksajdotcom
                      last edited by

                      Used my Unitrends UEB to do a restore from last Thursday, the day before all this madness started, and rebooted. Running an

                      apt-get upgrade
                      

                      now and it's going through. Going to run

                      apt-get dist-upgrade
                      

                      now and that should upgrade me to 14.10.

                      1 Reply Last reply Reply Quote 0
                      • thanksajdotcomT
                        thanksajdotcom
                        last edited by

                        So package management is working again.

                        Following the CLI tutorial found here:
                        http://www.noobslab.com/2014/10/how-to-upgrade-from-any-ubuntu-version.html

                        It's going through the upgrade now.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Any idea what broke?

                          thanksajdotcomT 1 Reply Last reply Reply Quote 0
                          • thanksajdotcomT
                            thanksajdotcom @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            Any idea what broke?

                            Yup, because the issue just happened again. Something about updating to 14.10 breaks it...

                            root@thanksaj:/home/aj# do-release-upgrade -d
                            Checking for a new Ubuntu release
                            Get:1 Upgrade tool signature [198 B]
                            Get:2 Upgrade tool [1,147 kB]
                            Fetched 1,148 kB in 0s (0 B/s)
                            authenticate 'utopic.tar.gz' against 'utopic.tar.gz.gpg'
                            extracting 'utopic.tar.gz'

                            dpkg: error processing package friendly-recovery (--configure):
                            dependency problems - leaving unconfigured
                            Processing triggers for libc-bin (2.19-10ubuntu2) ...
                            Processing triggers for initramfs-tools (0.103ubuntu8) ...
                            update-initramfs: Generating /boot/initrd.img-3.13.0-37-generic
                            Processing triggers for ureadahead (0.100.0-16) ...
                            Errors were encountered while processing:
                            grub-common
                            grub-pc-bin
                            initscripts
                            grub-pc
                            grub2-common
                            upstart-bin
                            upstart
                            friendly-recovery

                            Upgrade complete

                            The upgrade has completed but there were errors during the upgrade
                            process.

                            Just got that...

                            1 Reply Last reply Reply Quote 0
                            • thanksajdotcomT
                              thanksajdotcom
                              last edited by

                              Going to restore back to Thursday again. I can't seem to update to 14.10 without stuff breaking...

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Ubuntu is not the most stable of platforms, sadly. I would only recommend it when you have a very specific need and never "just because."

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  Did you remember to do....

                                  apt-get update && apt-get upgrade && reboot

                                  Before trying the distro update?

                                  thanksajdotcomT 1 Reply Last reply Reply Quote 0
                                  • thanksajdotcomT
                                    thanksajdotcom @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    Did you remember to do....

                                    apt-get update && apt-get upgrade && reboot

                                    Before trying the distro update?

                                    Apt-get upgrade didn't find the update, and I have run apt-get update. It's not seeing it for some reason...

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post