[mosh-devel] error when installing mosh on debian unstable -- mosh won't run

Laura Creighton lac at openend.se
Sat Sep 5 04:51:06 EDT 2015


I am running debian unstable:

lac at smartwheels:~$ lsb_release -a
LSB Version:	   core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID:	   Debian
Description:	   Debian GNU/Linux unstable (sid)
Release:	   unstable
Codename:	   sid

Installing mosh reports this problem:

lac at smartwheels:~/junk$ sudo apt-get install mosh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  lib32ncurses5 lib32ncurses5-dev lib32tinfo-dev lib32tinfo5 libncurses5
  libncurses5-dev libncursesw5 libprotobuf9v5 libtinfo-dev libtinfo5
  ncurses-bin
Suggested packages:
  ncurses-doc
The following NEW packages will be installed:
  libprotobuf9v5 mosh
The following packages will be upgraded:
  lib32ncurses5 lib32ncurses5-dev lib32tinfo-dev lib32tinfo5 libncurses5
  libncurses5-dev libncursesw5 libtinfo-dev libtinfo5 ncurses-bin
10 upgraded, 2 newly installed, 0 to remove and 842 not upgraded.
Need to get 2,246 kB of archives.
After this operation, 2,189 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

<skipping the Gets, they all ran fine>
<skipping the unpacking that went fine>

Selecting previously unselected package mosh.
Preparing to unpack .../mosh_1.2.5-1+b1_amd64.deb ...
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Unpacking mosh (1.2.5-1+b1) ...
Processing triggers for man-db (2.7.0.2-5) ...

<skipping the other setting ups>

Setting up mosh (1.2.5-1+b1) ...
Processing triggers for libc-bin (2.19-19) ...
[master 1b43067] committing changes in /etc after apt run
 Author: lac <lac at smartwheels.openend.se>
 2 files changed, 5 insertions(+)
 create mode 100644 ufw/applications.d/mosh

When I try to run it, it isn't all there.

lac at smartwheels:~$ mosh fido.openend.se
lac at fido.openend.se's password:  <I type this>
bash: mosh-server: command not found
Connection to fido.openend.se closed.
/usr/bin/mosh: Did not find mosh server startup message.

Just checking ...

lac at smartwheels:~$ mosh lac at fido.openend.se
lac at fido.openend.se's password: 
bash: mosh-server: command not found
Connection to fido.openend.se closed.
/usr/bin/mosh: Did not find mosh server startup message.
lac at smartwheels:~$

Nope, looks like it is just not there.

Laura Creighton





More information about the mosh-devel mailing list