1

I'm facing to an issue. I'm on Ubuntu Desktop 14.04.
The execution of a program fails with the error:

unshare: unrecognized option '--fork'

I found on the web two man pages for 'unshare' package:

This pakage is included in 'util-linux' package. I would like to know how to switch to the other 'unshare' in order to have the --fork option available.

I already tried to upgrade my Ubuntu, but unshare is not upgraded.

Any ideas ?

Thanks in advance.

segalaj
  • 113
  • 4
  • The [Ubuntu manpage](http://manpages.ubuntu.com/manpages/utopic/en/man1/unshare.1.html) lists `--fork`. How did you install it? – muru Feb 16 '15 at 14:35
  • I'm on a fresh install of Ubuntu 14.04.1 LTS, unshare si provided inside, I don't install anything else... – segalaj Feb 16 '15 at 14:37
  • Hmm. Looks like the option was only added in 14.10. You may have to use a PPA. – muru Feb 16 '15 at 14:38

1 Answers1

2

You can try this PPA by Ivan Larionov who built a newer package from Debian experimental to try and fix this bug. I haven't tested it, so caveat emptor. See What are PPAs and how do I use them? if you don't know what a PPA is.

muru
  • 193,181
  • 53
  • 473
  • 722