![](https://seccdn.libravatar.org/avatar/2b5e9d0fd12ae21bdb7938b6f1203bbe.jpg?s=120&d=mm&r=g)
On Tuesday 30 January 2018 14:47:09 Felix Miata wrote:
Liam Proven composed on 2018-01-30 11:53 (UTC+0100):
On Mon, 29 Jan 2018 15:24:27 -0500 Felix Miata wrote:
What exactly are the differences among the possible zypp types?
From the CaaSP documentation I'm working on:
...
*type* Zypper is able to work with three types of repository: yast2 and rpm-md (yum) repositories, as well as plaindir - plain directories containing .rpm files.
... Same obtuse description as I found on https://en.opensuse.org/SDB:Zypper_manual_%28plain%29 before starting the thread.
Maybe we (zypper) should start to deprecate this option. The repo type is autodetected and remembered in the .repo file. Checking whether to refresh the repo metadata, zypp starts looking for the remembered type of metadata before running an new autodetection (in case the type has changed). libzypp < 16.14.0 does not re-probe automatically. In case the repo typo changes one needs to manually delete the 'type=...' from the .repo file to trigger re-probing. Actually you should not need to use --type with addrepo.
Does it mean that type=rpm-md and type=yum are both valid?
Type names and accepted aliases "rpm-md" | "rpm"|"rpmmd"|"repomd"|"yum"|"up2date"; "yast2" | "yast"|"susetags";
What distinguishes a yast2 repo from an rpm-md repo?
The on-disk layout and format of metadata files and packages: "yast2": openSUSE:repo-oss/content (Master index file) openSUSE:repo-oss/content.asc openSUSE:repo-oss/content.key openSUSE:repo-oss/suse/setup/descr/ (Additional metadata files) openSUSE:repo-oss/suse/setup/descr/appdata-icons.tar.gz openSUSE:repo-oss/suse/setup/descr/appdata-screenshots.tar openSUSE:repo-oss/suse/setup/descr/appdata.xml.gz openSUSE:repo-oss/suse/setup/descr/packages.DU.gz openSUSE:repo-oss/suse/setup/descr/packages.de.gz openSUSE:repo-oss/suse/setup/descr/packages.en.gz openSUSE:repo-oss/suse/setup/descr/packages.fr.gz openSUSE:repo-oss/suse/setup/descr/packages.gz openSUSE:repo-oss/suse/<ARCH>/ (Rpm packages) "rpm-md": openSUSE:update-oss/repodata/repomd.xml (Master index file) openSUSE:update-oss/repodata/repomd.xml.asc openSUSE:update-oss/repodata/repomd.xml.key openSUSE:update-oss/repodata/ (Additional metadata files) openSUSE:update-oss/repodata/updateinfo.xml.gz openSUSE:update-oss/repodata/app-icons.tar.gz openSUSE:update-oss/repodata/primary.xml.gz openSUSE:update-oss/repodata/deltainfo.xml.gz openSUSE:update-oss/repodata/suseinfo.xml.gz openSUSE:update-oss/repodata/appdata.xml.gz openSUSE:update-oss/<ARCH>/ (Rpm packages)
Also, is it valid to omit a type?
Yes, it's autodetected. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX GmbH, Development, ma@suse.com Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 74 053-0 +------------------------------------------------------------------+ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) +------------------------------------------------------------------+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org