group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #03500
[Bug 1579125] Re: how-many-binary reports 0 all the time
** Also affects: what-utils (Ubuntu Xenial)
Importance: Undecided
Status: New
** 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: (unassigned) => Dustin Kirkland (kirkland)
** Changed in: what-utils (Ubuntu Xenial)
Milestone: None => xenial-updates
--
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 Committed
Status in what-utils source package in Xenial:
In Progress
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