Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a problem. Something bad happened with my filesystem. Git denies to push files, but I could do with it init, commit and add remote.

enter image description here

GNU g++ compiler doesn't compile.

enter image description here

QtCreator can compile programs, but I can't do it manually.

I really wouldn't like to reinstall the whole system, but I need git and make utilities. I can't localise this problem.

share|improve this question
    
Can you run ls -l In your Dropbox/rhythmbox_pack_copy/ folder? –  Mark Lopez Sep 28 '13 at 23:23
    
And the parent 'Dropbox' folder. –  Mark Lopez Sep 28 '13 at 23:30
    

1 Answer 1

up vote 1 down vote accepted

Looks like your PATH is messed up. As par with http://stackoverflow.com/questions/7027740/makefile-and-symbolic-links/. To quote:

"I believe it is saying there are too many levels of symbolic links while trying to locate the... command itself [within the path]."

For an easy way out, you could reinstall. However, this might not be an option.

To localise the issue try to look through your path for symbolic links. Here is a small bash script to do that. Just make a file, copy this in:

for path in ${PATH//:/ }; do
    echo "Printing links for: $path"
    readlink "$path"
    echo "Done."
done

Then run the file with bash [FILENAME] where filename is the name of the file you just created.

share|improve this answer
    
yes, it was messed with old unused links I cleaned unnecessary up and rebooted –  gekannt Sep 29 '13 at 8:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.