yum update fails for zoneminder.i686 0:1.28.1-1.el6

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

yum update fails for zoneminder.i686 0:1.28.1-1.el6

Post by marrs »

1st time I tried yum update:
[root@zmt ~]# yum -y update
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto,
: refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Update Process
Determining fastest mirrors
* base: centos.mirror.uber.com.au
* extras: centos.mirror.uber.com.au
* updates: centos.mirror.uber.com.au
* zmrepo: zmrepo.mehvc.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.0 MB 00:00
zmrepo | 2.9 kB 00:00
zmrepo/primary_db | 55 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package augeas-libs.i686 0:1.0.0-7.el6 will be updated
---> Package augeas-libs.i686 0:1.0.0-7.el6_6.1 will be an update
---> Package busybox.i686 1:1.15.1-20.el6 will be updated
---> Package busybox.i686 1:1.15.1-21.el6_6 will be an update
---> Package device-mapper-multipath.i686 0:0.4.9-80.el6_6.2 will be updated
---> Package device-mapper-multipath.i686 0:0.4.9-80.el6_6.3 will be an update
---> Package device-mapper-multipath-libs.i686 0:0.4.9-80.el6_6.2 will be update d
---> Package device-mapper-multipath-libs.i686 0:0.4.9-80.el6_6.3 will be an upd ate
---> Package firefox.i686 0:31.4.0-1.el6.centos will be updated
---> Package firefox.i686 0:31.5.0-1.el6.centos will be an update
---> Package kpartx.i686 0:0.4.9-80.el6_6.2 will be updated
---> Package kpartx.i686 0:0.4.9-80.el6_6.3 will be an update
---> Package libsmbclient.i686 0:3.6.23-12.el6 will be updated
---> Package libsmbclient.i686 0:3.6.23-14.el6_6 will be an update
---> Package mod_dav_svn.i686 0:1.6.11-10.el6_5 will be updated
---> Package mod_dav_svn.i686 0:1.6.11-12.el6_6 will be an update
---> Package samba.i686 0:3.6.23-12.el6 will be updated
---> Package samba.i686 0:3.6.23-14.el6_6 will be an update
---> Package samba-client.i686 0:3.6.23-12.el6 will be updated
---> Package samba-client.i686 0:3.6.23-14.el6_6 will be an update
---> Package samba-common.i686 0:3.6.23-12.el6 will be updated
---> Package samba-common.i686 0:3.6.23-14.el6_6 will be an update
---> Package samba-winbind.i686 0:3.6.23-12.el6 will be updated
---> Package samba-winbind.i686 0:3.6.23-14.el6_6 will be an update
---> Package samba-winbind-clients.i686 0:3.6.23-12.el6 will be updated
---> Package samba-winbind-clients.i686 0:3.6.23-14.el6_6 will be an update
---> Package samba4-libs.i686 0:4.0.0-64.el6.rc4 will be updated
---> Package samba4-libs.i686 0:4.0.0-66.el6_6.rc4 will be an update
---> Package subversion.i686 0:1.6.11-10.el6_5 will be updated
---> Package subversion.i686 0:1.6.11-12.el6_6 will be an update
---> Package subversion-javahl.i686 0:1.6.11-10.el6_5 will be updated
---> Package subversion-javahl.i686 0:1.6.11-12.el6_6 will be an update
---> Package thunderbird.i686 0:31.4.0-1.el6.centos will be updated
---> Package thunderbird.i686 0:31.5.0-1.el6.centos will be an update
---> Package tzdata.noarch 0:2014j-1.el6 will be updated
---> Package tzdata.noarch 0:2015a-1.el6 will be an update
---> Package tzdata-java.noarch 0:2014j-1.el6 will be updated
---> Package tzdata-java.noarch 0:2015a-1.el6 will be an update
---> Package xorg-x11-server-Xorg.i686 0:1.15.0-25.el6.centos will be updated
---> Package xorg-x11-server-Xorg.i686 0:1.15.0-25.1.el6.centos will be an updat e
---> Package xorg-x11-server-common.i686 0:1.15.0-25.el6.centos will be updated
---> Package xorg-x11-server-common.i686 0:1.15.0-25.1.el6.centos will be an upd ate
---> Package zoneminder.i686 0:1.28.0-3.el6 will be updated
---> Package zoneminder.i686 0:1.28.1-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository
Size
================================================================================
Updating:
augeas-libs i686 1.0.0-7.el6_6.1 updates 310 k
busybox i686 1:1.15.1-21.el6_6 updates 542 k
device-mapper-multipath i686 0.4.9-80.el6_6.3 updates 123 k
device-mapper-multipath-libs i686 0.4.9-80.el6_6.3 updates 191 k
firefox i686 31.5.0-1.el6.centos updates 60 M
kpartx i686 0.4.9-80.el6_6.3 updates 64 k
libsmbclient i686 3.6.23-14.el6_6 updates 1.6 M
mod_dav_svn i686 1.6.11-12.el6_6 updates 80 k
samba i686 3.6.23-14.el6_6 updates 5.0 M
samba-client i686 3.6.23-14.el6_6 updates 11 M
samba-common i686 3.6.23-14.el6_6 updates 9.9 M
samba-winbind i686 3.6.23-14.el6_6 updates 2.2 M
samba-winbind-clients i686 3.6.23-14.el6_6 updates 2.0 M
samba4-libs i686 4.0.0-66.el6_6.rc4 updates 4.1 M
subversion i686 1.6.11-12.el6_6 updates 2.2 M
subversion-javahl i686 1.6.11-12.el6_6 updates 173 k
thunderbird i686 31.5.0-1.el6.centos updates 49 M
tzdata noarch 2015a-1.el6 updates 440 k
tzdata-java noarch 2015a-1.el6 updates 175 k
xorg-x11-server-Xorg i686 1.15.0-25.1.el6.centos updates 1.3 M
xorg-x11-server-common i686 1.15.0-25.1.el6.centos updates 49 k
zoneminder i686 1.28.1-1.el6 zmrepo 4.2 M

