[04.08.2013 17:45] [Felix Miata]:
On 2013-08-04 16:25 (GMT+0200) Werner Flamme composed:
Felix Miata wrote:
# zypper se -s vlc | grep tter v | VideoLAN - VLC media player | pattern | | noarch | VideoLAN
# zypper -v in -t pattern VideoLAN Verbosity: 1 Non-option program arguments: 'VideoLAN' Initializing Target Checking whether to refresh metadata for Non-OSS Checking whether to refresh metadata for OSS Checking whether to refresh metadata for Packman Loading repository data... Reading installed packages... Force resolution: No 'VideoLAN' not found in package names. Trying capabilities. No provider of 'pattern:VideoLAN' found. Resolving package dependencies... Force resolution: No
And the pattern name is "VideoLAN - VLC media player", at least that is what my zypper tells me. It is located in the videolan repo at <http://download.videolan.org/pub/videolan/vlc/SuSE/12.3/>, but it has no version number.
Maybe Felix should try
zypper -v in -t pattern "VideoLAN - VLC media player"
At least, I get
'pattern:VideoLAN - VLC media player' is already installed. No update candidate for 'VideoLAN - VLC media player-.noarch'. The highest available version is already installed.
HTH
It does. The new questions are:
1-Why does the pattern exist (particularly since YaST2 didn't seem to be able to discover it)? Doing that wants to install 38 packages. Doing 'zypper -v in vlc' instead wants to install the same 38 packages?
When using the Software management module in YaST, choosing View -> Patterns, I find it near the top - the second pattern in the list, right after "Documentation". So, YaST does the discovery, maybe you have to discover this place first? ;-) The "search" function seems to search in rpm packages only. Obviously, the need for searching patterns never became so urgent that this has to be changed. Now that YaST has been translated into Ruby, more developers may work at the code.
2-Why does any packager find it necessary to give a package (or pattern) a 27 character name containing 4 separate instances of whitespace? That pattern "name" looks like a name followed by a description.
Using the command you mentioned, you see all this in the "name" column. Theer is no column separator. For me, it only looks like a windows packager named it ;-) (nobody will use it from command line, and inside YaST, the name is invisible).
3-Repeat of $SUBJECT, meaning if zypper se can find it, should there not be some kind of fuzzy fallback that enables zypper to find it via substring instead of having to type something so lengthy? Surely there wouldn't be anything else with so prolix a name to confuse it with.
In this given case, a "fuzzy fallback" might be nice. But considering patterns like patterns-openSUSE-xfce, patterns-openSUSE-xfce_basis, patterns-openSUSE-xfce_laptop, patterns-openSUSE-xfce_office - what would the fallback be here? It is very difficult do create a fallback method that will find the right thing in each case. Create a feature request and make it public, so that many people vote for it :-) Just my 2¢, Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org