fix apt parsing bug (fix #34)