Transaction Summary
================================================================================
Upgrade 22 Package(s)

Total download size: 154 M
Downloading Packages:
Setting up and reading Presto delta metadata
updates/prestodelta | 163 kB 00:00
Processing delta metadata
Download delta size: 12 M
(1/16): augeas-libs-1.0.0-7.el6_1.0.0-7.el6_6.1.i686.drp | 34 kB 00:00
(2/16): device-mapper-multipath-0.4.9-80.el6_6.2_0.4.9-8 | 91 kB 00:00
(3/16): device-mapper-multipath-libs-0.4.9-80.el6_6.2_0. | 59 kB 00:00
(4/16): libsmbclient-3.6.23-12.el6_3.6.23-14.el6_6.i686. | 140 kB 00:00
(5/16): mod_dav_svn-1.6.11-10.el6_5_1.6.11-12.el6_6.i686 | 30 kB 00:00
(6/16): samba-3.6.23-12.el6_3.6.23-14.el6_6.i686.drpm | 4.8 MB 00:01
(7/16): samba-common-3.6.23-12.el6_3.6.23-14.el6_6.i686. | 2.1 MB 00:00
(8/16): samba-winbind-clients-3.6.23-12.el6_3.6.23-14.el | 772 kB 00:00
(9/16): samba4-libs-4.0.0-64.el6.rc4_4.0.0-66.el6_6.rc4. | 84 kB 00:00
(10/16): subversion-1.6.11-10.el6_5_1.6.11-12.el6_6.i686 | 202 kB 00:00
(11/16): subversion-javahl-1.6.11-10.el6_5_1.6.11-12.el6 | 23 kB 00:00
(12/16): thunderbird-31.4.0-1.el6.centos_31.5.0-1.el6.ce | 2.5 MB 00:01
(13/16): tzdata-2014j-1.el6_2015a-1.el6.noarch.drpm | 291 kB 00:00
(14/16): tzdata-java-2014j-1.el6_2015a-1.el6.noarch.drpm | 89 kB 00:00
(15/16): xorg-x11-server-Xorg-1.15.0-25.el6.centos_1.15. | 976 kB 00:00
(16/16): xorg-x11-server-common-1.15.0-25.el6.centos_1.1 | 23 kB 00:00
Finishing rebuild of rpms, from deltarpms
<delta rebuild> | 76 MB 01:15
Presto reduced the update size by 85% (from 76 M to 12 M).
Package(s) data still to download: 78 M
(1/6): busybox-1.15.1-21.el6_6.i686.rpm | 542 kB 00:00
(2/6): firefox-31.5.0-1.el6.centos.i686.rpm | 60 MB 00:20
(3/6): kpartx-0.4.9-80.el6_6.3.i686.rpm | 64 kB 00:00
(4/6): samba-client-3.6.23-14.el6_6.i686.rpm | 11 MB 00:04
(5/6): samba-winbind-3.6.23-14.el6_6.i686.rpm | 2.2 MB 00:00
(6/6): zoneminder-1.28.1-1.el6.i686.rpm | 4.2 MB 00:04
--------------------------------------------------------------------------------
Total 2.3 MB/s | 78 MB 00:33
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : xorg-x11-server-common-1.15.0-25.1.el6.centos.i686 1/44
Updating : firefox-31.5.0-1.el6.centos.i686 2/44
Updating : samba4-libs-4.0.0-66.el6_6.rc4.i686 3/44
Updating : 1:busybox-1.15.1-21.el6_6.i686 4/44
Updating : tzdata-java-2015a-1.el6.noarch 5/44
Updating : thunderbird-31.5.0-1.el6.centos.i686 6/44
Updating : tzdata-2015a-1.el6.noarch 7/44
Updating : samba-common-3.6.23-14.el6_6.i686 8/44
Updating : samba-winbind-3.6.23-14.el6_6.i686 9/44
Updating : samba-winbind-clients-3.6.23-14.el6_6.i686 10/44
Updating : subversion-1.6.11-12.el6_6.i686 11/44
Updating : device-mapper-multipath-libs-0.4.9-80.el6_6.3.i686 12/44
Updating : kpartx-0.4.9-80.el6_6.3.i686 13/44
Updating : device-mapper-multipath-0.4.9-80.el6_6.3.i686 14/44
Updating : mod_dav_svn-1.6.11-12.el6_6.i686 15/44
Updating : subversion-javahl-1.6.11-12.el6_6.i686 16/44
Updating : libsmbclient-3.6.23-14.el6_6.i686 17/44
Updating : samba-client-3.6.23-14.el6_6.i686 18/44
Updating : samba-3.6.23-14.el6_6.i686 19/44
Updating : xorg-x11-server-Xorg-1.15.0-25.1.el6.centos.i686 20/44
Updating : augeas-libs-1.0.0-7.el6_6.1.i686 21/44
Updating : zoneminder-1.28.1-1.el6.i686 22/44
Error unpacking rpm package zoneminder-1.28.1-1.el6.i686
error: unpacking of archive failed on file /usr/share/zoneminder/www/events: cpi o: rename
Cleanup : samba-3.6.23-12.el6.i686 23/44
Cleanup : samba-client-3.6.23-12.el6.i686 24/44
Cleanup : device-mapper-multipath-0.4.9-80.el6_6.2.i686 25/44
Cleanup : subversion-javahl-1.6.11-10.el6_5.i686 26/44
Cleanup : libsmbclient-3.6.23-12.el6.i686 27/44
Cleanup : samba-common-3.6.23-12.el6.i686 28/44
Cleanup : samba-winbind-3.6.23-12.el6.i686 29/44
Cleanup : samba-winbind-clients-3.6.23-12.el6.i686 30/44
Cleanup : xorg-x11-server-Xorg-1.15.0-25.el6.centos.i686 31/44
Cleanup : mod_dav_svn-1.6.11-10.el6_5.i686 32/44
Cleanup : subversion-1.6.11-10.el6_5.i686 33/44
Cleanup : xorg-x11-server-common-1.15.0-25.el6.centos.i686 34/44
Cleanup : device-mapper-multipath-libs-0.4.9-80.el6_6.2.i686 35/44
Cleanup : kpartx-0.4.9-80.el6_6.2.i686 36/44
Cleanup : firefox-31.4.0-1.el6.centos.i686 37/44
Cleanup : samba4-libs-4.0.0-64.el6.rc4.i686 38/44
Cleanup : 1:busybox-1.15.1-20.el6.i686 39/44
Cleanup : tzdata-java-2014j-1.el6.noarch 40/44
Cleanup : thunderbird-31.4.0-1.el6.centos.i686 41/44
Cleanup : augeas-libs-1.0.0-7.el6.i686 42/44
Cleanup : tzdata-2014j-1.el6.noarch 43/44
Verifying : tzdata-2015a-1.el6.noarch 1/44
Verifying : mod_dav_svn-1.6.11-12.el6_6.i686 2/44
Verifying : xorg-x11-server-Xorg-1.15.0-25.1.el6.centos.i686 3/44
Verifying : samba-winbind-clients-3.6.23-14.el6_6.i686 4/44
Verifying : kpartx-0.4.9-80.el6_6.3.i686 5/44
Verifying : libsmbclient-3.6.23-14.el6_6.i686 6/44
Verifying : augeas-libs-1.0.0-7.el6_6.1.i686 7/44
Verifying : device-mapper-multipath-0.4.9-80.el6_6.3.i686 8/44
Verifying : samba-common-3.6.23-14.el6_6.i686 9/44
Verifying : thunderbird-31.5.0-1.el6.centos.i686 10/44
Verifying : samba-winbind-3.6.23-14.el6_6.i686 11/44
Verifying : tzdata-java-2015a-1.el6.noarch 12/44
Verifying : 1:busybox-1.15.1-21.el6_6.i686 13/44
Verifying : samba-client-3.6.23-14.el6_6.i686 14/44
Verifying : subversion-javahl-1.6.11-12.el6_6.i686 15/44
Verifying : xorg-x11-server-common-1.15.0-25.1.el6.centos.i686 16/44
Verifying : device-mapper-multipath-libs-0.4.9-80.el6_6.3.i686 17/44
Verifying : subversion-1.6.11-12.el6_6.i686 18/44
Verifying : samba4-libs-4.0.0-66.el6_6.rc4.i686 19/44
Verifying : firefox-31.5.0-1.el6.centos.i686 20/44
Verifying : samba-3.6.23-14.el6_6.i686 21/44
Verifying : samba-winbind-clients-3.6.23-12.el6.i686 22/44
Verifying : xorg-x11-server-common-1.15.0-25.el6.centos.i686 23/44
Verifying : samba-3.6.23-12.el6.i686 24/44
Verifying : firefox-31.4.0-1.el6.centos.i686 25/44
Verifying : device-mapper-multipath-0.4.9-80.el6_6.2.i686 26/44
Verifying : subversion-1.6.11-10.el6_5.i686 27/44
Verifying : samba-client-3.6.23-12.el6.i686 28/44
Verifying : augeas-libs-1.0.0-7.el6.i686 29/44
Verifying : samba-winbind-3.6.23-12.el6.i686 30/44
Verifying : samba4-libs-4.0.0-64.el6.rc4.i686 31/44
Verifying : zoneminder-1.28.1-1.el6.i686 32/44
Verifying : samba-common-3.6.23-12.el6.i686 33/44
zoneminder-1.28.0-3.el6.i686 was supposed to be removed but is not!
Verifying : zoneminder-1.28.0-3.el6.i686 34/44
Verifying : device-mapper-multipath-libs-0.4.9-80.el6_6.2.i686 35/44
Verifying : tzdata-java-2014j-1.el6.noarch 36/44
Verifying : thunderbird-31.4.0-1.el6.centos.i686 37/44
Verifying : 1:busybox-1.15.1-20.el6.i686 38/44
Verifying : libsmbclient-3.6.23-12.el6.i686 39/44
Verifying : xorg-x11-server-Xorg-1.15.0-25.el6.centos.i686 40/44
Verifying : kpartx-0.4.9-80.el6_6.2.i686 41/44
Verifying : subversion-javahl-1.6.11-10.el6_5.i686 42/44
Verifying : mod_dav_svn-1.6.11-10.el6_5.i686 43/44
Verifying : tzdata-2014j-1.el6.noarch 44/44

