Repository: pytorch
Issue: Unable to install pytorch with cuda 10.0 using conda
Labels: module: build,triaged

## 🐛 Bug

Corrupted archive of pytorch 1.3.0 with cuda 10.0

## To Reproduce

Steps to reproduce the behavior:

install pytorch with cuda 10.0 in conda


## Expected behavior

installation of pytorch with cuda 10.0

## Environment
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A

OS: Debian GNU/Linux 9.11 (stretch)
GCC version: (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
CMake version: Could not collect

Python version: 3.7
Is CUDA available: N/A
CUDA runtime version: 10.0.130
GPU models and configuration: GPU 0: Tesla T4
Nvidia driver version: 410.104
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] intel-numpy==1.15.1
[pip3] numpy==1.15.1
[pip3] torch==1.2.0
[pip3] torchvision==0.4.0
[conda] Could not collect

## Additional context

$ conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/blah/.conda/envs/open-mmlab

  added / updated specs:
    - cudatoolkit=10.0
    - pytorch
    - torchvision


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    pytorch-1.3.0              |py3.7_cuda10.0.130_cudnn7.6.3_0       454.1 MB  pytorch
    ------------------------------------------------------------
                                           Total:       454.1 MB

The following NEW packages will be INSTALLED:

  blas               pkgs/main/linux-64::blas-1.0-mkl
  cffi               pkgs/main/linux-64::cffi-1.12.3-py37h2e261b9_0
  cudatoolkit        pkgs/main/linux-64::cudatoolkit-10.0.130-0
  freetype           pkgs/main/linux-64::freetype-2.9.1-h8a8886c_1
  intel-openmp       pkgs/main/linux-64::intel-openmp-2019.4-243
  jpeg               pkgs/main/linux-64::jpeg-9b-h024ee3a_2
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libpng             pkgs/main/linux-64::libpng-1.6.37-hbc83047_0
  libtiff            pkgs/main/linux-64::libtiff-4.0.10-h2733197_2
  mkl                pkgs/main/linux-64::mkl-2019.4-243
  mkl-service        pkgs/main/linux-64::mkl-service-2.3.0-py37he904b0f_0
  mkl_fft            pkgs/main/linux-64::mkl_fft-1.0.14-py37ha843d7b_0
  mkl_random         pkgs/main/linux-64::mkl_random-1.1.0-py37hd6b4f25_0
  ninja              pkgs/main/linux-64::ninja-1.9.0-py37hfd86e86_0
  numpy              pkgs/main/linux-64::numpy-1.17.2-py37haad9e8e_0
  numpy-base         pkgs/main/linux-64::numpy-base-1.17.2-py37hde5b4d6_0
  olefile            pkgs/main/linux-64::olefile-0.46-py37_0
  pillow             pkgs/main/linux-64::pillow-6.2.0-py37h34e0f95_0
  pycparser          pkgs/main/linux-64::pycparser-2.19-py37_0
  pytorch            pytorch/linux-64::pytorch-1.3.0-py3.7_cuda10.0.130_cudnn7.6.3_0
  six                pkgs/main/linux-64::six-1.12.0-py37_0
  torchvision        pytorch/linux-64::torchvision-0.4.1-py37_cu100
  zstd               pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
pytorch-1.3.0        | 454.1 MB  | ##################################################################################################################7                                                      |  68% pytorch-1.3.0        | 454.1 MB  | ###################################################################################################################                                                      |  69% pytorch-1.3.0        | 454.1 MB  | ######################################################################################################################################################################## | 100%

InvalidArchiveError("Error with archive /home/blah/.conda/pkgs/pytorch-1.3.0-py3.7_cuda10.0.130_cudnn7.6.3_0.tar.bz2.  You probably need to delete and re-download or re-create this file.  Message from libarchive was:\n\nFailed to create dir 'lib/python3.7/site-packages/torch/for_onnx' (errno=2, retcode=-25, archive_p=94813630959696)")