riak 1.4.0 upgrade failed

kzhang kzhang at wayfair.com
Fri Jul 19 10:58:53 EDT 2013


Hi, 

Thanks for the reply. Sorry, I tried a few times, I did stop it at some
point, still the same result. Just tried again and here is the result:

# riak stop
Attempting to restart script through sudo -H -u riak ok

# riak-admin status
Attempting to restart script through sudo -H -u riak Node is not running!

# sudo rpm -Uvhv riak-1.4.0-1.el6.x86_64.rpm
D: ============== riak-1.4.0-1.el6.x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
D:  read h#     457 Header sanity check: OK
D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: Expected size:     25326908 = lead(96)+sigs(180)+pad(4)+data(25326628)
D:   Actual size:     25326908
D: riak-1.4.0-1.el6.x86_64.rpm: Header SHA1 digest: OK
(f2fc385c419ea7010a2691e6c7e7e8ad51a045a6)
D: ========== relocations
D:  read h#     496 Header SHA1 digest: OK
(7b0796f33bb3381f63e1d28c779198e8313729d0)
D:      added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ riak-1.4.0-1.el6 x86_64/linux 0x2
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
D:  read h#      13 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: /bin/bash                                     YES (db files)
D:  Requires: /bin/sh                                       YES (db files)
D:  Requires: /bin/sh                                       YES (cached)
D:  Requires: /bin/sh                                       YES (cached)
D:  read h#     155 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: /usr/bin/env                                  YES (db files)
D:  Requires: config(riak) = 1.4.0-1.el6                    YES (added
provide)
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D:  read h#      11 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: libc.so.6()(64bit)                            YES (db
provides)
D:  Requires: libc.so.6(GLIBC_2.2.5)(64bit)                 YES (db
provides)
D:  Requires: libc.so.6(GLIBC_2.3)(64bit)                   YES (db
provides)
D:  Requires: libc.so.6(GLIBC_2.3.2)(64bit)                 YES (db
provides)
D:  Requires: libc.so.6(GLIBC_2.3.4)(64bit)                 YES (db
provides)
D:  read h#     157 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: libcrypto.so.10()(64bit)                      YES (db
provides)
D:  Requires: libdl.so.2()(64bit)                           YES (db
provides)
D:  Requires: libdl.so.2(GLIBC_2.2.5)(64bit)                YES (db
provides)
D:  read h#       1 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: libgcc_s.so.1()(64bit)                        YES (db
provides)
D:  Requires: libgcc_s.so.1(GCC_3.0)(64bit)                 YES (db
provides)
D:  Requires: libm.so.6()(64bit)                            YES (db
provides)
D:  Requires: libm.so.6(GLIBC_2.2.5)(64bit)                 YES (db
provides)
D:  read h#      12 Header V3 RSA/SHA256 Signature, key ID c105b9de: OK
D:  Requires: libncurses.so.5()(64bit)                      YES (db
provides)
D:  Requires: libpthread.so.0()(64bit)                      YES (db
provides)
D:  Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)           YES (db
provides)
D:  Requires: libpthread.so.0(GLIBC_2.3.2)(64bit)           YES (db
provides)
D:  Requires: librt.so.1()(64bit)                           YES (db
provides)
D:  Requires: librt.so.1(GLIBC_2.2.5)(64bit)                YES (db
provides)
D:  Requires: libssl.so.10()(64bit)                         YES (db
provides)
D:  read h#      27 Header V3 RSA/SHA1 Signature, key ID c105b9de: OK
D:  Requires: libstdc++.so.6()(64bit)                       YES (db
provides)
D:  Requires: libstdc++.so.6(CXXABI_1.3)(64bit)             YES (db
provides)
D:  Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)            YES (db
provides)
D:  Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)         YES (db
provides)
D:  Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)          YES (db
provides)
D:  Requires: libtinfo.so.5()(64bit)                        YES (db
provides)
D:  Requires: libutil.so.1()(64bit)                         YES (db
provides)
D:  Requires: libutil.so.1(GLIBC_2.2.5)(64bit)              YES (db
provides)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib
provides)
D:  Requires: rpmlib(FileDigests) <= 4.6.0-1                YES (rpmlib
provides)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib
provides)
D:  Requires: rtld(GNU_HASH)                                YES (db
provides)
D:  Requires: rpmlib(PayloadIsXz) <= 5.2-1                  YES (rpmlib
provides)
D: opening  db index       /var/lib/rpm/Conflictname rdonly mode=0x0
D: ========== --- riak-1.3.2-2.el6 x86_64/linux 0x2
D: opening  db index       /var/lib/rpm/Requirename rdonly mode=0x0
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree,
depth)
D:     0    0    0    0    1   +riak-1.4.0-1.el6.x86_64
D:     1    0    0    1    1   -riak-1.3.2-2.el6.x86_64
D: installing binary packages
D: closed   db index       /var/lib/rpm/Conflictname
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Requirename
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: sanity checking 2 elements
D: opening  db index       /var/lib/rpm/Name create mode=0x42
D:  read h#     496 Header SHA1 digest: OK
(7b0796f33bb3381f63e1d28c779198e8313729d0)
D: running pre-transaction scripts
D: computing 4357 file fingerprints
Preparing...                D: computing file dispositions
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
D: 0x0000fd00     4096       477283       158983 /
D: 0x0000fd02     4096       176259        62467 /var
########################################### [100%]
D: ========== +++ riak-1.4.0-1.el6 x86_64-linux 0x2
D: Expected size:     25326908 = lead(96)+sigs(180)+pad(4)+data(25326628)
D:   Actual size:     25326908
D: riak-1.4.0-1.el6.x86_64: Header SHA1 digest: OK
(f2fc385c419ea7010a2691e6c7e7e8ad51a045a6)
D:   install: riak-1.4.0-1.el6 has 2227 files, test = 0
D: opening  db index       /var/lib/rpm/Triggername create mode=0x42
D:   install: %pre(riak-1.4.0-1.el6.x86_64) scriptlet start
D:   install: %pre(riak-1.4.0-1.el6.x86_64)     execv(/bin/sh) pid 20966
+ getent group riak
+ getent passwd riak
+ usermod -d /var/lib/riak riak
usermod: user riak is currently logged in
D:   install: waitpid(20966) rc 20966 status 800 secs 0.304
error: %pre(riak-1.4.0-1.el6.x86_64) scriptlet failed, exit status 8
error:   install: %pre scriptlet failed (2), skipping riak-1.4.0-1.el6
D: ========== +++ riak-1.3.2-2.el6 x86_64-linux 0x2
D: element riak-1.3.2-2.el6.x86_64 marked as failed, skipping
D: running post-transaction scripts
D: closed   db index       /var/lib/rpm/Triggername
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm




--
View this message in context: http://riak-users.197444.n3.nabble.com/riak-1-4-0-upgrade-failed-tp4028429p4028434.html
Sent from the Riak Users mailing list archive at Nabble.com.




More information about the riak-users mailing list