# Opam init Fetching repository information fails trying to remove /.opam/repo

**URL:** <https://discuss.ocaml.org/t/opam-init-fetching-repository-information-fails-trying-to-remove-opam-repo/12015>\
**Category:** Learning\
**Tags:** opam, build, dune\
**Created:** [April 24, 2023, 10:43pm UTC](https://discuss.ocaml.org/t/opam-init-fetching-repository-information-fails-trying-to-remove-opam-repo/12015 "2023-04-24T22:43:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hank\_Anderson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/hank_anderson/32/4392_2.png) [@Hank\_Anderson](https://discuss.ocaml.org/u/Hank_Anderson)\
**Post date:** [April 24, 2023, 10:43pm UTC](https://discuss.ocaml.org/t/opam-init-fetching-repository-information-fails-trying-to-remove-opam-repo/12015/1 "2023-04-24T22:43:04Z")

</div>

![Screen Shot 2023-04-24 at 3.41.21 PM](https://us1.discourse-cdn.com/flex020/uploads/ocaml/original/2X/3/3be0edfd8f0227fa00710de5a8922b4660d7907e.png)  
I am running this on a remote server from my school and cannot initialize opam. It claims it cannot remove the .opam directory. I have tried deleting it before running and it does not claim to have ownership or cannot remove it and it is stopping it from working
