Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH tmux bug report: "tmux Install Timeout" - "Argument resolves to no package: tmux" #5658

Open
Xiran-Zhang opened this issue Jan 8, 2025 · 0 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes SSH-tmux TMUX SSH related issues

Comments

@Xiran-Zhang
Copy link

Include shell output

Use of this system is limited to users who have been properly authorised by
the KAUST Supercomputing Laboratory. Unauthorised users must disconnect
immediately.

For support, see http://www.hpc.kaust.edu.sa/
or email help@hpc.kaust.edu.sa
(zhanx0q@shaheen.kaust.edu.sa) One-time password (OATH) for `zhanx0q': 
               ____  _           _
              / ___|| |__   __ _| |__   ___  ___ _ __
              \___ \| '_ \ / _` | '_ \ / _ \/ _ \ '_ \
               ___) | | | | (_| | | | |  __/  __/ | | |
              |____/|_| |_|\__,_|_| |_|\___|\___|_| |_|

Shaheen is 18 cabinet HPE Cray EX system. The front-end environment is
running SUSE Linux Enterprise Server 15.
                   ------------------------------
/usr/bin/manpath: can't set the locale; make sure $LC_* and $LANG are correct
(base) zhanx0q@login3:~> [ -z $WARP_BOOTSTRAPPED ] && printf "\\033P\$f{\"hook\": \"InitSsh\", \"value\": { \"shell\": \"%s\" }}\\234" $([ $FISH_VERSION ] && echo "fish" || { echo $0 | command -p grep -q zsh && echo "zsh"; } || { echo $0 | command -p grep -q bash && echo "bash"; } || echo "unknown");
(base) zhanx0q@login3:~> find() { command -v "$1" >/dev/null 2>&1;};log() { _msg=$(printf "{\"hook\": \"$1\", \"value\": $2}" | command -p od -An -v -tx1 | command -p tr -d " \n");printf '\033\120\044\144%s\234' "$_msg";};err() { log RemoteWarpificationIsUnavailable "$1";};if find tmux; then TMUX="tmux";log SshTmuxInstaller "\"user\"";elif find $HOME/.warp/tmux/execute_tmux.sh; then log SshTmuxInstaller "\"warp\"";TMUX="$HOME/.warp/tmux/execute_tmux.sh";fi;if [ $TMUX ]; then VER=$(command $TMUX -V 2>/dev/null | awk '{print $2}');if [ -z "$VER" ]; then err "\"TmuxFailed\"";elif [ "$(printf '%s\n' "$VER" "1.7" | sort -V | tail -n1)" = "1.7" ]; then err "\"UnsupportedTmuxVersion\"";else command $TMUX -CC && exit;fi;else OS=$(uname);if [ "$OS" = "Darwin" ]; then if find brew; then PKG="homebrew";fi;elif [ "$OS" = "Linux" ]; then if find pacman; then PKG="pacman";elif find zypper; then PKG="zypper";elif find dnf; then PKG="dnf";elif find yum && find yumdownloader; then PKG="yum";elif find apt; then PKG="apt";fi;fi;err "{\"TmuxNotInstalled\": {\"os\": \"$OS\", \"pkg\": \"$PKG\", \"shell\": \"$(basename $SHELL)\"}}";fi;
(base) zhanx0q@login3:~> INSTALL_TMUX='set -e;on_error() { local _msg=$(printf "{\"hook\": \"TmuxInstallFailed\", \"value\": { \"line\": \"$1\", \"command\": \"$2\" } }" | command -p od -An -v -tx1 | command -p tr -d " \n");printf '\''\033\120\044\144%s\234'\'' "$_msg";rm -rf "$HOME/.warp/tmux";};trap "on_error \"\${LINENO}\" \"\$BASH_COMMAND\"" ERR;mkdir -p "$HOME/.warp/tmux";zypper --non-interactive --pkg-cache-dir "$HOME/.warp/tmux" download tmux;zypper info --requires tmux | awk '\''/^Requires/ {flag=1; next} flag'\'' | xargs -- zypper --non-interactive --pkg-cache-dir "$HOME/.warp/tmux" download;for pkg in $HOME/.warp/tmux/repo-oss/$(uname -m)/*.rpm; do if ! rpm2cpio $pkg | cpio -idv -D "$HOME/.warp/tmux"; then rpm2archive $pkg | tar -xzvf - -C "$HOME/.warp/tmux";fi;done;ARCHITECTURE=$(uname -m);if [[ "$ARCHITECTURE" == "x86_64" || "$ARCHITECTURE" == "aarch64" ]]; then LIB_PATH="$HOME/.warp/tmux/usr/lib64";else LIB_PATH="$HOME/.warp/tmux/usr/lib";fi;echo "LD_LIBRARY_PATH=\"$LIB_PATH:\$LD_LIBRARY_PATH\"; export LD_LIBRARY_PATH; TMUX_TMPDIR=\"$HOME/.warp/tmux\"; export TMUX_TMPDIR; $HOME/.warp/tmux/usr/bin/tmux \"\$@\";" > ~/.warp/tmux/execute_tmux.sh;chmod +x "$HOME/.warp/tmux/execute_tmux.sh"';bash <<< "$INSTALL_TMUX" && ~/.warp/tmux/execute_tmux.sh -CC && exit;
Loading repository data...
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Reading installed packages...
Argument resolves to no package: tmux
Nothing to do.

Warp Version

v0.2024.12.18.08.02.stable_05

Warp Internal (ignore) - linear-label:7a739baa-09c3-499e-a0c9-a1a16c090597

None

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

@Xiran-Zhang Xiran-Zhang added Bugs Bugs, Hangs, Crash, and Freezes SSH-tmux TMUX SSH related issues labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes SSH-tmux TMUX SSH related issues
Projects
None yet
Development

No branches or pull requests

1 participant