Skip to main content

Anaconda update error PermissionError(13, 'Permission denied')

sanjay@luck:~$ conda update -n base conda
Solving environment: done

## Package Plan ##

  environment location: /home/sanjay/anaconda3

  added / updated specs:
    - conda


The following packages will be UPDATED:

    conda: 4.4.10-py36_0 --> 4.5.4-py36_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(481): An error occurred while uninstalling package 'defaults::conda-4.4.10-py36_0'.
PermissionError(13, 'Permission denied')
Attempting to roll back.

Rolling back transaction: done

PermissionError(13, 'Permission denied')




===========


you need to give a writable directory permission.

on anaconda install directory.



--> $ sudo chmod -R 755 anaconda3

sanjay@luck:~$ sudo chmod -R 777 anaconda3/



 ==============


sanjay@luck:~$ conda update anaconda-navigator
Solving environment: done

## Package Plan ##

  environment location: /home/sanjay/anaconda3

  added / updated specs:
    - anaconda-navigator


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-custom            |   py36hbbc8b67_0           6 KB

The following packages will be UPDATED:

    anaconda:           5.1.0-py36_2          --> custom-py36hbbc8b67_0
    anaconda-client:    1.6.9-py36_0          --> 1.6.14-py36_0       
    anaconda-navigator: 1.7.0-py36_0          --> 1.8.5-py36_0        
    ca-certificates:    2017.08.26-h1d4fec5_0 --> 2018.03.07-0        
    certifi:            2018.1.18-py36_0      --> 2018.4.16-py36_0    
    openssl:            1.0.2n-hb7f436b_0     --> 1.0.2o-h20670df_0   
    qtpy:               1.3.1-py36h3691cc8_0  --> 1.4.1-py36_0        

Proceed ([y]/n)? y


Downloading and Extracting Packages
anaconda-custom      |    6 KB | ####################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done


Comments

Popular posts from this blog

How to delete Torrent power account

Sanjay Tech solutions 3 easy tips to delete torrent power account  Step 1 : login in to your account Step 2 : click on more profile settings Step 3 : you see red button with deactivate account click then enter your password Your account deactivate