APT::Get { Pre-Update "/usr/bin/pon"; Post-Update "/usr/bin/poff"; Pre-Download "/usr/bin/pon"; Post-Download "/usr/bin/poff"; } There is a little bug however: if apt doesn't need to download, since all packages are in it's cache, the Pre-Download and Post-Download commands are still executed.
I can see another "feature": if you are already connected to the Internet (browsing, etc...) you have to remember NOT running 'apt-get update' until you're done, 'coz it'll bring the connection down afterwards.
Carlos