The main reason being that Ubuntu 13.10 systems are not updated to fix the Shellshock security hole, so I'll try to upgrade my main server to 14.04 or 14.10.
I had a full /boot partition first which I needed to fix. I had to move two initrd files (initrd.img-3.11.0-15-generic and initrd.img-3.11.0-17-generic) to /tmp temporarily to be able to fix it.
I then did an "apt-get install -f" to fix some broken package stuff, probably due to the full /boot partition.
I still got some out of diskspace errors, so I guess I have to move another initrd or two to /tmp:
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-genericRerunning "sudo apt-get -f install". It's very slow when doing "running depmod". Success! I now have 23M free on /boot.
update-initramfs: Generating /boot/initrd.img-3.11.0-26-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.11.0-26-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.11.0-26
I'll try running apt-get autoremove. I now have 87 MB free on /boot.
I now do:
sudo apt-get purge linux-image-3.11.0-23-generic
sudo apt-get purge linux-image-3.11.0-24-generic
sudo apt-get purge linux-image-3.11.0-15-genericThe last command removed the running kernel, which I hadn't really planned to do. Oh well. Now I have 155 MB free on /boot.
Actually, I got a bit worried, so I reinstalled the running kernel (3.11.0-15). 140 MB free.
Now I'll try again to upgrade to 14.04:
Hm. I did some kind of resurrect in the previously failed 14.04 installation window. I wonder if the installation restarted properly? I don't dare to interrupt it, so I'll let it run.
Rebooted after 240 days uptime. It is taking a very long time with the hard disk light on. I hope it is just a forced fsck.
For some reason the network didn't come up on the first boot, but after the next reboot.
No comments:
Post a Comment