initramfs-tools calls dpkg with obsolete parameter
Bug #1480340 reported by
Eugene San
This bug affects 3 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Bug Description
initramfs-tools calls dpkg with obsolete parameter:
...
Processing triggers for initramfs-tools (0.103ubuntu16) ...
dpkg: warning: --compare-versions used with obsolete relation operator '>'
...
Related branches
| Changed in initramfs-tools (Ubuntu): | |
| status: | Triaged → In Progress |
| importance: | Low → Medium |
| assignee: | nobody → Andy Whitcroft (apw) |
| milestone: | none → ubuntu-15.08 |
| Changed in initramfs-tools (Ubuntu): | |
| status: | In Progress → Fix Committed |
To post a comment you must log in.

It looks like this is in update-initramfs:
255 for gsv_i in $version_list; do "${worklist} ${gsv_x} ${gsv_i}" "${worklist} ${gsv_i}"
256 if dpkg --compare-versions "${gsv_x}" '>' "${gsv_i}"; then
257 worklist=
258 gsv_x=""
259 else
260 worklist=