Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: agm1960 on March 21, 2016, 11:52:20 am

Title: V4.2.2 broken packages after update
Post by: agm1960 on March 21, 2016, 11:52:20 am
V4.2.2. running on standard VMWare. Upgrades do not work any more as 4.2.2 reports   "You have broken packages installed, fix them before upgrading"

Running apt-get -f install fails with:

Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.16.0-67-generic_3.16.0-67.87~14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas?
Title: Re: V4.2.2 broken packages after update
Post by: agm1960 on March 21, 2016, 12:03:20 pm
Actually found it - the /boot was full.

In Centos you can limit how many Kernels are kept by setting a number form 5 to 3 - how do you that in Zentyal?
Title: Re: V4.2.2 broken packages after update
Post by: agm1960 on March 21, 2016, 12:10:48 pm
Actually - this is the answer: http://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu/571360#571360

purge-old-kernels --keep 3