RPM Community Forums

Mailing List Message of <rpm-users>

rpm -U completes with non-zero return code but no error message

From: akiyoshi kawamura <akiyoshi.kawamura@gmail.com>
Date: Sat 20 Aug 2011 - 09:31:11 CEST
Message-ID: <CAKH4O2nz+c3yaGNUMNPHL3PWduQDvFCvievNB0GA9vy7Qi5JTg@mail.gmail.com>
Hello,

I tried to upgrage mysql_devel package by having all required rpms in
a directory. I used the following command to do the upgrade

/bin/rpm --replacepkgs --oldpackage -Uvh /v/rpm/sw/var/petidomo/*.rpm; echo 0

Here is the output; there are many warning messages but no error
message. The return code is 93. What does the return code imply?
Non-zero return code means there are failures during the upgrade. But
without error messages I am not sure what to look for.

warning: /root/e-admin_5.0/rpms/cs.latest/mysql_devel_all/apr-1.3.9-3.fc13.x864.rpm:
Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
warning: package apr = 1.3.9-3.fc13 was already added, replacing with
apr > 1.5-1.fc14
warning: package apr-util = 1.3.12-1.fc14 was already added, skipping
apr-util 1.3.9-3.fc13
warning: package apr-util-ldap = 1.3.12-1.fc14 was already added,
skipping aprtil-ldap > 1.3.9-3.fc13
warning: package glibc = 2.12.90-17 was already added, replacing with
glibc >13-1
warning: package glibc-common = 2.12.90-17 was already added,
replacing with gbc-common > 2.13-1
warning: package glibc-devel = 2.12.90-17 was already added, replacing
with glc-devel > 2.13-1
warning: package glibc-headers = 2.12.90-17 was already added, replacing with
ibc-headers > 2.13-1
warning: package httpd = 2.2.16-1.fc14 was already added, replacing with httpd
 2.2.17-1.fc14
warning: package httpd-manual = 2.2.16-1.fc14 was already added, replacing wit
httpd-manual > 2.2.17-1.fc14
warning: package httpd-tools = 2.2.16-1.fc14 was already added, replacing with
ttpd-tools > 2.2.17-1.fc14
warning: package krb5-devel = 1.8.2-10.fc14 was already added, skipping krb5-d
el > 1.8.2-6.fc14
warning: package krb5-libs = 1.8.2-10.fc14 was already added, skipping krb5-li
 > 1.8.2-6.fc14
warning: package krb5-workstation = 1.8.2-10.fc14 was already added, skipping
b5-workstation > 1.8.2-6.fc14
warning: package libcom_err = 1.41.12-5.fc14 was already added, replacing with
ibcom_err > 1.41.12-6.fc14
warning: package libcom_err-devel = 1.41.12-5.fc14 was already added, replacin
with libcom_err-devel > 1.41.12-6.fc14
warning: package libselinux = 2.0.96-5.fc14 was already added, replacing with
bselinux > 2.0.96-6.fc14.1
warning: package libselinux-devel = 2.0.96-5.fc14 was already added, replacing
ith libselinux-devel > 2.0.96-6.fc14.1
warning: package libselinux-python = 2.0.96-5.fc14 was already added, replacin
with libselinux-python > 2.0.96-6.fc14.1
warning: package libselinux-utils = 2.0.96-5.fc14 was already added, replacing
ith libselinux-utils > 2.0.96-6.fc14.1
warning: package mysql = 5.1.51-2.fc14 was already added, replacing with mysql
 5.1.56-1.fc14
warning: package mysql-libs = 5.1.51-2.fc14 was already added, replacing with
sql-libs > 5.1.56-1.fc14
warning: package mysql-server = 5.1.51-2.fc14 was already added, replacing wit
mysql-server > 5.1.56-1.fc14
warning: package ncurses = 5.7-8.20100703.fc14 was already added, replacing wi
 ncurses > 5.7-9.20100703.fc14
warning: package ncurses-base = 5.7-8.20100703.fc14 was already added, replaci
 with ncurses-base > 5.7-9.20100703.fc14
warning: package ncurses-libs = 5.7-8.20100703.fc14 was already added, replaci
 with ncurses-libs > 5.7-9.20100703.fc14
warning: package nss-softokn-freebl = 3.12.10-1.fc14 was already added, skippi
 nss-softokn-freebl > 3.12.7-6.fc14
warning: package openssl = 1.0.0a-2.fc14 was already added, replacing with ope
sl > 1.0.0d-1.fc14
warning: package openssl-devel = 1.0.0a-2.fc14 was already added, replacing wi
 openssl-devel > 1.0.0d-1.fc14
warning: package php = 5.3.3-1.fc14 was already added, replacing with php > 5.
6-1.fc14
warning: package php-cli = 5.3.3-1.fc14 was already added, replacing with php-
i > 5.3.6-1.fc14
warning: package php-common = 5.3.3-1.fc14 was already added, replacing with p
-common > 5.3.6-1.fc14
warning: package php-mysql = 5.3.3-1.fc14 was already added, replacing with ph
mysql > 5.3.6-1.fc14
warning: package php-pdo = 5.3.3-1.fc14 was already added, replacing with php-
o > 5.3.6-1.fc14
Preparing...                ########################################### [100%]
   1:libgcc                 ########################################### [  2%]
   2:glibc-common           ########################################### [  3%]
   3:nss-softokn-freebl     ########################################### [  5%]
   4:glibc                  ########################################### [  7%]
   5:libselinux             ########################################### [  8%]
   6:libcom_err             ########################################### [ 10%]
   7:php-common             ########################################### [ 12%]
   8:krb5-libs              ########################################### [ 13%]
   9:openssl                ########################################### [ 15%]
  10:mysql-libs             ########################################### [ 17%]
  11:apr                    ########################################### [ 18%]
  12:apr-util               ########################################### [ 20%]
  13:apr-devel              ########################################### [ 22%]
  14:apr-util-devel         ########################################### [ 23%]
  15:ncurses-base           ########################################### [ 25%]
  16:ncurses-libs           ########################################### [ 27%]
  17:mysql                  ########################################### [ 28%]
  18:php-cli                ########################################### [ 30%]
  19:apr-util-ldap          ########################################### [ 32%]
  20:httpd-tools            ########################################### [ 33%]
  21:httpd                  ########################################### [ 35%]
  22:php-pdo                ########################################### [ 37%]
  23:libmcrypt              ########################################### [ 38%]
  24:t1lib                  ########################################### [ 40%]
  25:php-gd                 ########################################### [ 42%]
  26:php-mcrypt             ########################################### [ 43%]
  27:php-mysql              ########################################### [ 45%]
  28:php                    ########################################### [ 47%]
  29:mysql-server           ########################################### [ 48%]
  30:ncurses                ########################################### [ 50%]
  31:krb5-workstation       ########################################### [ 52%]
  32:php-xml                ########################################### [ 53%]
  33:libselinux-python      ########################################### [ 55%]
  34:libselinux-utils       ########################################### [ 57%]
  35:PyXML                  ########################################### [ 58%]
  36:libcom_err-devel       ########################################### [ 60%]
  37:libselinux-devel       ########################################### [ 62%]
  38:krb5-devel             ########################################### [ 63%]
  39:openssl-devel          ########################################### [ 65%]
  40:glibc-headers          ########################################### [ 67%]
  41:nss-softokn-freebl     ########################################### [ 68%]
  42:glibc                  ########################################### [ 70%]
  43:glibc-devel            ########################################### [ 72%]
  44:mysql-devel            ########################################### [ 73%]
  45:httpd-devel            ########################################### [ 75%]
  46:httpd-devel            ########################################### [ 77%]
  47:httpd-manual           ########################################### [ 78%]
  48:php-pear               ########################################### [ 80%]
  49:zlib                   ########################################### [ 82%]
  50:libcom_err             ########################################### [ 83%]
  51:keyutils-libs          ########################################### [ 85%]
  52:libselinux             ########################################### [ 87%]
  53:krb5-libs              ########################################### [ 88%]
  54:openssl                ########################################### [ 90%]
  55:mysql-libs             ########################################### [ 92%]
  56:libstdc++              ########################################### [ 93%]
  57:ncurses-libs           ########################################### [ 95%]
  58:openssl-devel          ########################################### [ 97%]
  59:mysql                  ########################################### [ 98%]
  60:mysql-devel            ########################################### [100%]
93


Akiyoshi
Received on Sat Aug 20 09:50:19 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.