diff --git a/conf/init.conf.sh b/conf/init.conf.sh index cef23e5..3f0f12a 100644 --- a/conf/init.conf.sh +++ b/conf/init.conf.sh @@ -39,6 +39,11 @@ export X11_DRV="nvidia-drivers" # * lubuntu : bureau LXQT très léger export UBUNTU_FLAVOR=xubuntu +# Mode d'installation : +# * dev : installe les paquets un par un avec apt (lent) +# * full : envoie d'un seul coup la liste de tous les paquets à apt (rapide) +export INTALL_MODE=dev + # ------------------------------------------------------------------------------ # ------------------------- Section disque de calcul --------------------------- # ------------------------------------------------------------------------------ @@ -49,7 +54,7 @@ export CALCLEVEL="" # Liste de lecteurs à utiliser (voir dans /dev/disk/by-id) # Un seul tolléré pour Ext4 et XFS, plusieurs séparés par des espaces pour ZFS -export CALCDRV="/dev/disk/by-id/xxxxx" +export CALCDRV="/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA21C16SSC0UGHKE77XZ-0:0" # Doit on forcer l'effacement du disque ? export FORCEBLANK="no" diff --git a/init.sh b/init.sh index cac4ad0..79837c3 100755 --- a/init.sh +++ b/init.sh @@ -129,7 +129,6 @@ for opt in $@; do ;; "-m"|"--module") want_module=true - prnt W "Une liste de modules manuelle sera utilisé. $want_module" ;; "-c"|"--check-only") export CHECK_ONLY=true @@ -228,5 +227,19 @@ if [[ $RESUME == true ]]; then ) fi +# Configure module list +if [[ $MANUAL_MODULE_LIST ]]; then + prnt W "Une liste de modules manuelle sera utilisé." + export MODULE_LIST=$(echo $MANUAL_MODULE_LIST | sed "s/,/ /g") +fi + +# Run prechecks +[[ JUMP != true ]] && for mod in $MODULE_LIST; do + . modules/$mod.sh + version=VER_$mod + prnt I "Vérification initiale pour $mod version ${!version}..." + precheck_$mod +done + prnt I "That's all folks !" echo "Après vérification des logs, vous devriez redémarrer la machine..." diff --git a/log/init-isarog-2021-06-25-190404+0200.log b/log/init-isarog-2021-06-25-190404+0200.log new file mode 100644 index 0000000..41690dd --- /dev/null +++ b/log/init-isarog-2021-06-25-190404+0200.log @@ -0,0 +1,3 @@ +ven. 25 juin 2021 19:04:04 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:04:04 CEST [ info ] Une configuration générique sera utilisé. +./init.sh: ligne 239: Vérification initiale pour $mod version ${!VER_$mod}... : mauvaise substitution diff --git a/log/init-isarog-2021-06-25-190506+0200.log b/log/init-isarog-2021-06-25-190506+0200.log new file mode 100644 index 0000000..ae02155 --- /dev/null +++ b/log/init-isarog-2021-06-25-190506+0200.log @@ -0,0 +1,4 @@ +ven. 25 juin 2021 19:05:06 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:05:06 CEST [ info ] Une configuration générique sera utilisé. +./init.sh: ligne 239 : local: utilisable seulement dans une fonction +ven. 25 juin 2021 19:05:06 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! diff --git a/log/init-isarog-2021-06-25-190523+0200.log b/log/init-isarog-2021-06-25-190523+0200.log new file mode 100644 index 0000000..ff132c6 --- /dev/null +++ b/log/init-isarog-2021-06-25-190523+0200.log @@ -0,0 +1,5 @@ +ven. 25 juin 2021 19:05:23 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:05:23 CEST [ info ] Une configuration générique sera utilisé. +ven. 25 juin 2021 19:05:23 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... +ven. 25 juin 2021 19:05:23 CEST [ info ] Vérification du réseau... +ven. 25 juin 2021 19:05:24 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! diff --git a/log/init-isarog-2021-06-25-190724+0200.log b/log/init-isarog-2021-06-25-190724+0200.log new file mode 100644 index 0000000..b701c01 --- /dev/null +++ b/log/init-isarog-2021-06-25-190724+0200.log @@ -0,0 +1,158 @@ ++ prnt I 'Chargement de la configuration...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:07:24 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Chargement de la configuration...' +ven. 25 juin 2021 19:07:24 CEST [ info ] Chargement de la configuration... ++ [[ -e ./conf/isarog.conf ]] ++ [[ -e ./conf/init.conf.sh ]] ++ prnt I 'Une configuration générique sera utilisé.' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:07:24 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Une configuration générique sera utilisé.' +ven. 25 juin 2021 19:07:24 CEST [ info ] Une configuration générique sera utilisé. ++ . ./conf/init.conf.sh +++ . ./conf/includes/legos.conf.sh ++++ export MAINDOM=legos.obs-mip.fr ++++ MAINDOM=legos.obs-mip.fr ++++ export PROXYAPT=acng.legos.obs-mip.fr ++++ PROXYAPT=acng.legos.obs-mip.fr ++++ export PROXYAPTPORT=3142 ++++ PROXYAPTPORT=3142 ++++ export PROXYSRV=proxy.legos.obs-mip.fr ++++ PROXYSRV=proxy.legos.obs-mip.fr ++++ export PROXYSRVPORT=3128 ++++ PROXYSRVPORT=3128 ++++ export 'RMLIST=apparmor laptop-detect resolvconf' ++++ RMLIST='apparmor laptop-detect resolvconf' ++++ export 'APTBLACKLIST=apparmor chafa resolvconf' ++++ APTBLACKLIST='apparmor chafa resolvconf' ++++ export 'LOCALESET=en_US.UTF-8 fr_FR.UTF-8' ++++ LOCALESET='en_US.UTF-8 fr_FR.UTF-8' ++++ export SYSLOCALE=fr_FR.UTF-8 ++++ SYSLOCALE=fr_FR.UTF-8 ++++ export CALCTYPE=zfs ++++ CALCTYPE=zfs ++++ export 'NTPSERVERS=ntp1 ntp2' ++++ NTPSERVERS='ntp1 ntp2' +++ . ./conf/includes/debian.conf.sh ++++ export PKG_MAN=apt-get ++++ PKG_MAN=apt-get ++++ export 'COM_INSTALL=install -y' ++++ COM_INSTALL='install -y' ++++ export COM_UPDATE=update ++++ COM_UPDATE=update ++++ export 'COM_UPGRADE=full-upgrade -y' ++++ COM_UPGRADE='full-upgrade -y' ++++ export 'COM_REMOVE=remove --purge -y' ++++ COM_REMOVE='remove --purge -y' ++++ export 'COM_AUTOREM=autoremove --purge -y' ++++ COM_AUTOREM='autoremove --purge -y' ++++ export RC_SCRIPTS_PATH=/etc/init.d ++++ RC_SCRIPTS_PATH=/etc/init.d ++++ export 'INIT_COM=service %srv% %com%' ++++ INIT_COM='service %srv% %com%' +++ . ./conf/includes/pkgsel.conf.sh ++++ export 'PKGS_BASE=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ PKGS_BASE='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ export 'PKGS_BUR=gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ PKGS_BUR='gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ export 'PKGS_FONTS=ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ PKGS_FONTS='ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ export 'PKGS_GRAF=imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ PKGS_GRAF='imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ export 'PKGS_MULTI=alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ PKGS_MULTI='alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ export 'PKGS_SCI=python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ PKGS_SCI='python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ export 'PKGS_PRGM=libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ PKGS_PRGM='libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ export 'PKGS_TEX=auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ PKGS_TEX='auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ export 'PKGS_TOOLS=asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGS_TOOLS='asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ export 'PKGSEL=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGSEL='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' +++ export MAINUSER=levasseur +++ MAINUSER=levasseur +++ export MAINIF=eth0 +++ MAINIF=eth0 +++ export WITH_VM=true +++ WITH_VM=true +++ export X11_DRV=nvidia-drivers +++ X11_DRV=nvidia-drivers +++ export UBUNTU_FLAVOR=xubuntu +++ UBUNTU_FLAVOR=xubuntu +++ export CALCLEVEL= +++ CALCLEVEL= +++ export CALCDRV=/dev/disk/by-id/xxxxx +++ CALCDRV=/dev/disk/by-id/xxxxx +++ export FORCEBLANK=no +++ FORCEBLANK=no +++ export 'MODULE_LIST=upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' +++ MODULE_LIST='upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ -n '' ]] ++ [[ JUMP != true ]] ++ for mod in $MODULE_LIST ++ . modules/upgrade_dist.sh +++ export VER_upgrade_dist=0.0.3 +++ VER_upgrade_dist=0.0.3 +++ export -f upgrade_dist +++ export -f precheck_upgrade_dist ++ version=VER_upgrade_dist ++ prnt I 'Vérification initiale pour upgrade_dist version 0.0.3...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:07:24 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification initiale pour upgrade_dist version 0.0.3...' +ven. 25 juin 2021 19:07:24 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... ++ precheck_upgrade_dist ++ prnt I 'Vérification du réseau...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:07:24 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification du réseau...' +ven. 25 juin 2021 19:07:24 CEST [ info ] Vérification du réseau... ++ wget -q --tries=10 --timeout=20 --spider http://google.com ++ [[ ! 0 -eq 0 ]] ++ [[ -n acng.legos.obs-mip.fr ]] ++ [[ ! -n 3142 ]] +++ error 57 +++ local error_code=1 +++ [[ 1 == 0 ]] +++ local i=0 +++ local regex= +++ local mem= +++ local error_file= +++ local error_lineno= +++ local lineno=57 +++ shift +++ prnt E '\e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +++ case $1 in +++ HEADS='[ \e[0;91mERREUR\e[0;39m ]' +++ shift ++++ date +++ echo -e '\e[0;97mven. 25 juin 2021 19:07:24 CEST\e[0;39m [ \e[0;91mERREUR\e[0;39m ] \e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +ven. 25 juin 2021 19:07:24 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! +++ backtrace 2 +++ local _start_from_=0 +++ params=('2') +++ local params +++ (( 1 >= 1 )) +++ _start_from_=2 +++ local i=0 +++ local first=false +++ local last=false +++ caller 0 +++ [[ -n 2 ]] +++ (( 0 + 1 >= 2 )) +++ (( i=i++ )) ++ exec diff --git a/log/init-isarog-2021-06-25-191619+0200.log b/log/init-isarog-2021-06-25-191619+0200.log new file mode 100644 index 0000000..982bad7 --- /dev/null +++ b/log/init-isarog-2021-06-25-191619+0200.log @@ -0,0 +1,158 @@ +ven. 25 juin 2021 19:16:19 CEST [ info ] Chargement de la configuration... ++ prnt I 'Chargement de la configuration...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:16:19 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Chargement de la configuration...' ++ [[ -e ./conf/isarog.conf ]] ++ [[ -e ./conf/init.conf.sh ]] ++ prnt I 'Une configuration générique sera utilisé.' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:16:19 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Une configuration générique sera utilisé.' +ven. 25 juin 2021 19:16:19 CEST [ info ] Une configuration générique sera utilisé. ++ . ./conf/init.conf.sh +++ . ./conf/includes/legos.conf.sh ++++ export MAINDOM=legos.obs-mip.fr ++++ MAINDOM=legos.obs-mip.fr ++++ export PROXYAPT=acng.legos.obs-mip.fr ++++ PROXYAPT=acng.legos.obs-mip.fr ++++ export PROXYAPTPORT=3142 ++++ PROXYAPTPORT=3142 ++++ export PROXYSRV=proxy.legos.obs-mip.fr ++++ PROXYSRV=proxy.legos.obs-mip.fr ++++ export PROXYSRVPORT=3128 ++++ PROXYSRVPORT=3128 ++++ export 'RMLIST=apparmor laptop-detect resolvconf' ++++ RMLIST='apparmor laptop-detect resolvconf' ++++ export 'APTBLACKLIST=apparmor chafa resolvconf' ++++ APTBLACKLIST='apparmor chafa resolvconf' ++++ export 'LOCALESET=en_US.UTF-8 fr_FR.UTF-8' ++++ LOCALESET='en_US.UTF-8 fr_FR.UTF-8' ++++ export SYSLOCALE=fr_FR.UTF-8 ++++ SYSLOCALE=fr_FR.UTF-8 ++++ export CALCTYPE=zfs ++++ CALCTYPE=zfs ++++ export 'NTPSERVERS=ntp1 ntp2' ++++ NTPSERVERS='ntp1 ntp2' +++ . ./conf/includes/debian.conf.sh ++++ export PKG_MAN=apt-get ++++ PKG_MAN=apt-get ++++ export 'COM_INSTALL=install -y' ++++ COM_INSTALL='install -y' ++++ export COM_UPDATE=update ++++ COM_UPDATE=update ++++ export 'COM_UPGRADE=full-upgrade -y' ++++ COM_UPGRADE='full-upgrade -y' ++++ export 'COM_REMOVE=remove --purge -y' ++++ COM_REMOVE='remove --purge -y' ++++ export 'COM_AUTOREM=autoremove --purge -y' ++++ COM_AUTOREM='autoremove --purge -y' ++++ export RC_SCRIPTS_PATH=/etc/init.d ++++ RC_SCRIPTS_PATH=/etc/init.d ++++ export 'INIT_COM=service %srv% %com%' ++++ INIT_COM='service %srv% %com%' +++ . ./conf/includes/pkgsel.conf.sh ++++ export 'PKGS_BASE=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ PKGS_BASE='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ export 'PKGS_BUR=gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ PKGS_BUR='gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ export 'PKGS_FONTS=ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ PKGS_FONTS='ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ export 'PKGS_GRAF=imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ PKGS_GRAF='imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ export 'PKGS_MULTI=alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ PKGS_MULTI='alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ export 'PKGS_SCI=python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ PKGS_SCI='python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ export 'PKGS_PRGM=libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ PKGS_PRGM='libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ export 'PKGS_TEX=auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ PKGS_TEX='auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ export 'PKGS_TOOLS=asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGS_TOOLS='asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ export 'PKGSEL=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGSEL='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' +++ export MAINUSER=levasseur +++ MAINUSER=levasseur +++ export MAINIF=eth0 +++ MAINIF=eth0 +++ export WITH_VM=true +++ WITH_VM=true +++ export X11_DRV=nvidia-drivers +++ X11_DRV=nvidia-drivers +++ export UBUNTU_FLAVOR=xubuntu +++ UBUNTU_FLAVOR=xubuntu +++ export CALCLEVEL= +++ CALCLEVEL= +++ export CALCDRV=/dev/disk/by-id/xxxxx +++ CALCDRV=/dev/disk/by-id/xxxxx +++ export FORCEBLANK=no +++ FORCEBLANK=no +++ export 'MODULE_LIST=upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' +++ MODULE_LIST='upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ -n '' ]] ++ [[ JUMP != true ]] ++ for mod in $MODULE_LIST ++ . modules/upgrade_dist.sh +++ export VER_upgrade_dist=0.0.3 +++ VER_upgrade_dist=0.0.3 +++ export -f upgrade_dist +++ export -f precheck_upgrade_dist ++ version=VER_upgrade_dist ++ prnt I 'Vérification initiale pour upgrade_dist version 0.0.3...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:16:19 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification initiale pour upgrade_dist version 0.0.3...' +ven. 25 juin 2021 19:16:19 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... ++ precheck_upgrade_dist ++ prnt I 'Vérification du réseau...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date +ven. 25 juin 2021 19:16:19 CEST [ info ] Vérification du réseau... ++ echo -e '\e[0;97mven. 25 juin 2021 19:16:19 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification du réseau...' ++ wget -q --tries=10 --timeout=20 --spider http://google.com ++ [[ ! 0 -eq 0 ]] ++ [[ -n acng.legos.obs-mip.fr ]] ++ [[ ! -n 3142 ]] +++ error 57 +++ local error_code=1 +++ [[ 1 == 0 ]] +++ local i=0 +++ local regex= +++ local mem= +++ local error_file= +++ local error_lineno= +++ local lineno=57 +++ shift +++ prnt E '\e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +++ case $1 in +++ HEADS='[ \e[0;91mERREUR\e[0;39m ]' +++ shift ++++ date +++ echo -e '\e[0;97mven. 25 juin 2021 19:16:19 CEST\e[0;39m [ \e[0;91mERREUR\e[0;39m ] \e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +ven. 25 juin 2021 19:16:19 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! +++ backtrace 2 +++ local _start_from_=0 +++ params=('2') +++ local params +++ (( 1 >= 1 )) +++ _start_from_=2 +++ local i=0 +++ local first=false +++ local last=false +++ caller 0 +++ [[ -n 2 ]] +++ (( 0 + 1 >= 2 )) +++ (( i=i++ )) ++ exec diff --git a/log/init-isarog-2021-06-25-191841+0200.log b/log/init-isarog-2021-06-25-191841+0200.log new file mode 100644 index 0000000..6e30fe2 --- /dev/null +++ b/log/init-isarog-2021-06-25-191841+0200.log @@ -0,0 +1,8 @@ +ven. 25 juin 2021 19:18:41 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:18:41 CEST [ info ] Une configuration générique sera utilisé. +ven. 25 juin 2021 19:18:41 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... +ven. 25 juin 2021 19:18:41 CEST [ info ] Vérification du réseau... +ven. 25 juin 2021 19:18:41 CEST [ info ] Vérification initiale pour conf_disks version 0.0.5... +ven. 25 juin 2021 19:18:41 CEST [ info ] Vérification des lecteurs pour disque de calcul. +ven. 25 juin 2021 19:18:41 CEST [ ERREUR ] Le disque /dev/disk/by-id/xxxxx n'existe pas. Abandon. +ven. 25 juin 2021 19:18:41 CEST [ ERREUR ] Sortie prématuré avec erreur (code #5). diff --git a/log/init-isarog-2021-06-25-192016+0200.log b/log/init-isarog-2021-06-25-192016+0200.log new file mode 100644 index 0000000..377406f --- /dev/null +++ b/log/init-isarog-2021-06-25-192016+0200.log @@ -0,0 +1,10 @@ +ven. 25 juin 2021 19:20:16 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:20:16 CEST [ info ] Une configuration générique sera utilisé. +ven. 25 juin 2021 19:20:16 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... +ven. 25 juin 2021 19:20:16 CEST [ info ] Vérification du réseau... +ven. 25 juin 2021 19:20:16 CEST [ info ] Vérification initiale pour conf_disks version 0.0.5... +ven. 25 juin 2021 19:20:16 CEST [ info ] Vérification des lecteurs pour disque de calcul. +ven. 25 juin 2021 19:20:16 CEST [Attention] Le disque /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA21C16SSC0UGHKE77XZ-0:0 n'est pas vierge ! +ven. 25 juin 2021 19:20:16 CEST [Attention] Le disque /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA21C16SSC0UGHKE77XZ-0:0 sera réinitialisé ! +ven. 25 juin 2021 19:20:16 CEST [ info ] Vérification initiale pour conf_locale version 0.0.2... +ven. 25 juin 2021 19:20:16 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! diff --git a/log/init-isarog-2021-06-25-192522+0200.log b/log/init-isarog-2021-06-25-192522+0200.log new file mode 100644 index 0000000..dbfeb62 --- /dev/null +++ b/log/init-isarog-2021-06-25-192522+0200.log @@ -0,0 +1,159 @@ +ven. 25 juin 2021 19:25:22 CEST [ info ] Chargement de la configuration... ++ prnt I 'Chargement de la configuration...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:25:22 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Chargement de la configuration...' ++ [[ -e ./conf/isarog.conf ]] ++ [[ -e ./conf/init.conf.sh ]] ++ prnt I 'Une configuration générique sera utilisé.' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:25:22 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Une configuration générique sera utilisé.' +ven. 25 juin 2021 19:25:22 CEST [ info ] Une configuration générique sera utilisé. ++ . ./conf/init.conf.sh +++ . ./conf/includes/legos.conf.sh ++++ export MAINDOM=legos.obs-mip.fr ++++ MAINDOM=legos.obs-mip.fr ++++ export PROXYAPT=acng.legos.obs-mip.fr ++++ PROXYAPT=acng.legos.obs-mip.fr ++++ export PROXYAPTPORT=3142 ++++ PROXYAPTPORT=3142 ++++ export PROXYSRV=proxy.legos.obs-mip.fr ++++ PROXYSRV=proxy.legos.obs-mip.fr ++++ export PROXYSRVPORT=3128 ++++ PROXYSRVPORT=3128 ++++ export 'RMLIST=apparmor laptop-detect resolvconf' ++++ RMLIST='apparmor laptop-detect resolvconf' ++++ export 'APTBLACKLIST=apparmor chafa resolvconf' ++++ APTBLACKLIST='apparmor chafa resolvconf' ++++ export 'LOCALESET=en_US.UTF-8 fr_FR.UTF-8' ++++ LOCALESET='en_US.UTF-8 fr_FR.UTF-8' ++++ export SYSLOCALE=fr_FR.UTF-8 ++++ SYSLOCALE=fr_FR.UTF-8 ++++ export CALCTYPE=zfs ++++ CALCTYPE=zfs ++++ export 'NTPSERVERS=ntp1 ntp2' ++++ NTPSERVERS='ntp1 ntp2' +++ . ./conf/includes/debian.conf.sh ++++ export PKG_MAN=apt-get ++++ PKG_MAN=apt-get ++++ export 'COM_INSTALL=install -y' ++++ COM_INSTALL='install -y' ++++ export COM_UPDATE=update ++++ COM_UPDATE=update ++++ export 'COM_UPGRADE=full-upgrade -y' ++++ COM_UPGRADE='full-upgrade -y' ++++ export 'COM_REMOVE=remove --purge -y' ++++ COM_REMOVE='remove --purge -y' ++++ export 'COM_AUTOREM=autoremove --purge -y' ++++ COM_AUTOREM='autoremove --purge -y' ++++ export RC_SCRIPTS_PATH=/etc/init.d ++++ RC_SCRIPTS_PATH=/etc/init.d ++++ export 'INIT_COM=service %srv% %com%' ++++ INIT_COM='service %srv% %com%' +++ . ./conf/includes/pkgsel.conf.sh ++++ export 'PKGS_BASE=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ PKGS_BASE='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc' ++++ export 'PKGS_BUR=gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ PKGS_BUR='gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n' ++++ export 'PKGS_FONTS=ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ PKGS_FONTS='ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern' ++++ export 'PKGS_GRAF=imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ PKGS_GRAF='imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape' ++++ export 'PKGS_MULTI=alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ PKGS_MULTI='alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc' ++++ export 'PKGS_SCI=python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ PKGS_SCI='python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share' ++++ export 'PKGS_PRGM=libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ PKGS_PRGM='libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev' ++++ export 'PKGS_TEX=auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ PKGS_TEX='auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science' ++++ export 'PKGS_TOOLS=asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGS_TOOLS='asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ export 'PKGSEL=debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' ++++ PKGSEL='debconf-utils debhelper deborphan ethtool hardinfo cpufrequtils hwinfo lm-sensors libatasmart-bin lsscsi pciutils environment-modules vim emacs mailutils htop lsof ltrace strace sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz xz-utils zip unzip p7zip-full p7zip-rar unrar plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap nscd oping pv whois traceroute rsync perl-doc gv ps2eps pstoedit html2ps xpdf pdfshuffler pdftk libreoffice freeplane zim xpad firefox-esr okular thunderbird owncloud-client owncloud-client-l10n ttf-mscorefonts-installer fonts-sil-gentium ttf-bitstream-vera lmodern imagemagick xfig transfig netpbm gifsicle graphviz gimp ufraw gimp-ufraw dcraw gnuplot-x11 gnuplot-doc python-imaging libtiff-opengl xfig-libs geeqie dvipng inkscape alsa-utils alsa-tools pulseaudio-utils pulseaudio pavucontrol rhythmbox rhythmbox-plugins totem totem-plugins vlc vlc-plugin-pulse vlc-plugin-notify mplayer2 gstreamer1.0-plugins-ugly ffmpeg ffmpeg-doc python-scipy python-numpy python-matplotlib python-matplotlib-data python-matplotlib-doc python-matplotlib-dbg python-mpltoolkits.basemap python-mpltoolkits.basemap-data python-mpltoolkits.basemap-doc netcdf-bin netcdf-doc python-netcdf nco cdo hdfview gdal-bin python-gdal ncview gsl-bin pgplot5 libatlas3-base fftw2 libshp2 liblog4c3 scilab scilab-doc grass grass-doc qgis qgis-plugin-grass python-qgis grads grace proj-bin proj-data gmt-gshhg gmt gmt-doc gmt-doc-pdf gmt-examples gmt-tutorial ncview r-base rkward rstudio maxima maxima-share libnetcdf-dev libfftw3-dev libgsl0-dev libblas-dev liblapack-dev libgeos-dev libhdf4-dev libarpack2-dev libgrib-api-dev libatlas-dev libatlas-base-dev libshp-dev liblog4c-dev libsuitesparse-dev libscalapack-mpi-dev libscotch-dev liboctave-dev libproj-dev automake autoconf cmake cmake-qt-gui swig swig-doc swig-examples tcsh ocaml ocaml-mode guile-2.0 guile-2.0-doc tcl expect dejagnu bison flex gdb g++ libtool gfortran gfortran-doc python python-doc ddd valgrind electric-fence kdevelop kdevelop-dev mercurial kdesvn git gitk git-doc git-svn subversion tortoisehg libgmp-dev libx11-dev libxt-dev libxaw7-dev libcurl4-openssl-dev libxml2-dev libgtk2.0-dev libdbd-sqlite3-perl libclass-std-perl libdbi-perl libqt-dev libantlr-dev libudunits2-dev libqwt5-qt5-dev libmpich-dev manpages-dev libjs-jquery libmotif-dev libbz2-dev libreadline-dev libreadline6-dev libhdf5-dev libwxgtk3.0-dev wx3.0-headers unixodbc-dev libqt5-dev python-dev python-tk ipython python-egenix-mxdatetime python-tz python-pyparsing python-dateutil python-wxgtk3.0 python-qwt5-qt5 python-opencv opencv-doc python-subvertpy xclip patch parallel xmlindent mpich mpich-doc libpng12-dev libjasper-dev libtiff5-dev libboost-dev libboost-graph-dev auctex texinfo texlive-base texlive-extra-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-font-utils texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc texlive-publishers-doc latex-beamer latex-xcolor texmaker tex4ht texworks writer2latex writer2latex-manual texlive-latex-extra latex2rtf-doc latex2rtf texlive-bibtex-extra texlive-xetex lacheck kile kile-doc pgf tipa prosper jabref fonts-lyx texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-spanish texlive-science asciidoc docbook-utils doxygen help2man python-sphinx python3-sphinx tidy ncftp filezilla openjdk-8-jre' +++ export MAINUSER=levasseur +++ MAINUSER=levasseur +++ export MAINIF=eth0 +++ MAINIF=eth0 +++ export WITH_VM=true +++ WITH_VM=true +++ export X11_DRV=nvidia-drivers +++ X11_DRV=nvidia-drivers +++ export UBUNTU_FLAVOR=xubuntu +++ UBUNTU_FLAVOR=xubuntu +++ export INTALL_MODE=dev +++ INTALL_MODE=dev +++ export CALCLEVEL= +++ CALCLEVEL= +++ export CALCDRV=/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA21C16SSC0UGHKE77XZ-0:0 +++ CALCDRV=/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AA21C16SSC0UGHKE77XZ-0:0 +++ export FORCEBLANK=no +++ FORCEBLANK=no +++ export 'MODULE_LIST=upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' +++ MODULE_LIST='upgrade_dist conf_disks conf_locale conf_ntp conf_ssh install_desktop install_pkg' ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ false == true ]] ++ [[ -n '' ]] ++ [[ JUMP != true ]] ++ for mod in $MODULE_LIST ++ . modules/upgrade_dist.sh +++ export VER_upgrade_dist=0.0.3 +++ VER_upgrade_dist=0.0.3 +++ export -f upgrade_dist +++ export -f precheck_upgrade_dist ++ version=VER_upgrade_dist ++ prnt I 'Vérification initiale pour upgrade_dist version 0.0.3...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:25:22 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification initiale pour upgrade_dist version 0.0.3...' +ven. 25 juin 2021 19:25:22 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... ++ precheck_upgrade_dist ++ prnt I 'Vérification du réseau...' ++ case $1 in ++ HEADS='[ \e[0;92minfo\e[0;39m ]' ++ shift +++ date ++ echo -e '\e[0;97mven. 25 juin 2021 19:25:22 CEST\e[0;39m [ \e[0;92minfo\e[0;39m ] Vérification du réseau...' +ven. 25 juin 2021 19:25:22 CEST [ info ] Vérification du réseau... ++ wget -q --tries=10 --timeout=20 --spider http://google.com ++ [[ ! 0 -eq 0 ]] ++ [[ -z acng.legos.obs-mip.fr ]] +++ error 57 +++ local error_code=1 +++ [[ 1 == 0 ]] +++ local i=0 +++ local regex= +++ local mem= +++ local error_file= +++ local error_lineno= +++ local lineno=57 +++ shift +++ prnt E '\e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +++ case $1 in +++ HEADS='[ \e[0;91mERREUR\e[0;39m ]' +++ shift ++++ date +++ echo -e '\e[0;97mven. 25 juin 2021 19:25:22 CEST\e[0;39m [ \e[0;91mERREUR\e[0;39m ] \e[1;97m*** \e[1;91mUne erreur fatale est intervenue, le script va s'\''arrêter immédiatement !\e[0;49m\e[0;39m' +ven. 25 juin 2021 19:25:22 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! +++ backtrace 2 +++ local _start_from_=0 +++ params=('2') +++ local params +++ (( 1 >= 1 )) +++ _start_from_=2 +++ local i=0 +++ local first=false +++ local last=false +++ caller 0 +++ [[ -n 2 ]] +++ (( 0 + 1 >= 2 )) +++ (( i=i++ )) ++ exec diff --git a/log/init-isarog-2021-06-25-192536+0200.log b/log/init-isarog-2021-06-25-192536+0200.log new file mode 100644 index 0000000..c3d0fc9 --- /dev/null +++ b/log/init-isarog-2021-06-25-192536+0200.log @@ -0,0 +1,5 @@ +ven. 25 juin 2021 19:25:36 CEST [ info ] Chargement de la configuration... +ven. 25 juin 2021 19:25:36 CEST [ info ] Une configuration générique sera utilisé. +ven. 25 juin 2021 19:25:36 CEST [ info ] Vérification initiale pour upgrade_dist version 0.0.3... +ven. 25 juin 2021 19:25:36 CEST [ info ] Vérification du réseau... +ven. 25 juin 2021 19:25:36 CEST [ ERREUR ] *** Une erreur fatale est intervenue, le script va s'arrêter immédiatement ! diff --git a/modules/conf_locale.sh b/modules/conf_locale.sh index 9a7f84f..ec3c555 100644 --- a/modules/conf_locale.sh +++ b/modules/conf_locale.sh @@ -26,8 +26,8 @@ conf_locale() precheck_conf_locale() { - [[ ! $LOCALESET ]] && prnt W "Aucune locale définie !" - [[ ! $SYSLOCALE ]] && prnt W "Pas de locale systême définie, C sera utilié." + [[ ! -z $LOCALESET ]] && prnt W "Aucune locale définie !" + [[ ! -z $SYSLOCALE ]] && prnt W "Pas de locale systême définie, C sera utilié." } export -f conf_locale diff --git a/modules/upgrade_dist.sh b/modules/upgrade_dist.sh index 9b9c582..3eb0319 100644 --- a/modules/upgrade_dist.sh +++ b/modules/upgrade_dist.sh @@ -39,12 +39,10 @@ precheck_upgrade_dist() prnt E "Réseau non fonctionnel ! Abandon." die 5 fi - if [[ $PROXYAPT ]]; then - [[ ! $PROXYAPTPORT ]] && ( - prnt E "Un serveur proxy a été spécifié mais pas son port d'usage." - die 5 - ) - fi + [[ -z $PROXYAPT && ! -z $PROXYAPTPORT ]] && ( + prnt E "Un serveur proxy a été spécifié mais pas son port d'usage." + die 5 + ) }