Commit c47be3d
checkAPT: handle packages without a candidate version
Skip installed packages whose apt cache candidate is None instead of
crashing with 'NoneType has no attribute version'. This can happen when
a package is orphaned or removed from the configured repositories, and
previously caused the entire update list refresh to fail.
Closes #1059
Signed-off-by: SAY-5 <say.apm35@gmail.com>1 parent 648a624 commit c47be3d
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
243 | 249 | | |
244 | 250 | | |
245 | 251 | | |
| |||
0 commit comments