rewrite apt proxy workaround