Conda: PermissionError(13, 'Permission denied') - conda - Fedora linux 26

Created on 4 Aug 2017  路  1Comment  路  Source: conda/conda

Hello,

I have the following error, not sure how to fix it.

System:
Fedora 26 64bit.
Anaconda distribution install for myself only.

$ conda upgrade conda
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /home/wn/anaconda3:

The following packages will be SUPERSEDED by a higher-priority channel:

    conda: 4.3.23-py36_0 --> 4.3.22-py36_0 conda-forge

Proceed ([y]/n)? y

ERROR conda.core.link:_execute_actions(337): An error occurred while uninstalling package 'defaults::conda-4.3.23-py36_0'.
PermissionError(13, 'Permission denied')
Attempting to roll back.


PermissionError(13, 'Permission denied')

$ conda upgrade conda --force
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /home/wn/anaconda3:

The following packages will be SUPERSEDED by a higher-priority channel:

    conda: 4.3.23-py36_0 --> 4.3.22-py36_0 conda-forge

Proceed ([y]/n)? y

ERROR conda.core.link:_execute_actions(337): An error occurred while uninstalling package 'defaults::conda-4.3.23-py36_0'.
PermissionError(13, 'Permission denied')
Attempting to roll back.


PermissionError(13, 'Permission denied')

Hope to hear from you soon

Thanks

source-community type-support

Most helpful comment

sudo chown -R wn:wn /home/wn/anaconda3

>All comments

sudo chown -R wn:wn /home/wn/anaconda3
Was this page helpful?
0 / 5 - 0 ratings