Comment 29 for bug 1604750

Revision history for this message
Mark Kelly (mckub1) wrote :

@jokrebel, hi

The patch I used is this: (changing one line)

# orig:
# [ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt "$mycache" ]
# new:
        [ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt "$mycache" ] || [ "/var/log/dpkg.log" -nt "$mycache" ]

So far with this change I have not seen the problem occur.
I was working on a different approach but this above is more simple.