| View previous topic :: View next topic |
| Author |
Message |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sat Feb 12, 2011 7:43 pm Post subject: portage emerging in the right direction |
|
|
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  _________________ 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  |
|
| Back to top |
|
 |
lxg l33t


Joined: 12 Nov 2005 Posts: 912 Location: Aachen, Germany
|
Posted: Sun Feb 13, 2011 12:09 pm Post subject: |
|
|
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 |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1295 Location: UK
|
Posted: Sun Feb 13, 2011 2:21 pm Post subject: |
|
|
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 |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3404 Location: Saint Amant, Acadiana
|
|
| Back to top |
|
 |
disi Veteran


Joined: 28 Nov 2003 Posts: 1202 Location: Out There ...
|
Posted: Sun Feb 13, 2011 3:51 pm Post subject: |
|
|
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  _________________ Gentoo on Uptime Project - Larry is a cow |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sun Feb 13, 2011 4:05 pm Post subject: |
|
|
| 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  |
well,
exactly - that's what happens to me the most
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  |
|
| Back to top |
|
 |
dE_logics Veteran


Joined: 02 Jan 2009 Posts: 1848 Location: $TERM
|
Posted: Sun Feb 13, 2011 4:28 pm Post subject: Re: portage emerging in the right direction |
|
|
| 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  |
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 |
|
 |
Tolstoi Guru


Joined: 20 May 2004 Posts: 572
|
Posted: Mon Feb 14, 2011 9:14 am Post subject: |
|
|
| 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 |
|
 |
phajdan.jr Developer


Joined: 23 Mar 2006 Posts: 1672 Location: Poland
|
Posted: Mon Feb 14, 2011 10:55 am Post subject: |
|
|
| 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.  _________________ http://phajdan-jr.blogspot.com/ |
|
| Back to top |
|
 |
Tolstoi Guru


Joined: 20 May 2004 Posts: 572
|
Posted: Mon Feb 14, 2011 12:16 pm Post subject: |
|
|
| 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.  |
Thanks for the hint . I'll try eix soon. |
|
| Back to top |
|
 |
Shining Arcanine Veteran

Joined: 24 Sep 2009 Posts: 1110
|
Posted: Mon Feb 14, 2011 1:10 pm Post subject: Re: portage emerging in the right direction |
|
|
| 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  |
I like this feature too. |
|
| Back to top |
|
 |
TJNII l33t


Joined: 09 Nov 2003 Posts: 636 Location: for(;;);
|
|
| Back to top |
|
 |
krinn Advocate


Joined: 02 May 2003 Posts: 3204
|
Posted: Mon May 09, 2011 10:54 am Post subject: |
|
|
| i like the feature, good helper for poor mind users. |
|
| Back to top |
|
 |
|