I'm having this issue when creating conda environment:
Solving environment: failed
NotWritableError: The current user does not have write permissions to a required path. path: /usr/pkgs/urls.txt uid: 1000 gid: 1000
If you feel that permissions on this path are set incorrectly, you can manually change them by executing
$ sudo chown 1000:1000 /usr/pkgs/urls.txt
In general, it's not advisable to use 'sudo conda'.
Sorry for the format :)
Pinned Comments
cyrevolt commented on 2020-12-14 23:01
Errors
If you see something like this, the "error" is that AUR packages are not rebuilt when the system Python version is upgraded, which just happened again with 3.9. You need to manually upgrade each and every Python package from AUR, unfortunately. That is quite a caveat, because not everyone notices that something specific like Python is upgraded when they run
pacman -Syu
and see a list of 200 or more packages. This also happens with Node.js and what not.Solution
So I have just bumped the package here as well as
python-conda-build
, which triggers updates with e.g.yay -Su
. However, some dependencies may not have a new version now. What we could do for this case is to increasepkgrel
for those other packages. It feels hacky, but at least it works.Addendum
I am sorry for the inconvenience. Now the remaining problem is: Because of the bunch of dependencies and dependencies of dependencies, it is easy to miss one of them. =) Secondly, I do not own all the dependencies, so some will need manual maintenance either way, unfortunately. For example, you will need to reinstall
python-glob2-git
. Please let us know here if anyone of you runs into issues and we will try to help.Notes
To rebuild, you need to pass the
--rebuild
option.Example:
yay -S python-glob2-git --rebuild