Updated:
augeas-libs.i686 0:1.0.0-7.el6_6.1 busybox.i686 1:1.15.1-21.el6_6
device-mapper-multipath.i686 0:0.4.9-80.el6_6.3 device-mapper-multipath-libs.i686 0:0.4.9-80.el6_6.3
firefox.i686 0:31.5.0-1.el6.centos kpartx.i686 0:0.4.9-80.el6_6.3
libsmbclient.i686 0:3.6.23-14.el6_6 mod_dav_svn.i686 0:1.6.11-12.el6_6
samba.i686 0:3.6.23-14.el6_6 samba-client.i686 0:3.6.23-14.el6_6
samba-common.i686 0:3.6.23-14.el6_6 samba-winbind.i686 0:3.6.23-14.el6_6
samba-winbind-clients.i686 0:3.6.23-14.el6_6 samba4-libs.i686 0:4.0.0-66.el6_6.rc4
subversion.i686 0:1.6.11-12.el6_6 subversion-javahl.i686 0:1.6.11-12.el6_6
thunderbird.i686 0:31.5.0-1.el6.centos tzdata.noarch 0:2015a-1.el6
tzdata-java.noarch 0:2015a-1.el6 xorg-x11-server-Xorg.i686 0:1.15.0-25.1.el6.centos
xorg-x11-server-common.i686 0:1.15.0-25.1.el6.centos

