fix(apt): workaround the apt leaking issue

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745487