Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66574 - emerge -s cant find "dvd+rw-tools" because it contains a '+' in its name
Summary: emerge -s cant find "dvd+rw-tools" because it contains a '+' in its name
Status: RESOLVED DUPLICATE of bug 66570
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-06 15:09 UTC by postmodern
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postmodern 2004-10-06 15:09:26 UTC
emerge -s interpretes regular expressions on the end of search names so when emerge -s sees "dvd+rw-tools" theres no possible way it can find the packages. Dvd+rw-tools should be renamed to conform to emerge -s functionality.

Reproducible: Always
Steps to Reproduce:
1. emerge -s dvd+rw-tools
2. emerge -pv dvd+rw-tools
3.

Actual Results:  
Searching...      
[ Results for search key : dvd+rw-tools ]
[ Applications found : 0 ]
 


These are the packages that I would merge, in order:

Calculating dependencies    ...done!
[ebuild  N    ] app-cdr/dvd+rw-tools-5.17.4.8.6   89 kB 

Total size of downloads: 89 kB



Expected Results:  
emerges should find dvd+rw-tools and work with regular expressions.
Comment 1 John D 2004-10-06 16:56:00 UTC
emerge -s dvd\+rw-tools does find the package. i don't think this is a bug; it's a regular expressions feature ;-).

However, portage could warn the user when it see's a "+", informing the user of the +'s real meaning and to escape the + when literally searching for the character.
Comment 2 postmodern 2004-10-06 18:44:50 UTC
This is a bug since it is supprising the user with functionality they would not expect. I like the idea of tell the users they can use regular expressions. For the concept of consistancey either include regular expressions in all emerge options, provide a flag to enable them for those who like to use them, or just rename dvd+rw-tools to dvdrw-tools.
Comment 3 Joe McCann (RETIRED) gentoo-dev 2004-10-06 20:50:46 UTC
If the user doesn't expect this, then they are not firmiliar with the system they are opperating on. I don't think this is a bug at all, but I'll leave it to the portage devs to decide it they wan't to do extra work because one package has a + in the middle of its name.
Comment 4 postmodern 2004-10-06 20:54:18 UTC
Agreed, extra work is need to allow the inclusion of regular expression letters within ebuild names and still have the portage be able to decern real regular expressions.
Comment 5 SpanKY gentoo-dev 2004-10-06 21:26:11 UTC

*** This bug has been marked as a duplicate of 66570 ***