Failed:
zoneminder.i686 0:1.28.0-3.el6 zoneminder.i686 0:1.28.1-1.el6

Complete!


I then tried yum update with zonemi9nder service stopped and zoneminder updated without a hitch.

One update complete, zoneminder service refused to start.

from /var/log/messages:
Feb 26 20:25:04 zmt web_php[2474]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-239733s.sock ) failed: No such file or directory]
Feb 26 20:25:05 zmt web_php[2497]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:08 zmt yum[2833]: zoneminder-1.28.1-1.el6.i686: 100
Feb 26 20:25:15 zmt web_php[2480]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:16 zmt web_php[2476]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:26 zmt web_php[2471]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:27 zmt web_php[2497]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:37 zmt web_php[2476]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:38 zmt web_php[2471]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:48 zmt web_php[2497]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:49 zmt web_php[2480]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:50 zmt web_php[2476]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:25:59 zmt web_php[2471]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:26:00 zmt web_php[2497]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:26:10 zmt web_php[2480]: ERR [Unrecognised action or insufficient permissions]
Feb 26 20:26:11 zmt web_php[2476]: ERR [Unrecognised action or insufficient permissions]


Appreciate a pointer to a quick fix please as we got no security cameras atm?


thanks mark
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

Re: yum update fails for zoneminder.i686 0:1.28.1-1.el6

