Ubuntu Patch Management

Written by alex2006hw

  • deploy from internal repo
  • email ticket for auditing

patch-month

  • using apt-mirror to build internal repo
  • patch-script template created

  • findpkg tool to identify installed packages

  • osversion to show system version

    • directory layout : osversion expects ~/operations/inventory/$ENVIRONMENT/$SERVER/issue copy from $SERVER/etc/issue
    • directory layout : findpkg expects ~/operations/inventory/$ENVIRONMENT/$SERVER/dpkg/dpkg.list
    • dpkg.list is populated using :

    dpkg -l | awk '{ print $2, $3}' | sed '1,5d' > dpkg.list