Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage emerging in the right direction
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Feb 12, 2011 7:43 pm    Post subject: portage emerging in the right direction Reply with quote

I like what I see:

emerge -1 squashfs wrote:
Calculating dependencies ... done!

emerge: there are no ebuilds to satisfy "squashfs".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-fs/squashfs-tools, app-shells/sash, net-irc/quassel?


just AWESOME

thanks so much - this is really useful :D
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
lxg
l33t
l33t


Joined: 12 Nov 2005
Posts: 912
Location: Aachen, Germany

PostPosted: Sun Feb 13, 2011 12:09 pm    Post subject: Reply with quote

Uhm, I don't really like this "did you mean …" attitude of any IT systems. It wastes ressources on the machine and confuses the user. For example, when I made a typo, and get the message “not found”, I check my input and usually see the typo. If I get a list of suggestions, I must first deduct why something failed, then find the mistake itself.

Hence, such features are rather something for people who have bad problem solving strategies (like try'n'error) and are generally lost quickly. And they are a nuisance for power users and those who generally prefer to learn their stuff. (This is not meant in the sense of elitarism, but rather in regard to usage preferences.)

My motto: If some IT operation fails, issue a helpful indicator to what has failed, instead of trying to guess what might have been intended. An application usually doesn't have enough information to make a good enough guess.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Ant P.
Veteran
Veteran


Joined: 18 Apr 2009
Posts: 1295
Location: UK

PostPosted: Sun Feb 13, 2011 2:21 pm    Post subject: Reply with quote

paludis has had this for about a year... the output is slightly different though.

Code:
Error:
  * In program cave show squashfs:
  * Found nothing suitable matching 'squashfs'; did you mean one of 'sys-apps/squashfs-portage', 'sys-fs/calculate-squashfs', 'sys-fs/squashfs-tools'? (paludis::cave::NothingMatchingWithSuggestions)

_________________
sig temporarily out of order
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3404
Location: Saint Amant, Acadiana

PostPosted: Sun Feb 13, 2011 2:23 pm    Post subject: Reply with quote

What lxg said.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1202
Location: Out There ...

PostPosted: Sun Feb 13, 2011 3:51 pm    Post subject: Reply with quote

Well, why not. As long as you know that there is more out there...
Some not so useful example (assuming you want to install Xfce like Gnome):
Code:
disi-desktop ~ # emerge xfce
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "xfce".

emerge: searching for similar names...
emerge: Maybe you meant any of these: x11-misc/xfe, media-video/cxfe, games-arcade/xsfcave?

It does not suggest the meta packages.

Anyway, if you know what you were looking for and just had a typo:
Code:
disi-desktop ~ # emerge hentoo-sources
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "hentoo-sources".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-kernel/gentoo-sources, sys-kernel/zen-sources, sys-kernel/xen-sources?

It's a good feature for spell check :D
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Feb 13, 2011 4:05 pm    Post subject: Reply with quote

disi wrote:
Well, why not. As long as you know that there is more out there...
Some not so useful example (assuming you want to install Xfce like Gnome):
Code:
disi-desktop ~ # emerge xfce
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "xfce".

emerge: searching for similar names...
emerge: Maybe you meant any of these: x11-misc/xfe, media-video/cxfe, games-arcade/xsfcave?

It does not suggest the meta packages.

Anyway, if you know what you were looking for and just had a typo:
Code:
disi-desktop ~ # emerge hentoo-sources
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "hentoo-sources".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-kernel/gentoo-sources, sys-kernel/zen-sources, sys-kernel/xen-sources?

It's a good feature for spell check :D


well,

exactly - that's what happens to me the most :mrgreen:

when I need to type in dozens of packages from time to time - one or more typos occur

so this is really helpful so I know what the typo is and also immediately have the solution to that :)
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
dE_logics
Veteran
Veteran


Joined: 02 Jan 2009
Posts: 1848
Location: $TERM

PostPosted: Sun Feb 13, 2011 4:28 pm    Post subject: Re: portage emerging in the right direction Reply with quote

kernelOfTruth wrote:
I like what I see:

emerge -1 squashfs wrote:
Calculating dependencies ... done!

emerge: there are no ebuilds to satisfy "squashfs".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-fs/squashfs-tools, app-shells/sash, net-irc/quassel?


just AWESOME

thanks so much - this is really useful :D


Actually it was implemented pretty fast... just 2 weeks after reporting (?). I originally thought the feature would have been made interactive like with aptitude.
_________________
Buy from companies supporting opensource -- IBM, Dell, HP, Nokia, Hitachi etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog
Back to top
View user's profile Send private message
Tolstoi
Guru
Guru


Joined: 20 May 2004
Posts: 572

PostPosted: Mon Feb 14, 2011 9:14 am    Post subject: Reply with quote

Mostly it's a typo on my side. When I don't know the exact package name I find myself using emerge -s quite frequently.
Back to top
View user's profile Send private message
phajdan.jr
Developer
Developer


Joined: 23 Mar 2006
Posts: 1672
Location: Poland

PostPosted: Mon Feb 14, 2011 10:55 am    Post subject: Reply with quote

Tolstoi wrote:
Mostly it's a typo on my side. When I don't know the exact package name I find myself using emerge -s quite frequently.


emerge -s ? I think eix is much much faster. :wink:
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
Tolstoi
Guru
Guru


Joined: 20 May 2004
Posts: 572

PostPosted: Mon Feb 14, 2011 12:16 pm    Post subject: Reply with quote

phajdan.jr wrote:
Tolstoi wrote:
Mostly it's a typo on my side. When I don't know the exact package name I find myself using emerge -s quite frequently.


emerge -s ? I think eix is much much faster. :wink:


Thanks for the hint ;). I'll try eix soon.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Feb 14, 2011 1:10 pm    Post subject: Re: portage emerging in the right direction Reply with quote

kernelOfTruth wrote:
I like what I see:

emerge -1 squashfs wrote:
Calculating dependencies ... done!

emerge: there are no ebuilds to satisfy "squashfs".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-fs/squashfs-tools, app-shells/sash, net-irc/quassel?


just AWESOME

thanks so much - this is really useful :D


I like this feature too.
Back to top
View user's profile Send private message
TJNII
l33t
l33t


Joined: 09 Nov 2003
Posts: 636
Location: for(;;);

PostPosted: Mon May 09, 2011 1:21 am    Post subject: Reply with quote

I completely agree with lxg. So much so that I filed this bug.
_________________
Maintaining documentation on upgrades is apparently not within the power of Gentoo
Beware when you emerge -u world!
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3204

PostPosted: Mon May 09, 2011 10:54 am    Post subject: Reply with quote

i like the feature, good helper for poor mind users.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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