Post by marrs »

Subsequent updates say:
[root@zmt www]# yum -y update zoneminder
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security,
: tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.uber.com.au
* extras: centos.mirror.uber.com.au
* updates: centos.mirror.uber.com.au
* zmrepo: zmrepo.mehvc.com
Resolving Dependencies
--> Running transaction check
---> Package zoneminder.i686 0:1.28.0-3.el6 will be updated
---> Package zoneminder.i686 0:1.28.1-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Updating:
zoneminder i686 1.28.1-1.el6 zmrepo 4.2 M

Transaction Summary
==============================================================================================================
Upgrade 1 Package(s)

Total download size: 4.2 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 4.2 M
zoneminder-1.28.1-1.el6.i686.rpm | 4.2 MB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : zoneminder-1.28.1-1.el6.i686 1/2
Error unpacking rpm package zoneminder-1.28.1-1.el6.i686
error: unpacking of archive failed on file /usr/share/zoneminder/www/events: cpio: rename
zoneminder-1.28.0-3.el6.i686 was supposed to be removed but is not!
Verifying : zoneminder-1.28.0-3.el6.i686 1/2
Verifying : zoneminder-1.28.1-1.el6.i686 2/2

Failed:
zoneminder.i686 0:1.28.0-3.el6 zoneminder.i686 0:1.28.1-1.el6

