what-utils missing dependency

Bug #1583353 reported by James Cameron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
what-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

in what-utils-1.3-0ubuntu1 /usr/bin/what-repo uses col2, so it doesn't work.

on xenial, col2 is provided by package byobu.

on trusty, col2 is available in package bikeshed.

however, it would be simpler if col2 were replaced by an equivalant awk.

e.g.

{{{
--- /usr/bin/what-repo 2011-08-04 07:38:12.000000000 +1000
+++ /tmp/what-repo 2016-05-19 07:31:56.546446402 +1000
@@ -20,4 +20,4 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.

-apt-cache show "$1" | grep ^Filename: | head -n1 | col2 /
+apt-cache show "$1" | grep ^Filename: | head -n1 | awk -F / '{print $2}'
}}}

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.