<div dir="ltr">Hello, would like to ask you how to proceed with issue with duplicate (but not really) packages. <br><br>I am syncing suse repository (opensuse42 and SLE12) and get and duplicate error. But when checking the packages [0](from primary.xml) glibc and glibc they got same nevra but different checksum (and a few more as size..) so doesn't look like real duplicates.<br><br>I've checked Pulp2 and there is used nevra+sum for repository uniqueness. In pulp3 we use only nevra. <br><br>My suggestion is to extend repo_key_fields for rpm package as is in pulp2 with pkgId (checksum). As I don't think they are really duplicates and other software can rely on specific version of package. <div><br></div><div>What do you think?<br><br><br>[0]<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><package type="rpm"><br>  <name>glibc</name><br>  <arch>src</arch><br>  <version epoch="0" ver="2.19" rel="20.3"/><br>  <checksum type="sha256" pkgid="YES">00d36c0f741b0c01a77ce318a2bbcfa59cb4dd0b24ce61f57c6205e4fa1bb310</checksum><br>  <summary>Standard Shared Libraries (from the GNU C Library)</summary><br>  <description>The GNU C Library provides the most important standard libraries used<br>by nearly all programs: the standard C library, the standard math<br>library, and the POSIX thread library. A system is not functional<br>without these libraries.</description><br>  <packager><a href="https://www.suse.com/">https://www.suse.com/</a></packager><br>  <url><a href="http://www.gnu.org/software/libc/libc.html">http://www.gnu.org/software/libc/libc.html</a></url><br>  <time file="1426696882" build="1425645307"/><br>  <size package="591662" installed="13047428" archive="974464"/><br><location href="nosrc/glibc-2.19-20.3.nosrc.rpm"/><br>  <format><br>    <rpm:license>LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+</rpm:license><br>    <rpm:vendor>SUSE LLC &lt;<a href="https://www.suse.com/&gt">https://www.suse.com/&gt</a>;</rpm:vendor><br>    <rpm:group>System/Libraries</rpm:group><br>    <rpm:buildhost>sheep16</rpm:buildhost><br>    <rpm:sourcerpm/><br>    <rpm:header-range start="872" end="144403"/><br>    <rpm:requires><br>      <rpm:entry name="pwdutils"/><br>      <rpm:entry name="xz"/><br>      <rpm:entry name="fdupes"/><br>      <rpm:entry name="systemd-rpm-macros"/><br>      <rpm:entry name="libselinux-devel"/><br>      <rpm:entry name="makeinfo"/><br>    </rpm:requires><br>  </format><br></package><br><br><package type="rpm"><br>  <name>glibc</name><br>  <arch>src</arch><br>  <version epoch="0" ver="2.19" rel="20.3"/><br>  <checksum type="sha256" pkgid="YES">353e1dc85eab8d434be83160eca4fcee11a72eec345385df125ca0835abd6068</checksum><br>  <summary>Standard Shared Libraries (from the GNU C Library)</summary><br>  <description>The GNU C Library provides the most important standard libraries used<br>by nearly all programs: the standard C library, the standard math<br>library, and the POSIX thread library. A system is not functional<br>without these libraries.</description><br>  <packager><a href="https://www.suse.com/">https://www.suse.com/</a></packager><br>  <url><a href="http://www.gnu.org/software/libc/libc.html">http://www.gnu.org/software/libc/libc.html</a></url><br>  <time file="1426696883" build="1423750734"/><br>  <size package="12678975" installed="13047285" archive="13057760"/><br><location href="src/glibc-2.19-20.3.src.rpm"/><br>  <format><br>    <rpm:license>LGPL-2.1+ and SUSE-LGPL-2.1+-with-GCC-exception and GPL-2.0+</rpm:license><br>    <rpm:vendor>SUSE LLC &lt;<a href="https://www.suse.com/&gt">https://www.suse.com/&gt</a>;</rpm:vendor><br>    <rpm:group>System/Libraries</rpm:group><br>    <rpm:buildhost>sheep02</rpm:buildhost><br>    <rpm:sourcerpm/><br>    <rpm:header-range start="872" end="144334"/><br>    <rpm:requires><br>      <rpm:entry name="pwdutils"/><br>      <rpm:entry name="xz"/><br>      <rpm:entry name="fdupes"/><br>      <rpm:entry name="systemd-rpm-macros"/><br>      <rpm:entry name="libselinux-devel"/><br>      <rpm:entry name="makeinfo"/><br>    </rpm:requires><br>  </format><br></package></font></blockquote><br>-- <br>Pavel Picka<br>Red Hat</div></div>