Is there something special I need to do to have the "man" binary
available to me?

My snap ships a manpage in /snap/petname/share/man/man1/petname.1

Perhaps too cleverly, when you run /snap/bin/petname --help, my
program tries to "exec man petname", and that fails:

$ /snap/bin/petname -h
/snap/petname/9/bin/petname: 49: exec: man: not found

Please advise.  Do I need to include man as a part or something?

Dustin Kirkland
Ubuntu Product & Strategy
Canonical, Ltd.



---------- Forwarded message ----------
From: Charles Butler <charles.but...@canonical.com>
Date: Thu, Feb 16, 2017 at 9:58 AM
Subject: petname snap bug
To: Dustin Kirkland <kirkl...@canonical.com>


Greetings Dustin,

I found a minior quibble with petname. Not sure if you'd prefer this
as a bug somewhere but the snap for petname in the stable channel
breaks when i attempt to get help for petname with 'man not found'


130 charles@Xenial:/media/psf/work/builds⟫ sudo snap install petname
[sudo] password for charles:
petname 2.6 from 'kirkland' installed
charles@Xenial:/media/psf/work/builds⟫ petname --help
/snap/petname/9/bin/petname: 49: exec: man: not found
127 charles@Xenial:/media/psf/work/builds⟫ man
What manual page do you want?
1 charles@Xenial:/media/psf/work/builds⟫ petname -h
/snap/petname/9/bin/petname: 49: exec: man: not found
127 charles@Xenial:/media/psf/work/builds⟫ petname
guided-chicken
charles@Xenial:/media/psf/work/builds⟫ petname
united-collie
charles@Xenial:/media/psf/work/builds⟫ petname --help
/snap/petname/9/bin/petname: 49: exec: man: not found


All the best.

Charles Butler <charles.but...@canonical.com> - Juju Charmer
Come see the future of modeling your datacenter: http://jujucharms.com
Conjure up Kubernetes: `conjure-up canonical-kubernetes` on any ubuntu
install with Conjure and Juju.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to