initramfs-tools calls dpkg with obsolete parameter

Bug #1480340 reported by Eugene San on 2015-07-31
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
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 '>'

Brian Murray (brian-murray) wrote :

It looks like this is in update-initramfs:

255 for gsv_i in $version_list; do
256 if dpkg --compare-versions "${gsv_x}" '>' "${gsv_i}"; then
257 worklist="${worklist} ${gsv_x} ${gsv_i}"
258 gsv_x=""
259 else
260 worklist="${worklist} ${gsv_i}"

tags: added: wily
Brian Murray (brian-murray) wrote :

The version in wily proposed still seems to use the '>'.

Changed in initramfs-tools (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Andy Whitcroft (apw) on 2015-08-05
Changed in initramfs-tools (Ubuntu):
status: Triaged → In Progress
importance: Low → Medium
assignee: nobody → Andy Whitcroft (apw)
milestone: none → ubuntu-15.08
Andy Whitcroft (apw) on 2015-08-07
Changed in initramfs-tools (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.120ubuntu2

initramfs-tools (0.120ubuntu2) wily; urgency=medium

    * update-initramfs: switch dpkg --compare-versions from > to >=
      to avoid warnings from dpkg. (LP: #1480340)
    * debian/control: update Vcs-* links for Ubuntu.
    * scripts/functions: use :> rather than touch to create fsck
      stamp. (LP: #1481789)
    * hooks/busybox: revert local changes, these now need to occur
      in the new late zz-busybox-initramfs hook. (LP: #1481733)

 -- Andy Whitcroft <email address hidden> Wed, 05 Aug 2015 13:02:34 +0100

Changed in initramfs-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers