[sle-beta] SLE15(Beta1) and zypper ...
Jiri Srain
jsrain at suse.cz
Tue Nov 7 23:50:57 MST 2017
On 30.10.2017 19:55, Don Buchholz wrote:
> Hi,
>
> With the new "Installer" and "Packages" ISOs paradigm,
> itappears the zypper repository configuration has been
> extended.
>
> Using "zypper lr -d", I see the base system repository
> from the 'Installer' ISO, and then the four additional
> modules.
>
> | sle15:~# zypper lr -d |cut -c1-2,4-37,39-51,105-150
> | ...
> |# | Alias | Name | URI
> |--+---------------------------------+------------+---------------------------------------------
>
> | 1| Basesystem-Module_15-0 | SLE15-Pkg |
> http://SLE-SRV/distros/suse/ia32e/sle15-pkg/
> | 2| Desktop-Applications-Module_15-0| SLE15-Pkg |
> http://SLE-SRV/distros/suse/ia32e/sle15-pkg/
> | 3| Development-Tools-Module_15-0 | SLE15-Pkg |
> http://SLE-SRV/distros/suse/ia32e/sle15-pkg/
> | 4| Legacy-Module_15-0 | SLE15-Pkg |
> http://SLE-SRV/distros/suse/ia32e/sle15-pkg/
> | 5| SLES15-15-0 | SLES15-15-0|
> http://SLE-SRV/distros/suse/ia32e/sle15
>
> What I find interesting here is that the Installer
> [SLES15-15-0] repository has it's own URI, but then
> the added modules all share a common URI! Looking
> at the configuration files in /etc/zypp/repos.d/
> I see there is a "path=...." parameter being added
> to "baseurl=....". Only 'baseurl' is visible when
> using "zypper listrepo" and I can not find an option
> to list the full URL to the package repository.
To give you the reason for this: If you use a single DVD (or ISO image)
with multiple repositories, libzypp needs to be able to identify the
media itself (e.g. to ask you to put a specific DVD to the drive).
If you have all repositories on an on-line source like HTTP server, you
can follow this mechanism (and copy the whole DVD) or point libzypp to
individual repositories without the path- parameter.
Jiri
> Looking at an SLES12-SP3 system, I do see the
> "path=..." param in the installer-created
> "SLES12-SP3-12.3-0.repo", but it is not present
> in *.repo files created with "zypper addrepo ...".
>
> Am I missing something in the zypper man page?
> Or does zypper(8) need to be extended to list the
> added paths? Or should I just plan on forgoing
> command-line examination/creation of repositories
> and just continue to manipulate the *.repo files
> directly?
>
> Regards,
> - Don Buchholz
>
> _______________________________________________
> sle-beta mailing list
> sle-beta at lists.suse.com
> http://lists.suse.com/mailman/listinfo/sle-beta
--
Regards,
Jiri Srain
Project Manager
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: jsrain at suse.com
Krizikova 148/34 tel: +420 284 084 659
186 00 Praha 8 fax: +420 284 084 001
Czech Republic http://www.suse.com
More information about the sle-beta
mailing list