無法解決的報錯問題,不知道是否是Linux子系統(tǒng)的問題

1. 問題來源

  1. 系統(tǒng)環(huán)境:WINDOWS10 子系統(tǒng) Ubuntu-18.04 LTS
  2. Anaconda環(huán)境:Anaconda3-2020.07-Linux-x86_64
  3. 最初的報錯及其描述:

(1)創(chuàng)建一個新環(huán)境并嘗試安裝R4.0:

(pytorch) wangyue@LAPTOP-FMOR2BIN:$ conda create -n R_env python=3.6
(pytorch) wangyue@LAPTOP-FMOR2BIN:$ conda activate R_env
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda config --set show_channel_urls yes
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda config --show
(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda search R
Loading channels: done
# Name                       Version           Build  Channel
r                              3.1.2               0  pkgs/r
r                              3.1.2               0  pkgs/r
r                              3.1.2               1  pkgs/r
r                              3.1.2               1  pkgs/r
r                              3.1.2               2  pkgs/r
r                              3.1.2               2  pkgs/r
r                              3.1.2               3  pkgs/r
r                              3.1.2               3  pkgs/r
r                              3.1.3               0  pkgs/r
r                              3.1.3               0  pkgs/r
r                              3.2.0               0  pkgs/r
r                              3.2.0               0  pkgs/r
r                              3.2.1               0  pkgs/r
r                              3.2.1               0  pkgs/r
r                              3.2.2               0  pkgs/r
r                              3.2.2               0  pkgs/r
r                              3.3.1        r3.3.1_0  pkgs/r
r                              3.3.1        r3.3.1_0  pkgs/r
r                              3.3.1        r3.3.1_1  pkgs/r
r                              3.3.1        r3.3.1_1  pkgs/r
r                              3.3.2        r3.3.2_0  anaconda/cloud/conda-forge
r                              3.3.2        r3.3.2_0  pkgs/r
r                              3.3.2        r3.3.2_0  pkgs/r
r                              3.4.1        r3.4.1_0  anaconda/cloud/conda-forge
r                              3.4.1        r3.4.1_0  pkgs/r
r                              3.4.1        r3.4.1_0  pkgs/r
r                              3.4.2      h65d9972_0  pkgs/r
r                              3.4.2      h65d9972_0  pkgs/r
r                              3.4.3        mro343_0  pkgs/r
r                              3.4.3        mro343_0  pkgs/r
r                              3.4.3          r343_0  pkgs/r
r                              3.4.3          r343_0  pkgs/r
r                              3.5.0        mro350_0  pkgs/r
r                              3.5.0        mro350_0  pkgs/r
r                              3.5.0          r350_0  pkgs/r
r                              3.5.0          r350_0  pkgs/r
r                              3.5.1        mro351_0  pkgs/r
r                              3.5.1        mro351_0  pkgs/r
r                              3.5.1          r351_0  anaconda/cloud/conda-forge
r                              3.5.1          r351_0  pkgs/r
r                              3.5.1          r351_0  pkgs/r
r                              3.5.1       r351_1000  anaconda/cloud/conda-forge
r                              3.5.1        r35_1002  anaconda/cloud/conda-forge
r                              3.5.1        r35_1003  anaconda/cloud/conda-forge
r                              3.6.0           r36_0  pkgs/r
r                              3.6.0           r36_0  pkgs/r
r                                3.6        r36_1002  anaconda/cloud/conda-forge
r                                3.6        r36_1003  anaconda/cloud/conda-forge
r                                3.6        r36_1004  anaconda/cloud/conda-forge
r                                4.0        r40_1004  anaconda/cloud/conda-forge

使用conda安裝R4.0

(R_env) wangyue@LAPTOP-FMOR2BIN:$ conda install R=4.0
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.9.2

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /mnt/f/Linux/anaconda/envs/R_env

  added / updated specs:
    - r=4.0


The following NEW packages will be INSTALLED:

  _libgcc_mutex      anaconda/cloud/conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      anaconda/cloud/conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
  _r-mutex           anaconda/cloud/conda-forge/noarch::_r-mutex-1.0.1-anacondar_1
  binutils_impl_lin~ anaconda/cloud/conda-forge/linux-64::binutils_impl_linux-64-2.35.1-h17ad2fc_0
  binutils_linux-64  anaconda/cloud/conda-forge/linux-64::binutils_linux-64-2.35-hc3fd857_29
  bwidget            anaconda/cloud/conda-forge/linux-64::bwidget-1.9.14-ha770c72_0
  bzip2              anaconda/cloud/conda-forge/linux-64::bzip2-1.0.8-h516909a_3
  c-ares             anaconda/cloud/bioconda/linux-64::c-ares-1.11.0-h470a237_1
  ca-certificates    anaconda/cloud/conda-forge/linux-64::ca-certificates-2020.11.8-ha878542_0
  cairo              anaconda/cloud/conda-forge/linux-64::cairo-1.16.0-h9f066cc_1006
  curl               anaconda/cloud/conda-forge/linux-64::curl-7.71.1-he644dc0_8
  fontconfig         anaconda/cloud/conda-forge/linux-64::fontconfig-2.13.1-h7e3eb15_1002
  freetype           anaconda/cloud/conda-forge/linux-64::freetype-2.10.4-h7ca028e_0
  fribidi            anaconda/cloud/conda-forge/linux-64::fribidi-1.0.10-h36c2ea0_0
  gcc_impl_linux-64  anaconda/cloud/conda-forge/linux-64::gcc_impl_linux-64-9.3.0-h28f5a38_17
  gcc_linux-64       anaconda/cloud/conda-forge/linux-64::gcc_linux-64-9.3.0-h7247604_29
  gettext            anaconda/cloud/conda-forge/linux-64::gettext-0.19.8.1-hf34092f_1004
  gfortran_impl_lin~ anaconda/cloud/conda-forge/linux-64::gfortran_impl_linux-64-9.3.0-h2bb4189_17
  gfortran_linux-64  anaconda/cloud/conda-forge/linux-64::gfortran_linux-64-9.3.0-ha1c937c_29
  graphite2          anaconda/cloud/conda-forge/linux-64::graphite2-1.3.13-h58526e2_1001
  gsl                anaconda/cloud/conda-forge/linux-64::gsl-2.6-hf94e986_0
  gxx_impl_linux-64  anaconda/cloud/conda-forge/linux-64::gxx_impl_linux-64-9.3.0-h53cdd4c_17
  gxx_linux-64       anaconda/cloud/conda-forge/linux-64::gxx_linux-64-9.3.0-h0d07fa4_29
  harfbuzz           anaconda/cloud/conda-forge/linux-64::harfbuzz-2.7.2-ha5b49bf_1
  icu                anaconda/cloud/conda-forge/linux-64::icu-67.1-he1b5a44_0
  jpeg               anaconda/cloud/conda-forge/linux-64::jpeg-9d-h36c2ea0_0
  kernel-headers_li~ anaconda/cloud/conda-forge/noarch::kernel-headers_linux-64-2.6.32-h77966d4_13
  krb5               anaconda/cloud/conda-forge/linux-64::krb5-1.17.2-h926e7f8_0
  ld_impl_linux-64   anaconda/cloud/conda-forge/linux-64::ld_impl_linux-64-2.35.1-hed1e6ac_0
  libblas            anaconda/cloud/conda-forge/linux-64::libblas-3.9.0-2_openblas
  libcblas           anaconda/cloud/conda-forge/linux-64::libcblas-3.9.0-2_openblas
  libcurl            anaconda/cloud/conda-forge/linux-64::libcurl-7.71.1-hcdd3856_8
  libedit            anaconda/cloud/conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2
  libev              anaconda/cloud/conda-forge/linux-64::libev-4.33-h516909a_1
  libffi             anaconda/cloud/conda-forge/linux-64::libffi-3.2.1-he1b5a44_1007
  libgcc-devel_linu~ anaconda/cloud/conda-forge/linux-64::libgcc-devel_linux-64-9.3.0-hfd08b2a_17
  libgcc-ng          anaconda/cloud/conda-forge/linux-64::libgcc-ng-9.3.0-h5dbcf3e_17
  libgfortran-ng     anaconda/cloud/conda-forge/linux-64::libgfortran-ng-9.3.0-he4bcb1c_17
  libgfortran5       anaconda/cloud/conda-forge/linux-64::libgfortran5-9.3.0-he4bcb1c_17
  libglib            anaconda/cloud/conda-forge/linux-64::libglib-2.66.2-hbe7bbb4_0
  libgomp            anaconda/cloud/conda-forge/linux-64::libgomp-9.3.0-h5dbcf3e_17
  libiconv           anaconda/cloud/conda-forge/linux-64::libiconv-1.16-h516909a_0
  liblapack          anaconda/cloud/conda-forge/linux-64::liblapack-3.9.0-2_openblas
  libnghttp2         anaconda/cloud/conda-forge/linux-64::libnghttp2-1.41.0-hab1572f_1
  libopenblas        anaconda/cloud/conda-forge/linux-64::libopenblas-0.3.12-pthreads_h4812303_1
  libpng             anaconda/cloud/conda-forge/linux-64::libpng-1.6.37-h21135ba_2
  libssh2            anaconda/cloud/conda-forge/linux-64::libssh2-1.9.0-hab1572f_5
  libstdcxx-devel_l~ anaconda/cloud/conda-forge/linux-64::libstdcxx-devel_linux-64-9.3.0-h4084dd6_17
  libstdcxx-ng       anaconda/cloud/conda-forge/linux-64::libstdcxx-ng-9.3.0-h2ae2ef3_17
  libtiff            anaconda/cloud/conda-forge/linux-64::libtiff-4.1.0-h4f3a223_6
  libuuid            anaconda/cloud/conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libwebp-base       anaconda/cloud/conda-forge/linux-64::libwebp-base-1.1.0-h36c2ea0_3
  libxcb             anaconda/cloud/conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxml2            anaconda/cloud/conda-forge/linux-64::libxml2-2.9.10-h68273f3_2
  lz4-c              anaconda/cloud/conda-forge/linux-64::lz4-c-1.9.2-he1b5a44_3
  make               anaconda/cloud/conda-forge/linux-64::make-4.3-hd18ef5c_1
  ncurses            anaconda/cloud/conda-forge/linux-64::ncurses-6.2-h58526e2_4
  pango              anaconda/cloud/conda-forge/linux-64::pango-1.42.4-h80147aa_5
  pcre               anaconda/cloud/conda-forge/linux-64::pcre-8.44-he1b5a44_0
  pcre2              anaconda/cloud/conda-forge/linux-64::pcre2-10.35-h279444b_1
  pixman             anaconda/cloud/conda-forge/linux-64::pixman-0.40.0-h36c2ea0_0
  pthread-stubs      anaconda/cloud/conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  python_abi         anaconda/cloud/conda-forge/linux-64::python_abi-3.6-1_cp36m
  r                  anaconda/cloud/conda-forge/noarch::r-4.0-r40_1004
  r-base             anaconda/cloud/conda-forge/linux-64::r-base-4.0.3-hc603457_2
  r-boot             anaconda/cloud/conda-forge/noarch::r-boot-1.3_25-r40h6115d3f_1
  r-class            anaconda/cloud/conda-forge/linux-64::r-class-7.3_17-r40hcdcec82_1
  r-cluster          anaconda/cloud/conda-forge/linux-64::r-cluster-2.1.0-r40h580db52_4
  r-codetools        anaconda/cloud/conda-forge/noarch::r-codetools-0.2_18-r40hc72bb7e_0
  r-foreign          anaconda/cloud/conda-forge/linux-64::r-foreign-0.8_80-r40hcdcec82_0
  r-kernsmooth       anaconda/cloud/conda-forge/linux-64::r-kernsmooth-2.23_18-r40h742201e_0
  r-lattice          anaconda/cloud/conda-forge/linux-64::r-lattice-0.20_41-r40hcdcec82_2
  r-mass             anaconda/cloud/conda-forge/linux-64::r-mass-7.3_53-r40hcdcec82_0
  r-matrix           anaconda/cloud/conda-forge/linux-64::r-matrix-1.2_18-r40h7fa42b6_3
  r-mgcv             anaconda/cloud/conda-forge/linux-64::r-mgcv-1.8_33-r40h7fa42b6_0
  r-nlme             anaconda/cloud/conda-forge/linux-64::r-nlme-3.1_150-r40h580db52_0
  r-nnet             anaconda/cloud/conda-forge/linux-64::r-nnet-7.3_14-r40hcdcec82_1
  r-recommended      anaconda/cloud/conda-forge/noarch::r-recommended-4.0-r40_1004
  r-rpart            anaconda/cloud/conda-forge/linux-64::r-rpart-4.1_15-r40hcdcec82_2
  r-spatial          anaconda/cloud/conda-forge/linux-64::r-spatial-7.3_12-r40hcdcec82_1
  r-survival         anaconda/cloud/conda-forge/linux-64::r-survival-3.2_7-r40hcdcec82_0
  sed                anaconda/cloud/conda-forge/linux-64::sed-4.8-he412f7d_0
  sysroot_linux-64   anaconda/cloud/conda-forge/noarch::sysroot_linux-64-2.12-h77966d4_13
  tktable            anaconda/cloud/conda-forge/linux-64::tktable-2.10-hb7b940f_3
  xorg-kbproto       anaconda/cloud/conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        anaconda/cloud/conda-forge/linux-64::xorg-libice-1.0.10-h516909a_0
  xorg-libsm         anaconda/cloud/conda-forge/linux-64::xorg-libsm-1.2.3-h84519dc_1000
  xorg-libx11        anaconda/cloud/conda-forge/linux-64::xorg-libx11-1.6.12-h516909a_0
  xorg-libxau        anaconda/cloud/conda-forge/linux-64::xorg-libxau-1.0.9-h14c3975_0
  xorg-libxdmcp      anaconda/cloud/conda-forge/linux-64::xorg-libxdmcp-1.1.3-h516909a_0
  xorg-libxext       anaconda/cloud/conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    anaconda/cloud/conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-renderproto   anaconda/cloud/conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     anaconda/cloud/conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        anaconda/cloud/conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007
  zstd               anaconda/cloud/conda-forge/linux-64::zstd-1.4.5-h6597ccf_2

The following packages will be UPDATED:

  certifi               pkgs/free::certifi-2016.2.28-py36_0 --> anaconda/cloud/conda-forge::certifi-2020.11.8-py36h5fab9bb_0
  openssl                       pkgs/free::openssl-1.0.2l-0 --> anaconda/cloud/conda-forge::openssl-1.1.1h-h516909a_0
  python                          pkgs/free::python-3.6.2-0 --> anaconda/cloud/conda-forge::python-3.6.11-h4d41432_2_cpython
  readline                        pkgs/free::readline-6.2-2 --> anaconda/cloud/conda-forge::readline-8.0-he28a2e2_2
  sqlite                         pkgs/free::sqlite-3.13.0-0 --> anaconda/cloud/conda-forge::sqlite-3.33.0-h4cf870e_1
  tk                                 pkgs/free::tk-8.5.18-0 --> anaconda/cloud/conda-forge::tk-8.6.10-hed695b0_1
  xz                                  pkgs/free::xz-5.2.3-0 --> anaconda/cloud/conda-forge::xz-5.2.5-h516909a_1


Proceed ([y]/n)? y

然后會在Verifying transaction時失敗钧栖,并出現(xiàn)以下報錯低零。

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/exceptions.py", line 1079, in __call__
        return func(*args, **kwargs)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/cli/main.py", line 84, in _main
        exit_code = do_call(args, p)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
        return getattr(module, func_name)(args, parser)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/cli/main_install.py", line 20, in execute
        install(args, parser, 'install')
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/cli/install.py", line 317, in install
        handle_txn(unlink_link_transaction, prefix, args, newenv)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/cli/install.py", line 346, in handle_txn
        unlink_link_transaction.execute()
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/core/link.py", line 244, in execute
        self.verify()
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/common/io.py", line 88, in decorated
        return f(*args, **kwds)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/core/link.py", line 231, in verify
        exceptions = self._verify(self.prefix_setups, self.prefix_action_groups)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/core/link.py", line 590, in _verify
        for exc in self.verify_executor.map(UnlinkLinkTransaction._verify_individual_level,
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/common/io.py", line 525, in map
        yield func(thing)
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/core/link.py", line 411, in _verify_individual_level
        error_result = axn.verify()
      File "/mnt/f/Linux/anaconda/lib/python3.8/site-packages/conda/core/path_actions.py", line 323, in verify
        source_size_in_bytes = getsize(self.source_full_path)
      File "/mnt/f/Linux/anaconda/lib/python3.8/genericpath.py", line 50, in getsize
        return os.stat(filename).st_size
    OSError: [Errno 40] Too many levels of symbolic links: '/mnt/f/Linux/anaconda/pkgs/ncurses-6.2-h58526e2_4/share/terminfo/N/NCR260VT300WPP'

`$ /mnt/f/Linux/anaconda/bin/conda install r=4.0`

  environment variables:
                 CIO_TEST=<not set>
   CONDA_BACKUP_ADDR2LINE=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          addr2line
          CONDA_BACKUP_AR=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-ar
          CONDA_BACKUP_AS=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-as
          CONDA_BACKUP_CC=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-cc
      CONDA_BACKUP_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
                          strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_CMAKE_PREFIX_PATH=/mnt/f/Linux/anaconda/envs/pytorch:/mnt/f/Linux/anaconda/envs/pytorch/
                          x86_64-conda_cos6-linux-gnu/sysroot/usr
CONDA_BACKUP_CONDA_BUILD_SYSROOT=/mnt/f/Linux/anaconda/envs/pytorch/x86_64-conda_cos6-linux-gnu/sysroot
         CONDA_BACKUP_CPP=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-cpp
    CONDA_BACKUP_CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
         CONDA_BACKUP_CXX=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-c++
     CONDA_BACKUP_CXXFILT=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-
                          gnu-c++filt
    CONDA_BACKUP_CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0
                          -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
                          strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
                          all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments
                          -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0
                          -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
                          all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments
                          -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_DEBUG_FFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-
                          protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_DEBUG_FORTRANFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-
                          protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
     CONDA_BACKUP_ELFEDIT=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          elfedit
         CONDA_BACKUP_F77=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gfortran
         CONDA_BACKUP_F90=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gfortran
         CONDA_BACKUP_F95=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-f95
          CONDA_BACKUP_FC=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gfortran
      CONDA_BACKUP_FFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-
                          protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
CONDA_BACKUP_FORTRANFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-
                          protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem
                          /mnt/f/Linux/anaconda/envs/pytorch/include
         CONDA_BACKUP_GCC=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-gcc
      CONDA_BACKUP_GCC_AR=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gcc-ar
      CONDA_BACKUP_GCC_NM=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gcc-nm
  CONDA_BACKUP_GCC_RANLIB=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gcc-ranlib
    CONDA_BACKUP_GFORTRAN=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gfortran
       CONDA_BACKUP_GPROF=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          gprof
         CONDA_BACKUP_GXX=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-g++
        CONDA_BACKUP_HOST=x86_64-conda_cos6-linux-gnu
          CONDA_BACKUP_LD=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-ld
     CONDA_BACKUP_LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,
                          --disable-new-dtags -Wl,--gc-sections
                          -Wl,-rpath,/mnt/f/Linux/anaconda/envs/pytorch/lib -Wl,-rpath-
                          link,/mnt/f/Linux/anaconda/envs/pytorch/lib
                          -L/mnt/f/Linux/anaconda/envs/pytorch/lib
     CONDA_BACKUP_LD_GOLD=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          ld.gold
          CONDA_BACKUP_NM=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-nm
     CONDA_BACKUP_OBJCOPY=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          objcopy
     CONDA_BACKUP_OBJDUMP=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          objdump
      CONDA_BACKUP_RANLIB=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          ranlib
     CONDA_BACKUP_READELF=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          readelf
        CONDA_BACKUP_SIZE=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          size
     CONDA_BACKUP_STRINGS=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          strings
       CONDA_BACKUP_STRIP=/mnt/f/Linux/anaconda/envs/pytorch/bin/x86_64-conda_cos6-linux-gnu-
                          strip
CONDA_BACKUP__CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu
        CONDA_DEFAULT_ENV=R_env
                CONDA_EXE=/mnt/f/Linux/anaconda/bin/conda
             CONDA_PREFIX=/mnt/f/Linux/anaconda/envs/R_env
           CONDA_PREFIX_1=/mnt/f/Linux/anaconda
           CONDA_PREFIX_2=/mnt/f/Linux/anaconda/envs/pytorch
    CONDA_PROMPT_MODIFIER=(R_env)
         CONDA_PYTHON_EXE=/mnt/f/Linux/anaconda/bin/python
               CONDA_ROOT=/mnt/f/Linux/anaconda
              CONDA_SHLVL=3
                     PATH=/mnt/f/Linux/anaconda/bin:/mnt/f/Linux/anaconda/envs/R_env/bin:/mnt/f/
                          Linux/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/
                          bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/Window
                          sApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__
                          79rhkp1fndgsc:/mnt/c/Program Files/AdoptOpenJDK/jdk-11.0.7.10-hotspot/
                          bin:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbe
                          m:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System
                          32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA
                          Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA
                          Corporation/NVIDIA NvDLISR:/mnt/d/計算機軟件/putty:/mnt/d/software
                          files/MATLAB2016/runtime/win64:/mnt/d/software
                          files/MATLAB2016/bin:/mnt/d/software
                          files/MATLAB2016/polyspace/bin:/mnt/c/Program Files (x86)/Windows
                          Kits/8.1/Windows Performance Toolkit:/mnt/d/Anaconda3:/mnt/d/Anaconda3
                          /Library/mingw-w64/bin:/mnt/d/Anaconda3/Library/usr/bin:/mnt/d/Anacond
                          a3/Library/bin:/mnt/d/Anaconda3/Scripts:/mnt/c/Users/WangYue/AppData/L
                          ocal/Microsoft/WindowsApps:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : R_env
    active env location : /mnt/f/Linux/anaconda/envs/R_env
            shell level : 3
       user config file : /home/wangyue/.condarc
 populated config files : /home/wangyue/.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __glibc=2.27
       base environment : /mnt/f/Linux/anaconda  (writable)
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/r/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/r/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/pro/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/pro/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/msys2/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/msys2/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/mro/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/mro/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/free/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/free/noarch
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/main/linux-64
                          https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /mnt/f/Linux/anaconda/pkgs
                          /home/wangyue/.conda/pkgs
       envs directories : /mnt/f/Linux/anaconda/envs
                          /home/wangyue/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.24.0 CPython/3.8.3 Linux/4.4.0-18362-Microsoft ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?

[y/N]: N

判斷其中比較關(guān)鍵的提示有:

OSError: [Errno 40] Too many levels of symbolic links: '/mnt/f/Linux/anaconda/pkgs/ncurses-6.2-h58526e2_4/share/terminfo/N/NCR260VT300WPP'
user-agent : conda/4.8.3 requests/2.24.0 CPython/3.8.3 Linux/4.4.0-18362-Microsoft ubuntu/18.04.5 glibc/2.27

2. 問題的后果

此報錯會引起非常嚴重的后果,導致后續(xù)在Anaconda的任何虛擬環(huán)境中安裝指定版本的包(即在安裝時使用conda install matplotlib=N的命令)時都會報錯拯杠,在創(chuàng)建指定python版本的conda環(huán)境時也會報錯(conda create -n test python=3.6)掏婶。更為嚴重的是,這種錯誤無法通過卸載Anaconda并重裝來解決(sudo rm -rf path/anaconda3)潭陪,重裝后仍然會發(fā)生相同的報錯雄妥。

3. 解決方法

目前嘗試的唯一可行的解決方法是重置Linux系統(tǒng)。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末依溯,一起剝皮案震驚了整個濱河市老厌,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌誓沸,老刑警劉巖梅桩,帶你破解...
    沈念sama閱讀 206,013評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件壹粟,死亡現(xiàn)場離奇詭異拜隧,居然都是意外死亡,警方通過查閱死者的電腦和手機趁仙,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,205評論 2 382
  • 文/潘曉璐 我一進店門洪添,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人雀费,你說我怎么就攤上這事干奢。” “怎么了盏袄?”我有些...
    開封第一講書人閱讀 152,370評論 0 342
  • 文/不壞的土叔 我叫張陵忿峻,是天一觀的道長薄啥。 經(jīng)常有香客問我,道長逛尚,這世上最難降的妖魔是什么垄惧? 我笑而不...
    開封第一講書人閱讀 55,168評論 1 278
  • 正文 為了忘掉前任,我火速辦了婚禮绰寞,結(jié)果婚禮上到逊,老公的妹妹穿的比我還像新娘。我一直安慰自己滤钱,他們只是感情好觉壶,可當我...
    茶點故事閱讀 64,153評論 5 371
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著件缸,像睡著了一般铜靶。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上他炊,一...
    開封第一講書人閱讀 48,954評論 1 283
  • 那天旷坦,我揣著相機與錄音摩骨,去河邊找鬼萎河。 笑死题画,一個胖子當著我的面吹牛似枕,可吹牛的內(nèi)容都是我干的拱雏。 我是一名探鬼主播报账,決...
    沈念sama閱讀 38,271評論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼攻臀,長吁一口氣:“原來是場噩夢啊……” “哼轰传!你這毒婦竟也來了幔嫂?” 一聲冷哼從身側(cè)響起辆它,我...
    開封第一講書人閱讀 36,916評論 0 259
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎履恩,沒想到半個月后锰茉,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,382評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡切心,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 35,877評論 2 323
  • 正文 我和宋清朗相戀三年飒筑,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片绽昏。...
    茶點故事閱讀 37,989評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡协屡,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出全谤,到底是詐尸還是另有隱情肤晓,我是刑警寧澤,帶...
    沈念sama閱讀 33,624評論 4 322
  • 正文 年R本政府宣布,位于F島的核電站补憾,受9級特大地震影響漫萄,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜盈匾,卻給世界環(huán)境...
    茶點故事閱讀 39,209評論 3 307
  • 文/蒙蒙 一卷胯、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧威酒,春花似錦窑睁、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,199評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至尤仍,卻和暖如春箫津,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背宰啦。 一陣腳步聲響...
    開封第一講書人閱讀 31,418評論 1 260
  • 我被黑心中介騙來泰國打工苏遥, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人赡模。 一個月前我還...
    沈念sama閱讀 45,401評論 2 352
  • 正文 我出身青樓田炭,卻偏偏與公主長得像,于是被迫代替她去往敵國和親漓柑。 傳聞我的和親對象是個殘疾皇子教硫,可洞房花燭夜當晚...
    茶點故事閱讀 42,700評論 2 345

推薦閱讀更多精彩內(nèi)容