False positive security update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running `/usr/lib/
If I patch the code to see what package is to be upgraded (eg in the `isSecurityUpgrade` function) - it shows `libpq5`.
The machine has nothing to do and had never ever installed postgresql client
And at the moment it's not installed either
```
$ apt policy libpq5
libpq5:
Installed: (none)
Candidate: 10.12-0ubuntu0.
Version table:
10.
500 http://
500 http://
10.3-1 500
500 http://
```
After debugging some more it looks like
```
if not (depcache.
```
this is the condition to blame: I expect the predicate in parentheses to be false - as the package is not marker for install or upgrade.
Upd: it's not a single unique case, I have a bunch of other machines (with different roles and a set of installed packages) and all them report `libpq5` as outdated (yet none of them have even it installed)