Article ID: 8459, created on Apr 19, 2010, last review on Apr 30, 2014

  • Applies to:
  • Operations Automation 5.0

Symptoms

The pa50-mono EZ template installation task fails when upgrading to version 5.0:

Task ID:                      XXXXXX
Queue name:             vps_operations_YYY
Task name:                Install set of VZ templates to VPS <hostname>
Task description:        Install of following VZ templates into VPS: .pa50-mono.redhat-el5-x86_64/
Queue status:            Failed
Start not earlier than: Apr-13-2010 10:08
Last execution output: Internal error: 3501 : Can not install packages: exec failed:

Transaction Check Error: file
/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.5000.0__0738eb9f132ed756/Mono.Data.Sqlite.dll from install of
mono-data-sqlite-2.4-19.1 conflicts with file from package mono-data-sqlite-2.4-19.1
file /usr/lib/mono/gac/Mono.Data.Sqlite/1.0.5000.0__0738eb9f132ed756/Mono.Data.Sqlite.dll.mdb from install of
mono-data-sqlite-2.4-19.1 conflicts with file from package mono-data-sqlite-2.4-19.1
file /usr/lib/mono/gac/Mono.Data.Sqlite/2.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll from install of
mono-data-sqlite-2.4-19.1 conflicts with file from package mono-data-sqlite-2.4-19.1
file /usr/lib/mono/gac/Mono.Data.Sqlite/2.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll.mdb from install of
mono-data-sqlite-2.4-19.1 conflicts with file from package mono-data-sqlite-2.4-19.1
file /usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.5000.0__0738eb9f132ed756/Mono.Data.SqliteClient.dll from
install of mono-data-sqlite-2.4-19.1 conflicts with file from package mono-data-sqlite-2.4-19.1
....

You can execute the following commands inside the VZ container to ensure that you have this exact problem (note that 32-bit mono RPMs are installed into a 64-bit VZ container):

# rpm -qa --queryformat '%{NAME}.%{VERSION}.%{ARCH}\n' | grep mono
apache2-mod_mono.2.4.x86_64
mono-data.2.4.i386
mono-web.2.4.i386
mono-basic.2.4.noarch
mono-core.2.4.i386
mono-data-sqlite.2.4.i386
mono-winforms.2.4.i386
# uname -m
x86_64
#
 

 

Cause

Before 2.9hf03, there were no 64-bit mono RPMs included in the POA distribution. Thus, when the "pa-mono" EZ template was installed to the 64-bit VZ container, 32-bit mono RPMs were installed.

In 2.9hf03, 64-bit mono RPMs were added, and when the "paXX-mono" template is installed or updated, yum tries to install 64-bit RPMs as best matched by architecture.

Resolution

Remove mono RPMs from the VZ container manually (using rpm -e) and restart the failed pa50-mono EZ template installation task. After the task succeeds, 64-bit RPMs should be installed in the VZ container.

c27596ac4fff6cb4c8ec8891dae57001 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF