Terminal Strangeness...

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Terminal Strangeness...

Postby heiowge » Thu Jan 24, 2013 6:57 pm

Code: Select all
bash: /usr/bin/mint-fortune: No such file or directory
******@******-desktop ~ $ sudo bash
[sudo] password for ******:
bash: /usr/bin/mint-fortune: No such file or directory
******-desktop ~ #


Any ideas...? The only thing I did recently was strip out a buttload of KDE games... :?
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
User avatar
heiowge
LXF regular
 
Posts: 1905
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby xenopeek » Thu Jan 24, 2013 7:34 pm

That can happen if you removed some dependencies (like cowsay, fortune, fortunes-husse, or their dependencies), but that wouldn't be good. /usr/bin/mint-fortune comes from the mintsystem package, which has some adjustments you want on Linux Mint I gather. So I'd install the mintsystem package again if I was you.
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
 
Posts: 34
Joined: Mon Dec 24, 2012 1:19 pm

Postby MartyBartfast » Thu Jan 24, 2013 7:43 pm

isn't mint-fortune the thing that prints out a pointless (IMHO) little fortune cookie type message? If so and it's the only problem you're seeing then I would be inclined to

Code: Select all
 sudo touch /usr/bin/mint-fortune && sudo chmod a+x /usr/bin/mint-fortune

however as xenopeke says it may be a symptom of other problems.
I have been touched by his noodly appendage.
User avatar
MartyBartfast
LXF regular
 
Posts: 815
Joined: Mon Aug 22, 2005 7:25 am
Location: Hants, UK

Postby xenopeek » Fri Jan 25, 2013 9:27 am

mintsystem does more, but you may have also uninstalled other packages. Upon further thought, I'd recommend you reinstall the package mint-meta-kde to ensure your Linux Mint KDE is complete.
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
 
Posts: 34
Joined: Mon Dec 24, 2012 1:19 pm

Postby heiowge » Fri Jan 25, 2013 7:04 pm

I did a sudo apt-get install mintsystem (seems to have fixed the weirdness), and am currently doing the mint-meta-kde just to be sure.


Cheers
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
User avatar
heiowge
LXF regular
 
Posts: 1905
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby ajgreeny » Fri Jan 25, 2013 8:36 pm

If it's just those blasted fortune-cookies in terminal that you want rid of, you can easily do it by commenting out the line in the hidden .bashrc file.

I can't remember if it is your user's .bashrc or root's .bashrc, but it is in one or the other, or maybe both.
Xubuntu 12.04 user, and loving it!
ajgreeny
LXF regular
 
Posts: 456
Joined: Wed May 10, 2006 8:18 pm
Location: Oxfordshire.


Return to Help!

Who is online

Users browsing this forum: Bing [Bot] and 3 guests