在 Opensuse 12.2 上安装 miniconda 失败

在 Opensuse 12.2 上安装 miniconda 失败

我不太熟悉 Opensuse,我现在正在尝试安装微型康达在这样的操作系统上。

我已经下载了.sh 安装程序然后跑了bash Miniconda3-latest-Linux-x86_64.sh

安装程序确实启动了,我同意了许可证。

然后我被问到安装位置,根据默认值应该是/home/user/miniconda3

确认此位置后不久,我收到以下错误消息

Miniconda3 will now be installed into this location:
/home/user/miniconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/user/miniconda3] >>> 
PREFIX=/home/user/miniconda3
Unpacking payload ...
tail: cannot open ‘+9231072’ for readingtail: cannot open ‘+2’ for reading: No such file or directory
: No such file or directory
Traceback (most recent call last):
  File "tarfile.py", line 2297, in next
  File "tarfile.py", line 1093, in fromtarfile
  File "tarfile.py", line 1029, in frombuf
tarfile.EmptyHeaderError: empty header

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "conda.exe.py", line 62, in <module>
  File "tarfile.py", line 1601, in open
  File "tarfile.py", line 1482, in __init__
  File "tarfile.py", line 2312, in next
tarfile.ReadError: empty file
[10278] Failed to execute script conda.exe
ERROR: could not extract tar starting at offset 000000000000018891+9231072+2

我现在看到创建了一个/home/user/miniconda3包含 a 的目录。conda.exe

有谁知道背景问题是什么?正如我所说,我对 Opensuse 不太熟悉,相同的安装方法也适用于我的 Ubuntu 18.04 LTS 计算机。

我还发现两台机器中的程序版本tail不同。如果我tail --version在 OpenSuse 机器上输入,我会得到:

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

Written by Paul Rubin, David MacKenzie, Ian Lance Taylor,
and Jim Meyering.
bhinckel@cr28603:~/downloads>

这是相当古老的,而我得到:

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

Written by Paul Rubin, David MacKenzie, Ian Lance Taylor,
and Jim Meyering.

在 Ubuntu 机器上。

相关内容