Public bug reported:

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

** Affects: what-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583353

Title:
  what-utils missing dependency

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to