implemented prechecks, corrected variable exists checks

This commit is contained in:
fatalerrors
2021-06-28 10:57:32 +02:00
parent 41590c3cd8
commit 14de7b6ab2
13 changed files with 536 additions and 10 deletions

View File

@@ -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

View File

@@ -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 !

View File

@@ -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 !

View File

@@ -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

View File

@@ -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

View File

@@ -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).

View File

@@ -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 !

View File

@@ -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

View File

@@ -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 !