Errors When Updating from Ubuntu Server 14.04 to 14.10
-
@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...
-
@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.
-
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.
-
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
-
Try removing Pertino before updating.
-
@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.
-
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.
-
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.htmlIt's going through the upgrade now.
-
Any idea what broke?
-
@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-recoveryUpgrade complete
The upgrade has completed but there were errors during the upgrade
process.Just got that...
-
Going to restore back to Thursday again. I can't seem to update to 14.10 without stuff breaking...
-
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."
-
Did you remember to do....
apt-get update && apt-get upgrade && reboot
Before trying the distro update?
-
@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...