Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Previously i used LMDE on my laptop, but now I moved to Ubuntu. I might have been a little bit rough with it, because I’ve simply format / partition, and installed Ubuntu on it. Home folder was separated, so i didn't touch it at all.

Now, when i start the Terminal, i get this message:

bash: /usr/bin/mint-fortune: No such file or directory

I've found a solution of this problem on Linux Mint forums:

sudo pico /etc/bash.bashrc

Removing the line:

/usr/bin/mint-fortune

But I don't have this line there. I imagine it has something to do with Home folder, since I formatted everything else before installing.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

I think it will be on ~/.bashrc file. So run this sudo gedit ~/.bashrc command to open .bashrc file and then remove the line /usr/bin/mint-fortune from that. Atlast source the .bashrc file by running this command source ~/.bashrc so that the changes could be made permanent.

share|improve this answer

Have you tried

 sudo apt-get remove fortune 

I do not think that this has anything to do with your home folder, because the home folder typically just has user specific documents like music, photos, etc.

Sources:

Removing Fortune Message

Basic Linux Directory Structure

share|improve this answer

I just removed the pest from kubuntu14.04 installation by editing with vim the last line of /home/[my username]/.bashrc file, which line now looks as follows:

# remove this pest!  /usr/bin/mint-fortune

Before adding # it used to look simply as

/usr/bin/mint-fortune

which caused the error "not found" message to appear on the konsole

share|improve this answer

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.