Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: destination path '/home/admin/.oh-my-zsh' already exists and is not an empty directory. #11

Open
yingjun opened this issue Nov 21, 2014 · 5 comments

Comments

@yingjun
Copy link

yingjun commented Nov 21, 2014

File ‘gitk-2.1.1-1.tar.xz’ already there; not retrieving.
Unpacking...
bunzip2: (stdin) is not a bzip2 file.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Package gitk requires the following packages, installing:
bash tcl-tk git cygwin
Package bash is already installed, skipping
Package tcl-tk is already installed, skipping
Package git is already installed, skipping
Package cygwin is already installed, skipping
Package gitk installed
fatal: destination path '/home/admin/.oh-my-zsh' already exists and is not an empty directory.

@wfortin
Copy link

wfortin commented Dec 3, 2014

+1
I have the same error...

@yingjun
Copy link
Author

yingjun commented Dec 3, 2014

@wfortin
here is way work around.
edit that shell file, remote or comment this line
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

then manually download zsh to you ~/.oh-my-zsh

and run the shell.

@clarkzjw
Copy link

clarkzjw commented Apr 2, 2015

It's because ~/.oh-my-zsh folder already exists. Is it because you ran the install script for the second time?

You can simply delete ~/.oh-my-zsh and run the script again.

@haithembelhaj
Copy link
Owner

Sorry guys this project is depracated. Please feel free to fork it

@dani54196
Copy link

dani54196 commented Nov 15, 2021

first uninstall oh-my-zsh
this way
rm -rf ~/.oh-my-zsh
rm ~/.zshrc
cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc
source ~/.zshrc
after that install again
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants