klaxalk / linux-setup

Custom Linux setup nicely integrating vim+tmux+i3+urxvt+zsh+athame
MIT License
68 stars 21 forks source link

installation gets stuck when installing zshell #91

Open bconvens opened 4 years ago

bconvens commented 4 years ago

When running ./install.sh the installation gets stuck when installing zshell. stuck_at_install_zshell When I enter "n" instead of default "y" all the rest of the installation succeeds. Any solutions to this? Thanks!

matemat13 commented 4 years ago

I assume the garbage text in the console is you, typing random stuff out of boredom :D

It seems that you have a connection problem presumably when downloading OhMyZsh (the command wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -). Can you try running the command separately? Or re-run the installation (you can run just the zsh installation by going to linux-setup/appconfig/zsh and running the install.sh script).

bconvens commented 4 years ago

When running install.sh from linux-setup/appconfig/zsh it fails: image image When running wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -separately does not work. But installing via curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" seems to solve the issue: image But when I then try to run install.sh, I get the same problem as before: image So I assume whenever I want to update the linux setup (and since it's advised to not just pull, but reinstall it), I have to manually press "n" such that it does not install zshell and continues installing the other packages? Thanks for the help!

matemat13 commented 4 years ago

Strange, I tried both commands just now and both work. What Ubuntu version are you on? What versions of wget and curl do you have (post the output of wget --version and curl --version)? Is it possible, that it's some kind of a connectivity issue? My versions of wget and curl are:

GNU Wget 1.19.4 built on linux-gnu.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls
+ntlm +opie +psl +ssl/openssl

Wgetrc:
    /etc/wgetrc (system)
Locale:
    /usr/share/locale
Compile:
    gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../../src -I../lib
    -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBSSL -DNDEBUG
    -g -O2 -fdebug-prefix-map=/build/wget-Xb5Z7Y/wget-1.19.4=.
    -fstack-protector-strong -Wformat -Werror=format-security
    -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall
Link:
    gcc -DHAVE_LIBSSL -DNDEBUG -g -O2
    -fdebug-prefix-map=/build/wget-Xb5Z7Y/wget-1.19.4=.
    -fstack-protector-strong -Wformat -Werror=format-security
    -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-Bsymbolic-functions
    -Wl,-z,relro -Wl,-z,now -lpcre -luuid -lidn2 -lssl -lcrypto -lpsl
    ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.

and

curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL