2014-11-18 10:02:29 startup archives unpack
2014-11-18 10:02:29 install xutils-dev:amd64 <нет> 1:7.7~1
2014-11-18 10:02:29 status half-installed xutils-dev:amd64 1:7.7~1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
fromDate = '2014-11-15'
for line in open('/var/log/dpkg.log'):
date, time, action, name, other = line.split(' ', 4)
if date >= fromDate and action == "install":
print(name)