[MDEV-11982] MariaDB-10.1.21-centos6-x86_64-server.rpm fails to be included in repodata Created: 2017-02-03  Updated: 2017-02-03  Resolved: 2017-02-03

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.1.21
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Brian Hill Assignee: Daniel Bartholomew
Resolution: Cannot Reproduce Votes: 0
Labels: 10.1, 10.1.21, MariaDB-server, repodata, rpm, yum
Environment:

CentOS 6 x86_64



 Description   

This rpm isn't being included in the repo data:

https://yum.mariadb.org/10.1/rhel6-amd64/rpms/MariaDB-10.1.21-centos6-x86_64-server.rpm

The repo catalog:

https://yum.mariadb.org/10.1/rhel6-amd64/repodata/02f0db49b9eed6e4d6e980e0e3b487c4a6e4142192b4687a0247b69fdd84a92a-primary.xml.gz

The needed tags in the server rpm seem to be missing. When I download the rpm and run createrepo just on that one rpm, the catalog shows nothing, just as it is missing in the maria db yum catalog.



 Comments   
Comment by Daniel Bartholomew [ 2017-02-03 ]

In the primary.xml file I see the MariaDB-10.1.21-centos6-x86_64-server.rpm file.

Here's the entry:

<package type="rpm">
  <name>MariaDB-server</name>
  <arch>x86_64</arch>
  <version epoch="0" ver="10.1.21" rel="1.el6"/>
  <checksum type="sha256" pkgid="YES">8559385ab13f7480e5d8ac607a36fe4e71fa0caa55ad0cff5235e4acf153b628</checksum>
  <summary>MariaDB: a very fast and robust SQL database server</summary>
  <description>
 
It is GPL v2 licensed, which means you can use the it free of charge under the
conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
 
MariaDB documentation can be found at https://mariadb.com/kb
MariaDB bug reports should be submitted through https://jira.mariadb.org</description>
  <packager></packager>
  <url>http://mariadb.org</url>
  <time file="1484701569" build="1484694020"/>
  <size package="110303136" installed="469255162" archive="469284364"/>
