[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: Wie führe ich apt-get per ssh aus?



Hallo Georg

> Problem: beim Aufruf von apt-get bekomme ich folgende Meldungen:.....

Nimm mal den Parameter -t mit rein....

-t      Force pseudo-tty allocation.  This can be used to execute arbi-
             trary screen-based programs on a remote machine, which can be
             very useful, e.g., when implementing menu services.  Multiple
-t
             options force tty allocation, even if ssh has no local tty.

Bei mir tut das ohne Verrenkungen

# ssh -t $IP apt-get install dstat
root@$IP's password:
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  dstat
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/43.8kB of archives.
After unpacking 222kB of additional disk space will be used.
Selecting previously deselected package dstat.
(Reading database ... 19000 files and directories currently installed.)
Unpacking dstat (from .../archives/dstat_0.6.3-2_all.deb) ...
Setting up dstat (0.6.3-2) ...

Connection to $IP closed.

Grüßle
Thomas



Reply to: