Error with package updates

Hi

keep getting errors when doing package updates. please assist:

Now updating apache2 ..
Installing package(s) with command apt-get -y install apache2 ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.9) but 2.4.7-1ubuntu4.8 is to be installed
Depends: apache2-data (= 2.4.7-1ubuntu4.9) but 2.4.7-1ubuntu4.8 is to be installed
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apache2-bin ..
Installing package(s) with command apt-get -y install apache2-bin ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.8) but 2.4.7-1ubuntu4.9 is to be installed
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apache2-data ..
Installing package(s) with command apt-get -y install apache2-data ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-data (= 2.4.7-1ubuntu4.8) but 2.4.7-1ubuntu4.9 is to be installed
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apache2-doc ..
Installing package(s) with command apt-get -y install apache2-doc ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apache2-suexec-custom ..
Installing package(s) with command apt-get -y install apache2-suexec-custom ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apt ..
Installing package(s) with command apt-get -y install apt ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apt-transport-https ..
Installing package(s) with command apt-get -y install apt-transport-https ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating apt-utils ..
Installing package(s) with command apt-get -y install apt-utils ..
Setting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-56-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic
vmlinuz(/boot/vmlinuz-3.16.0-57-generic
) points to /boot/vmlinuz-3.16.0-57-generic
(/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-57-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-57-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.16.0-57-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-57-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.59.50); however:
Package linux-image-generic-lts-utopic is not configured yet.

dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-59-generic:
linux-image-extra-3.16.0-59-generic depends on linux-image-3.16.0-59-generic; however:
Package linux-image-3.16.0-59-generic is not installed.

dpkg: error processing package linux-image-extra-3.16.0-59-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:
linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:
Package linux-image-3.16.0-57-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-3.16.0-56-generic
linux-image-3.16.0-57-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-59-generic
linux-image-extra-3.16.0-57-generic
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.16.0-59-generic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
linux-image-generic-lts-utopic : Depends: linux-image-3.16.0-59-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
.. install failed!

Now updating curl ..
Installing package(s) with command apt-get -y install curl ..

Status: 
Active

Comments

Howdy -- the error you're pasting in there suggests that your drive is out of disk space.

What is the output of this command:

df -h

root@bera-serv:/home/muhammedc# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7,8G 4,0K 7,8G 1% /dev
tmpfs 1,6G 776K 1,6G 1% /run
/dev/mapper/bera--serv--vg-root 443G 16G 405G 4% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
none 5,0M 4,0K 5,0M 1% /run/lock
none 7,8G 0 7,8G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/md0p1 236M 232M 0 100% /boot
root@bera-serv:/home/muhammedc#

Yeah it looks like your /boot partition is full, so it's unable to install the newer kernels.

What you may want to do is remove some of the older kernel packages/files that you're no longer using, which would free up some space.

That may be a bit too small a space for the /boot partition though... if you setup a server at some point in the future, I'd suggest either giving it more space, or having /boot share space with / (that is, not make it a separate partition).

is there a way to expand the boot part on the fly?

not sure which files i can delete in the boot part... any advise there?

If they're setup using LVM, you could shrink the one, and increase the other -- that's not really a simple process though, and it would need to be done offline. That unfortunately means we wouldn't be able to assist you with it. Unless you're comfortable with LVM and partition management you may want to hold off on doing that.

What is the output of these commands:

uname -a
ls -lh /boot/

Also, what distro/version is it that you're using there?

root@bera-serv:/# uname -a
Linux bera-serv 3.16.0-56-generic #75~14.04.1-Ubuntu SMP Wed Dec 2 11:27:25 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@bera-serv:/# ls -lh /boot/
total 36M
-rw-r--r-- 1 root root 1,2M Jan 20 16:53 abi-3.16.0-60-generic
-rw-r--r-- 1 root root 168K Jan 20 16:53 config-3.16.0-60-generic
drwxr-xr-x 5 root root 1,0K Feb 3 21:05 grub
-rw-r--r-- 1 root root 25M Feb 3 20:55 initrd.img-3.16.0-60-generic
drwx------ 2 root root 12K Apr 10 2015 lost+found
-rw-r--r-- 1 root root 173K Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 174K Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 175K Mar 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 3,4M Jan 20 16:53 System.map-3.16.0-60-generic
-rw------- 1 root root 6,1M Jan 20 16:53 vmlinuz-3.16.0-60-generic
root@bera-serv:/#

There's not actually that much in use right there. How about this command:

ls -lh /boot/grub

root@bera-serv:/home/muhammedc# ls -lh /boot/grub
total 2,4M
drwxr-xr-x 2 root root 1,0K Apr 10 2015 fonts
-rw-r--r-- 1 root root 699 Apr 10 2015 gfxblacklist.txt
-r--r--r-- 1 root root 7,5K Feb 3 21:05 grub.cfg
-rw-r--r-- 1 root root 1,0K Feb 3 21:18 grubenv
drwxr-xr-x 2 root root 9,0K Feb 3 21:05 i386-pc
drwxr-xr-x 2 root root 1,0K Feb 3 21:05 locale
-rw-r--r-- 1 root root 2,3M Feb 3 21:05 unicode.pf2
root@bera-serv:/home/muhammedc#

Okay, off the top of my head I don't actually know where the files are that are using up all 200MB of the space your server has on that partition. The two commands you ran look normal.

What you may want to do is browse the other directories you have within /boot, run "ls -lh" in that directory, and look at how large the files there are. We're looking for a directory or directories with enough large files that it could use up all your available space on that partition.

Let us know when you find one, and what files are in it -- we can then review that with you.