← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1579125] Re: how-many-binary reports 0 all the time

 

This bug was fixed in the package what-utils - 1.4-0ubuntu1~16.04

---------------
what-utils (1.4-0ubuntu1~16.04) xenial-proposed; urgency=medium

  * usr/bin/how-many-binary: LP: #1579125
    - fix url mangling

 -- Dustin Kirkland <kirkland@xxxxxxxxxx>  Mon, 18 Apr 2016 14:22:12
-0500

** Changed in: what-utils (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1579125

Title:
  how-many-binary reports 0 all the time

Status in what-utils package in Ubuntu:
  Fix Released
Status in what-utils source package in Xenial:
  Fix Released

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/how-many-binary'
  --- usr/bin/how-many-binary     2016-04-18 19:22:12 +0000
  +++ usr/bin/how-many-binary     2016-05-06 15:48:52 +0000
  @@ -20,7 +20,8 @@
   #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
   
   arch="amd64"
  -release=$(distro-info --latest)
  +. /etc/lsb-release 2>/dev/null || true
  +release=$DISTRIB_CODENAME
   VERBOSE=0
   for i in $@; do
          case "$i" in
  @@ -45,7 +46,7 @@
   
   case "$arch" in
          amd64|x86_64|*86)
  -               archive="archive.ubuntu.com"
  +               archive="archive.ubuntu.com/ubuntu"
          ;;
          *)
                  archive="ports.ubuntu.com"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/what-utils/+bug/1579125/+subscriptions