Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Terminal Strangeness...

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1902
Location: Cheshire, UK

PostPosted: Thu Jan 24, 2013 6:57 pm    Post subject: Terminal Strangeness... Reply with quote

Code:
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... Confused
_________________
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.
Back to top
View user's profile Send private message
xenopeek



Joined: Mon Dec 24, 2012 1:19 pm
Posts: 34

PostPosted: Thu Jan 24, 2013 7:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
MartyBartfast
LXF regular


Joined: Mon Aug 22, 2005 8:25 am
Posts: 814
Location: Hants, UK

PostPosted: Thu Jan 24, 2013 7:43 pm    Post subject: Reply with quote

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:
 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.
Back to top
View user's profile Send private message
xenopeek



Joined: Mon Dec 24, 2012 1:19 pm
Posts: 34

PostPosted: Fri Jan 25, 2013 9:27 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1902
Location: Cheshire, UK

PostPosted: Fri Jan 25, 2013 7:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ajgreeny
LXF regular


Joined: Wed May 10, 2006 9:18 pm
Posts: 453
Location: Oxfordshire.

PostPosted: Fri Jan 25, 2013 8:36 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast