/etc/apt/apt.conf.d/75pveconf, why?

MACscr

Member
Mar 19, 2013
95
3
8
Why do we have the following entry?

Code:
root@stor2:/etc/apt/apt.conf.d# cat /etc/apt/apt.conf.d/75pveconf
APT
{
  NeverAutoRemove
  {
    "^pve-kernel-.*";
  };
}

I dont want to have to manually remove old kernels and there is a stock NeverAutoRemove entry that already keeps the newest kernels, right? I have a 10 proxmox systems and i want to easily be able to manage them with puppet and this entry is making it a pain.
 
that's a conf file, so you can override it if you know what you are doing... but note that pve-kernel-x provides linux-image and thus will not be autoremoved anyway (because proxmox-ve depends on pve-firmware which suggests linux-image). feel free to file a bug for the latter, IMHO package relations in that corner deserve an overhaul anyway ;)