how-many-binary reports 0 all the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
what-utils (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Xenial |
Fix Released
|
High
|
Ubuntu Stable Release Updates Team |
Bug Description
$ how-many-binary -a amd64 -r xenial
0
Regardless of all tags & arguments
== SRU ==
[IMPACT]
The how-many-binary command doesn't actually work, now that xenial is released and yakkety is open, as it used distro-info.
[TEST CASE]
$ how-many-binary
0
It should return something more like:
$ how-man-binary
53837
The fix is to use /etc/lsb-release instead of distro-info. Duh.
[REGRESSION POTENTIAL]
Negligible.
The patch is already committed upstream, and uploaded to yakkety.
=== modified file 'usr/bin/
--- usr/bin/
+++ usr/bin/
@@ -20,7 +20,8 @@
# along with this program. If not, see <http://
arch="amd64"
-release=
+. /etc/lsb-release 2>/dev/null || true
+release=
VERBOSE=0
for i in $@; do
case "$i" in
@@ -45,7 +46,7 @@
case "$arch" in
- archive=
+ archive=
;;
*)
Related branches
Changed in what-utils (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in what-utils (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in what-utils (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in what-utils (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in what-utils (Ubuntu): | |
importance: | Critical → High |
Changed in what-utils (Ubuntu Xenial): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
milestone: | none → xenial-updates |
description: | updated |
Changed in what-utils (Ubuntu Xenial): | |
assignee: | Dustin Kirkland (kirkland) → Ubuntu Stable Release Updates Team (ubuntu-sru) |
This bug was fixed in the package what-utils - 1.4-0ubuntu1
---------------
what-utils (1.4-0ubuntu1) yakkety; urgency=medium
* usr/bin/ how-many- binary: LP: #1579125
- fix url mangling
-- Dustin Kirkland <email address hidden> Mon, 18 Apr 2016 14:22:12 -0500