When apt-get is setting up a package or processing triggers for a package what actually happens in the background?