Complete!
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

Re: yum update fails for zoneminder.i686 0:1.28.1-1.el6

Post by marrs »

so I thought to try this:

[root@zmt www]# yum erase zoneminder
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package zoneminder.i686 0:1.28.0-3.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================
Removing:
zoneminder i686 1.28.0-3.el6 @zmrepo 18 M

Transaction Summary
=========================================================================================================================================================================================
Remove 1 Package(s)

Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : zoneminder-1.28.0-3.el6.i686 1/1

Removing ZoneMinder SELinux policy module. Please wait.

warning: /etc/httpd/conf.d/zoneminder.conf saved as /etc/httpd/conf.d/zoneminder.conf.rpmsave
Verifying : zoneminder-1.28.0-3.el6.i686 1/1

Removed:
zoneminder.i686 0:1.28.0-3.el6

Complete!
[root@zmt www]# yum -y install zoneminder
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.uber.com.au
* extras: centos.mirror.uber.com.au
* updates: centos.mirror.uber.com.au
* zmrepo: zmrepo.mehvc.com
Resolving Dependencies
--> Running transaction check
---> Package zoneminder.i686 0:1.28.1-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Installing:
zoneminder i686 1.28.1-1.el6 zmrepo 4.2 M

Transaction Summary
===================================================================================================================================================================================================================
Install 1 Package(s)

Total download size: 4.2 M
Installed size: 18 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 4.2 M
zoneminder-1.28.1-1.el6.i686.rpm | 4.2 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : zoneminder-1.28.1-1.el6.i686 1/1
Error unpacking rpm package zoneminder-1.28.1-1.el6.i686
error: unpacking of archive failed on file /usr/share/zoneminder/www/events: cpio: rename
Verifying : zoneminder-1.28.1-1.el6.i686 1/1

Failed:
zoneminder.i686 0:1.28.1-1.el6

Complete!

):
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

Re: yum update fails for zoneminder.i686 0:1.28.1-1.el6

Post by marrs »

sO, methinks to reinstall the old version:

[root@zmt www]# yum -y install zoneminder-1.28.0-3.el6.i686
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.uber.com.au
* extras: centos.mirror.uber.com.au
* updates: centos.mirror.uber.com.au
* zmrepo: zmrepo.mehvc.com
Resolving Dependencies
--> Running transaction check
---> Package zoneminder.i686 0:1.28.0-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Installing:
zoneminder i686 1.28.0-3.el6 zmrepo 4.2 M

Transaction Summary
===================================================================================================================================================================================================================
Install 1 Package(s)

Total download size: 4.2 M
Installed size: 18 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 4.2 M
zoneminder-1.28.0-3.el6.i686.rpm | 4.2 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : zoneminder-1.28.0-3.el6.i686 1/1
Error unpacking rpm package zoneminder-1.28.0-3.el6.i686
error: unpacking of archive failed on file /usr/share/zoneminder/www/events: cpio: rename
Verifying : zoneminder-1.28.0-3.el6.i686 1/1

Failed:
zoneminder.i686 0:1.28.0-3.el6

Complete!


Seems I am completely stuffed.
marrs
Posts: 28
Joined: Mon Dec 08, 2003 9:50 am

Re: yum update fails for zoneminder.i686 0:1.28.1-1.el6

Post by marrs »

okay source of error is I have one big disk mounted under /usr/share/zoneminder

Once unmounted I was able to reinstall (and upgrade) to 1.28.1 without issue.

I then simply copied the new version onto the disk to be mounted on /usr/share/zoneminder and updated the database.

I lost no events after the botched upgrade.

Personally, having zoneminder installable via yum is a godsend and I commend all those involved in the work.


thanks,
mark
Post Reply