<location href="rpms/MariaDB-10.1.21-centos6-x86_64-server.rpm"/>
  <format>
    <rpm:license>GPLv2</rpm:license>
    <rpm:vendor>Monty Program AB</rpm:vendor>
    <rpm:group>Applications/Databases</rpm:group>
    <rpm:buildhost>centos6-amd64</rpm:buildhost>
    <rpm:sourcerpm>MariaDB-server-10.1.21-1.el6.src.rpm</rpm:sourcerpm>
    <rpm:header-range start="456" end="42704"/>
    <rpm:provides>
      <rpm:entry name="MariaDB"/>
      <rpm:entry name="MySQL"/>
      <rpm:entry name="MySQL-server"/>
      <rpm:entry name="auth_pam.so()(64bit)"/>
      <rpm:entry name="auth_socket.so()(64bit)"/>
      <rpm:entry name="config(MariaDB-server)" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
      <rpm:entry name="config(mysql-server)" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
      <rpm:entry name="file_key_management.so()(64bit)"/>
      <rpm:entry name="ha_archive.so()(64bit)"/>
      <rpm:entry name="ha_blackhole.so()(64bit)"/>
      <rpm:entry name="ha_federated.so()(64bit)"/>
      <rpm:entry name="ha_federatedx.so()(64bit)"/>
      <rpm:entry name="ha_innodb.so()(64bit)"/>
      <rpm:entry name="ha_mroonga.so()(64bit)"/>
      <rpm:entry name="ha_sphinx.so()(64bit)"/>
      <rpm:entry name="ha_spider.so()(64bit)"/>
      <rpm:entry name="ha_tokudb.so()(64bit)"/>
      <rpm:entry name="handlersocket.so()(64bit)"/>
      <rpm:entry name="libmysqld.so.18()(64bit)"/>
      <rpm:entry name="locales.so()(64bit)"/>
      <rpm:entry name="metadata_lock_info.so()(64bit)"/>
      <rpm:entry name="msqlormysql"/>
      <rpm:entry name="mysql-server"/>
      <rpm:entry name="mysql-server" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
      <rpm:entry name="mysql-server(x86-64)" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
      <rpm:entry name="query_cache_info.so()(64bit)"/>
      <rpm:entry name="query_response_time.so()(64bit)"/>
      <rpm:entry name="semisync_master.so()(64bit)"/>
      <rpm:entry name="semisync_slave.so()(64bit)"/>
      <rpm:entry name="server_audit.so()(64bit)"/>
      <rpm:entry name="simple_password_check.so()(64bit)"/>
      <rpm:entry name="sql_errlog.so()(64bit)"/>
      <rpm:entry name="wsrep_info.so()(64bit)"/>
      <rpm:entry name="MariaDB-server" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
      <rpm:entry name="MariaDB-server(x86-64)" flags="EQ" epoch="0" ver="10.1.21" rel="1.el6"/>
    </rpm:provides>
    <rpm:requires>
      <rpm:entry name="grep"/>
      <rpm:entry name="rsync"/>
      <rpm:entry name="libz.so.1()(64bit)"/>
      <rpm:entry name="iproute"/>
      <rpm:entry name="libstdc++.so.6(CXXABI_1.3.3)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.6)(64bit)"/>
      <rpm:entry name="/bin/sh" pre="1"/>
      <rpm:entry name="perl(File::Temp)"/>
      <rpm:entry name="tar"/>
      <rpm:entry name="perl(POSIX)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.10)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4)(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(CXXABI_1.3.2)(64bit)"/>
      <rpm:entry name="libdl.so.2()(64bit)"/>
      <rpm:entry name="perl(File::Path)"/>
      <rpm:entry name="perl(Data::Dumper)"/>
      <rpm:entry name="libcrypt.so.1(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libz.so.1(ZLIB_1.2.0)(64bit)"/>
      <rpm:entry name="libjemalloc.so.1()(64bit)"/>
      <rpm:entry name="libaio.so.1(LIBAIO_0.4)(64bit)"/>
      <rpm:entry name="libssl.so.10()(64bit)"/>
      <rpm:entry name="libstdc++.so.6()(64bit)"/>
      <rpm:entry name="libm.so.6(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libpam.so.0(LIBPAM_1.0)(64bit)"/>
      <rpm:entry name="which"/>
      <rpm:entry name="lsof"/>
      <rpm:entry name="perl(vars)"/>
      <rpm:entry name="libaio.so.1()(64bit)"/>
      <rpm:entry name="/bin/sh"/>
      <rpm:entry name="libcrypto.so.10()(64bit)"/>
      <rpm:entry name="ld-linux-x86-64.so.2()(64bit)"/>
      <rpm:entry name="libpam.so.0()(64bit)"/>
      <rpm:entry name="librt.so.1(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libm.so.6()(64bit)"/>
      <rpm:entry name="perl(File::Basename)"/>
      <rpm:entry name="perl(File::Copy)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.9)(64bit)"/>
      <rpm:entry name="libaio.so.1(LIBAIO_0.1)(64bit)"/>
      <rpm:entry name="libc.so.6(GLIBC_2.8)(64bit)"/>
      <rpm:entry name="ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)"/>
      <rpm:entry name="gawk"/>
      <rpm:entry name="perl(Getopt::Long)"/>
      <rpm:entry name="libpthread.so.0()(64bit)"/>
      <rpm:entry name="MariaDB-common"/>
      <rpm:entry name="libcrypto.so.10(OPENSSL_1.0.1)(64bit)"/>
      <rpm:entry name="librt.so.1()(64bit)"/>
      <rpm:entry name="libcrypto.so.10(libcrypto.so.10)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.7)(64bit)"/>
      <rpm:entry name="/usr/bin/perl"/>
      <rpm:entry name="/bin/bash"/>
      <rpm:entry name="libstdc++.so.6(CXXABI_1.3)(64bit)"/>
      <rpm:entry name="coreutils"/>
      <rpm:entry name="galera"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.3.2)(64bit)"/>
      <rpm:entry name="libssl.so.10(libssl.so.10)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.11)(64bit)"/>
      <rpm:entry name="perl(strict)"/>
      <rpm:entry name="perl(DBI)"/>
      <rpm:entry name="MariaDB-client"/>
      <rpm:entry name="libdl.so.2(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="perl(Sys::Hostname)"/>
      <rpm:entry name="libcrypt.so.1()(64bit)"/>
      <rpm:entry name="findutils"/>
    </rpm:requires>
    <rpm:obsoletes>
      <rpm:entry name="MariaDB"/>
      <rpm:entry name="MySQL"/>
      <rpm:entry name="mysql-server"/>
      <rpm:entry name="MySQL-server"/>
      <rpm:entry name="MariaDB-Galera-server"/>
      <rpm:entry name="MySQL-OurDelta-server"/>
      <rpm:entry name="mysql-server(x86-64)"/>
      <rpm:entry name="MariaDB-tokudb-engine" flags="LT" epoch="0" ver="10.0.5"/>
    </rpm:obsoletes>
    <file>/etc/init.d/mysql</file>
    <file>/etc/logrotate.d/mysql</file>
    <file>/etc/my.cnf.d/enable_encryption.preset</file>
    <file>/etc/my.cnf.d/server.cnf</file>
    <file>/etc/my.cnf.d/tokudb.cnf</file>
    <file>/usr/bin/aria_chk</file>
    <file>/usr/bin/aria_dump_log</file>
    <file>/usr/bin/aria_ftdump</file>
    <file>/usr/bin/aria_pack</file>
    <file>/usr/bin/aria_read_log</file>
    <file>/usr/bin/innochecksum</file>
    <file>/usr/bin/my_print_defaults</file>
    <file>/usr/bin/myisam_ftdump</file>
    <file>/usr/bin/myisamchk</file>
    <file>/usr/bin/myisamlog</file>
    <file>/usr/bin/myisampack</file>
    <file>/usr/bin/mysql_convert_table_format</file>
    <file>/usr/bin/mysql_fix_extensions</file>
    <file>/usr/bin/mysql_install_db</file>
    <file>/usr/bin/mysql_secure_installation</file>
    <file>/usr/bin/mysql_setpermission</file>
    <file>/usr/bin/mysql_tzinfo_to_sql</file>
    <file>/usr/bin/mysql_upgrade</file>
    <file>/usr/bin/mysql_zap</file>
    <file>/usr/bin/mysqlbug</file>
    <file>/usr/bin/mysqld_multi</file>
    <file>/usr/bin/mysqld_safe</file>
    <file>/usr/bin/mysqld_safe_helper</file>
    <file>/usr/bin/mysqldumpslow</file>
    <file>/usr/bin/mysqlhotcopy</file>
    <file>/usr/bin/perror</file>
    <file>/usr/bin/replace</file>
    <file>/usr/bin/resolve_stack_dump</file>
    <file>/usr/bin/resolveip</file>
    <file>/usr/bin/tokuft_logprint</file>
    <file>/usr/bin/tokuftdump</file>
    <file>/usr/bin/wsrep_sst_common</file>
    <file>/usr/bin/wsrep_sst_mysqldump</file>
    <file>/usr/bin/wsrep_sst_rsync</file>
    <file>/usr/bin/wsrep_sst_xtrabackup</file>
    <file>/usr/bin/wsrep_sst_xtrabackup-v2</file>
    <file>/usr/sbin/mysqld</file>
    <file>/usr/sbin/rcmysql</file>
    <file type="dir">/etc/my.cnf.d</file>
  </format>
</package>

Also, when I search for "mariadb-server" in yum, it shows up:

[buildbot@centos6-amd64 ~]$ yum search mariadb-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror2.evolution-host.com
 * extras: mirror.gpmidi.net
 * updates: mirror.gpmidi.net
===================================== N/S Matched: mariadb-server ======================================
MariaDB-server.x86_64 : MariaDB: a very fast and robust SQL database server
 
  Name and summary matches only, use "search all" for everything.
[buildbot@centos6-amd64 ~]$ 

Can you clarify what the issue is? Maybe I'm just not sure what you mean by tags or catalog. Thanks.

Comment by Brian Hill [ 2017-02-03 ]

Doh!

I found the problem.

I had an exclude for MariaDB-server to avoid conflicting with MariaDB-Galera-server from 5.5 (bad cut/paste job from the 5.5 yum block).

I am sooo sorry for the false alarm.

Please close this.

Thanks again!

Comment by Daniel Bartholomew [ 2017-02-03 ]

No problem! Thank you.

Comment by Daniel Bartholomew [ 2017-02-03 ]

Issue ended up being something else, so closing.

Generated at Thu Feb 08 07:54:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.