← Back to team overview

holland-coredev team mailing list archive

[Bug 1001162] Re: RPM upgrade on 1.0.7

 

The holland RPM packages have always, from the beginning, enforced the
subpackages/plugin packages  to depend on the leading holland release.
So here holland-xtrabackup-1.0.6 is already installed but you are only
upgrading some subset to holland-1.0.7.

You can use the OBS repo and this will automatically upgrade any other
packages:

# wget http://download.opensuse.org/repositories/home:/holland-
backup:/testing/CentOS_CentOS-5/home:holland-backup:testing.repo -O
/etc/yum.repos.d/holland.repo

# yum install holland
Setting up Install Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: holland = 1.0.6-3.el5 for package: holland-xtrabackup
--> Processing Dependency: holland = 1.0.6-3.el5 for package: holland-common
--> Processing Dependency: holland = 1.0.6-3.el5 for package: holland-pgdump
--> Processing Dependency: holland = 1.0.6-3.el5 for package: holland-mysqllvm
--> Processing Dependency: holland = 1.0.6-3.el5 for package: holland-mysqldump
---> Package holland.noarch 0:1.0.7-2.1 set to be updated
--> Running transaction check
---> Package holland-common.noarch 0:1.0.7-2.1 set to be updated
---> Package holland-mysqldump.noarch 0:1.0.7-2.1 set to be updated
---> Package holland-mysqllvm.noarch 0:1.0.7-2.1 set to be updated
---> Package holland-pgdump.noarch 0:1.0.7-2.1 set to be updated
---> Package holland-xtrabackup.noarch 0:1.0.7-2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================================
 Package                                                     Arch                                            Version                                             Repository                                                            Size
============================================================================================================================================================================================================================================
Updating:
 holland                                                     noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                          391 k
Updating for dependencies:
 holland-common                                              noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                           84 k
 holland-mysqldump                                           noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                          143 k
 holland-mysqllvm                                            noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                           64 k
 holland-pgdump                                              noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                           21 k
 holland-xtrabackup                                          noarch                                          1.0.7-2.1                                           home_holland-backup_testing                                           18 k

Transaction Summary
============================================================================================================================================================================================================================================
Install       0 Package(s)
Upgrade       6 Package(s)

Total download size: 721 k
Is this ok [y/N]:  y
Downloading Packages:
(1/6): holland-xtrabackup-1.0.7-2.1.noarch.rpm                                                                                                                                                                       |  18 kB     00:00     
(2/6): holland-pgdump-1.0.7-2.1.noarch.rpm                                                                                                                                                                           |  21 kB     00:00     
(3/6): holland-mysqllvm-1.0.7-2.1.noarch.rpm                                                                                                                                                                         |  64 kB     00:00     
(4/6): holland-common-1.0.7-2.1.noarch.rpm                                                                                                                                                                           |  84 kB     00:00     
(5/6): holland-mysqldump-1.0.7-2.1.noarch.rpm                                                                                                                                                                        | 143 kB     00:00     
(6/6): holland-1.0.7-2.1.noarch.rpm                                                                                                                                                                                  | 391 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                       150 kB/s | 721 kB     00:04     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 984d0514
home_holland-backup_testing/gpgkey                                                                                                                                                                                   | 1.0 kB     00:00     
Importing GPG key 0x984D0514 "home:holland-backup OBS Project <home:holland-backup@xxxxxxxxxxxxxxxxxx>" from http://download.opensuse.org/repositories/home:/holland-backup:/testing/CentOS_CentOS-5/repodata/repomd.xml.key
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : holland                                                                                                                                                                                                             1/12 
  Updating       : holland-common                                                                                                                                                                                                      2/12 
  Updating       : holland-xtrabackup                                                                                                                                                                                                  3/12 
  Updating       : holland-pgdump                                                                                                                                                                                                      4/12 
  Updating       : holland-mysqllvm                                                                                                                                                                                                    5/12 
  Updating       : holland-mysqldump                                                                                                                                                                                                   6/12 
  Cleanup        : holland-common                                                                                                                                                                                                      7/12 
  Cleanup        : holland                                                                                                                                                                                                             8/12 
  Cleanup        : holland-xtrabackup                                                                                                                                                                                                  9/12 
  Cleanup        : holland-pgdump                                                                                                                                                                                                     10/12 
  Cleanup        : holland-mysqllvm                                                                                                                                                                                                   11/12 
  Cleanup        : holland-mysqldump                                                                                                                                                                                                  12/12 

Updated:
  holland.noarch 0:1.0.7-2.1                                                                                                                                                                                                                

Dependency Updated:
  holland-common.noarch 0:1.0.7-2.1            holland-mysqldump.noarch 0:1.0.7-2.1            holland-mysqllvm.noarch 0:1.0.7-2.1            holland-pgdump.noarch 0:1.0.7-2.1            holland-xtrabackup.noarch 0:1.0.7-2.1           

Complete!

Obviously you don't need all these packages installed - here I happened
to have all the holland 1.0.6 packages installed from EPEL and upgraded
to the 1.0.7 test packages from OBS.

If there's some reason staying on v1.0.6 for some plugin is required we
can certainly revisit this.

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1001162

Title:
  RPM upgrade on 1.0.7

Status in Holland Backup Framework:
  New

Bug description:
  holland-xtrabackup seems to be causing issues on a RPM upgrade. I get
  around this by removing the package and then installing it fresh.
  Since this seems to be a problem with holland-
  xtrabackup-1.0.6-3.el5.noarch not sure if there is an easy fix.

  [sri@slice01 holland]$ ls -l
  total 700
  -rw-r--r-- 1 sri sri 400870 May 17 16:23 holland-1.0.7-2.1.noarch.rpm
  -rw-r--r-- 1 sri sri  85595 May 17 16:23 holland-common-1.0.7-2.1.noarch.rpm
  -rw-r--r-- 1 sri sri 146220 May 17 16:23 holland-mysqldump-1.0.7-2.1.noarch.rpm
  -rw-r--r-- 1 sri sri  65259 May 17 16:23 holland-mysqllvm-1.0.7-2.1.noarch.rpm
  [sri@slice01 holland]$ 
  [sri@slice01 holland]$ rpm -Uvh holland-*
  error: Failed dependencies:
  	holland = 1.0.6-3.el5 is needed by (installed) holland-xtrabackup-1.0.6-3.el5.noarch
  	holland-common = 1.0.6-3.el5 is needed by (installed) holland-xtrabackup-1.0.6-3.el5.noarch

  thanks,
  Sri

To manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1001162/+subscriptions


References