apt.conf 419 B

123456
  1. # Treat security and regular updates differently
  2. # This is just a simulation, that can be run under zabbix user
  3. # Since updating packages lists (apt-get update) requires root user,
  4. # use APT::Periodic or some other functionality for that
  5. UserParameter=apt.security,apt-get -s upgrade | grep -ci ^inst.*security | tr -d '\n'
  6. UserParameter=apt.updates,apt-get -s upgrade | grep -iPc '^Inst((?!security).)*$' | tr -d '\n'