Error: Failed to retrieve the current status of the installed packages. (Details)

Discussion in 'Tasks Discussion' started by GTMANAGEMENT, Jul 10, 2013.

  1. GTMANAGEMENT

    GTMANAGEMENT Bit Poster

    Messages:
    1
    This is the details. I get that the installed version is different than the package but I don't know how to get by this error.

    Can not update packages: ' vzpkg update -q -n -p 18660' exec failed -
    Transaction Check Error:
    file /usr/bin/msql2mysql from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysql from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysql_find_rows from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysql_waitpid from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlaccess from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqladmin from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlbinlog from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlcheck from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqldump from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlimport from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlshow from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/bin/mysqlslap from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysql.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysql_waitpid.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlslap.1.gz from install of mysql-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/msql2mysql.1.gz from install of mysql-server-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlbinlog.1.gz from install of mysql-server-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlcheck.1.gz from install of mysql-server-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    file /usr/share/man/man1/mysqlimport.1.gz from install of mysql-server-5.5.32-19.el6.art.x86_64 conflicts with file from package MySQL55-client-5.5.31-1.cp1136.x86_64
    Error Summary
    -------------
    Error: /usr/share/vzyum/bin/yum failed, exitcode=1
     
  2. Andrew@Parallels

    Andrew@Parallels Kilo Poster

    Messages:
    22
    This issue looks like RPM dependencies conflict. Most likely templates installed into container intend to provide packages conflicting with those which are already installed inside the container. It may occur when custom repositories are specified from inside the container and\or custom RPM packages were installed from inside the container.
    The resolution to the problem is to resolve these dependencies.
    1. Check repositories specified in /etc/yum.repos.d/*.repo inside the container. Compare the ones which are provided by templates.
    2. Find out repositories used by templates:
    a. vzpkg list 18660
    b. check files /vz/template/OS/VER/ARCH/config/os/default/repositories and /vz/template/OS/VER/ARCH/config/os/default/mirrorlist
    3. If there is a mismatch, either upgrade packages from inside the container or disable conflicting repositories in that container and upgrade from the hardware node.
    In this particular situation it appears that a newer package of mysql-5.5.32-19.el6 from ART was installed inside the container and stock OS repositories used by templates have older version of MySQL.
    So there are two workarounds – downgrade mysql by removing ART repository, mysql and all conflicting packages or to add ART repository to template repositories list.
     

Share This Page