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
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 '>'

Tags: wily
Revision history for this message
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
Revision history for this message
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)
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)
Changed in initramfs-tools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.