IS_NOTUPGRADED not fully working #66
Labels
No labels
bug
bullseye
discussion
duplicate
enhancement
help wanted
invalid
question
suggestion
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 19 minutes 22 seconds
Due date
benpro
19 minutes 22 seconds
No due date set.
Dependencies
No dependencies set.
Reference: evolix/evocheck#66
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In some cases IS_NOTUPGRADED is thrown while the server was recently upgraded.
Might be tied to rotation of dpkg.log
See this ticket for internal reference
if zgrep -hqs upgrade /var/log/dpkg.log*; then
The bug is here.
grep
return 1 event if it matchesupgrade
pattern.I have a patch in #67.