Quite commonly, the most important output column when sharing repos asking for help is the URL. The URL is not included in default output, like so:
> zypper lr
Repository priorities in effect: (See 'zypper lr -P' for details)
90 (raised priority) : 1 repository
99 (default priority) : 6 repositories
# | Alias | Name | Enabled | GPG Check | Refresh
--+----------------+----------------+---------+-----------+--------
1 | FCL-leap | FCL-leap | Yes | ( ) No | No
2 | KDE3 | KDE3 | Yes | (r ) Yes | No
3 | MultimediaLibs | MultimediaLibs | Yes | (r ) Yes | Yes
4 | NonOSS | NonOSS | Yes | (r ) Yes | Yes
5 | OSS | OSS | Yes | (r ) Yes | Yes
6 | PackmanE | PackmanE | Yes | (r ) Yes | No
7 | openh264 | openh264 | Yes | (r ) Yes | No
Zypper’s -d option is needed to show the URL:
> zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Keep | Priority | Type | URI | Service
--+----------------+----------------+---------+-----------+---------+------+----------+--------+-------------------------------------------------------------------------+--------
1 | FCL-leap | FCL-leap | Yes | ( ) No | No | - | 99 | rpm-md | http://silk.apana.org.au/rpm-opensuse15-unstable-dev |
2 | KDE3 | KDE3 | Yes | (r ) Yes | No | - | 99 | rpm-md | http://cdn.opensuse.org/repositories/KDE:/KDE3/16.0/ |
3 | MultimediaLibs | MultimediaLibs | Yes | (r ) Yes | Yes | - | 99 | rpm-md | http://cdn.opensuse.org/repositories/multimedia:/libs/16.0/ |
4 | NonOSS | NonOSS | Yes | (r ) Yes | Yes | - | 99 | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/ |
5 | OSS | OSS | Yes | (r ) Yes | Yes | - | 99 | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/ |
6 | PackmanE | PackmanE | Yes | (r ) Yes | No | - | 90 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_16.0/Essentials |
7 | openh264 | openh264 | Yes | (r ) Yes | No | - | 99 | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/ |
I find that output annoyingly includes too much, such as duplicate names and lengthy names, causing excess horizontal scrolling with text big enough to see, even when the code block is using as much browser width as allowed. So, I reconfigure:
> grep tCol /etc/zypp/zypper.conf
repoListColumns = Au
to get the following:
> zypper lr
Repository priorities in effect: (See 'zypper lr -P' for details)
90 (raised priority) : 1 repository
99 (default priority) : 6 repositories
# | Alias | Enabled | GPG Check | URI
--+----------------+---------+-----------+------------------------------------------------------------------------
1 | FCL-leap | Yes | ( ) No | http://silk.apana.org.au/rpm-opensuse15-unstable-dev
2 | KDE3 | Yes | (r ) Yes | http://cdn.opensuse.org/repositories/KDE:/KDE3/16.0/
3 | MultimediaLibs | Yes | (r ) Yes | http://cdn.opensuse.org/repositories/multimedia:/libs/16.0/
4 | NonOSS | Yes | (r ) Yes | http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/
5 | OSS | Yes | (r ) Yes | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/
6 | PackmanE | Yes | (r ) Yes | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_16.0/Essentials
7 | openh264 | Yes | (r ) Yes | http://codecs.opensuse.org/openh264/openSUSE_Leap/
If repoListColumns = Au doesn’t produce quite the result you, or would-be helpers, like, there are alternative options shown in zypper.conf just before that options line that you/they might like better. Here in the forums, people might complain about absence of priorities, but when only one is non-default, and it’s assumed (at least by me) to be Packman, which defaults to 90 IIRC, among them, complaints will likely be absent. Still, p can be specified:
> grep tCol /etc/zypp/zypper.conf
repoListColumns = Apu
> zypper lr
# | Alias | Enabled | GPG Check | Priority | URI
--+----------------+---------+-----------+----------+------------------------------------------------------------------------
1 | FCL-leap | Yes | ( ) No | 99 | http://silk.apana.org.au/rpm-opensuse15-unstable-dev
2 | KDE3 | Yes | (r ) Yes | 99 | http://cdn.opensuse.org/repositories/KDE:/KDE3/16.0/
3 | MultimediaLibs | Yes | (r ) Yes | 99 | http://cdn.opensuse.org/repositories/multimedia:/libs/16.0/
4 | NonOSS | Yes | (r ) Yes | 99 | http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/
5 | OSS | Yes | (r ) Yes | 99 | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/
6 | PackmanE | Yes | (r ) Yes | 90 | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_16.0/Essentials
7 | openh264 | Yes | (r ) Yes | 99 | http://codecs.opensuse.org/openh264/openSUSE_Leap/
Wider, Apu than Au, but not as much as duplicate name columns produce.
Full “Priority” as column title rather than an abbreviation causes much whitespace. I don’t believe priority numbers bigger than 99 are supported, and wish that title were an abbreviation. ![]()