Bugzilla – Bug 383348
zypper sl output ...
Last modified: 2008-04-24 13:46:11 UTC
A small complaint - but when using zypper I often forget where the factory repository lives (for various things), so I want to see the URLs on zypper sl. Unfortunately it doesn't show them to me - so I find myself doing: sudo zypper sl -e /tmp/repo.conf cat /tmp/repo.conf.repo or variants of that ;-) That's a tad painful; any chance of a wide or '-w' option (of some sort), that would show the relevant URL after the ~always identical name & alias fields ? :-) Thanks.
I'm not sure what zypper help sl told you, but since 0.11.1 it will tell you this :O) $ zypper help sl repos (lr) List all defined repositories. Command options: -e, --export <FILE.repo> Export all defined repositories as a single local .repo file. -u, --uri Show also base URI of repositories. -p, --priority Show also repository priority. -d, --details Show more information like URI, priority, type. -U, --sort-by-uri Sort the list by URI. -P, --sort-by-priority Sort the list by repository priority. -A, --sort-by-alias Sort the list by alias. -N, --sort-by-name Sort the list by name. don't get frightened by the repo (lr) :O) sl (or service-list) is just a rug compatiblity alias for 'repos' command (you can read about that in man zypper, too) *** This bug has been marked as a duplicate of bug 364391 ***
ah - thanks :-) zypper lr --help repos (lr) List all defined repositories. Command options: -e, --export <FILE.repo> Export all defined repositories as a single local .repo file. Clearly I'm still using 11.0 for some reason (~latest factory).