← Back to team overview

holland-coredev team mailing list archive

Re: Problems installing holland-mysqldump

 

Thanks guys.  I'll work on the manual install.  I actually did a manual
setup on another system last night so I think it should be fairly straight
forward.

Thanks again.

-Carlos

On Tue, Mar 6, 2012 at 11:00 AM, Andrew Garner <muzazzi@xxxxxxxxx> wrote:

> This is likely a minor packaging bug on our part as we used a
> versioned mysql-client (>= 4.1) in the holland-mysqldump control file
> and some other subpackages.  I don't believe we've ever distributed
> holland to any debian based platform that is < 4.1 so this is a little
> silly and seems to be confused by percona's debian package version for
> some reason.  This is a fairly minor change to the package control
> file so we can probably push this out in the next day or so.
>
> In the meantime, as Tim suggested you can rebuild debs from the
> source.   Something like:
>
> $ sudo apt-get install devscripts debhelper python-setuptools
> python-sphinx python-support
> $ wget
> https://launchpad.net/holland-backup/1.0/1.0.6/+download/holland-1.0.6.tar.gz
> $ tar zxvf holland-1.0.6.tar.gz
> $ cd holland-1.0.6
> $ cp -a contrib/debian/ debian/
> $ sed -i 's/mysql-client (>= 4.1)/mysql-client/g' debian/control
> $ debuild --no-tgz-check -us -uc
>
> Then installing these updates packages should fix the conflict with
> percona-server:
>
> $ dpkg -i ../holland_1.0.6-1_all.deb ../holland-common_1.0.6-1_all.deb
> ../holland-mysqldump_1.0.6-1_all.deb
> ../holland-xtrabackup_1.0.6-1_all.deb
>
> And then a normal install of percona-server (either before or after)
> shouldn't cause any outstanding issues.
>
> The magic here is simply correcting the versioned mysql-client depends
> in debian/control with sed.   After some testing I'll push these
> changes to our OBS repos.
>
> ~Andrew
>
> On Tue, Mar 6, 2012 at 7:41 AM, Tim Soderstrom
> <tim@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > I will have to look at this a bit later, time permitting, but I think
> the problem is that the Percona DEBs are not exposing all their
> capabilities properly. You may be able to force the issue using 'dpkg'.
> Otherwise, you can manually install the plugins, but will likely need to
> grab the latest Holland source distribution and try to roll your own debs
> (scripts are included, though not sure if they may need a few
> modifications) or doing a standard, non package, install.
> >
> > If I have time later today I'll take a look. I do recall getting around
> this using DEB packages but have since just switched back to the system
> install of MySQL since the Percona DEBs were giving me other headaches as I
> recall.
> >
> > On Mar 5, 2012, at 9:52 PM, Carlos Diaz wrote:
> >
> >> Greetings,
> >>
> >> I'm working on a proof of concept and trying to install the
> holland-mysqldump plugin via apt-get on my Ubuntu 10.04 server.  However, I
> installed perocna server from their repositories.  Now, when I try to
> install a either holland-mysqldump or holland-xtrabackup, it wants to
> delete my percona install.  Here is an example:
> >>
> >> root@graphite:~# aptitude install holland-mysqldump
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >> Reading extended state information
> >> Initializing package states... Done
> >> The following packages are BROKEN:
> >>   percona-server-client-5.5 percona-server-common-5.5
> >> The following NEW packages will be installed:
> >>   holland-mysqldump mysql-client{a} mysql-client-5.1{a}
> mysql-client-core-5.1{a} mysql-common{a}
> >> 0 packages upgraded, 5 newly installed, 0 to remove and 91 not upgraded.
> >> Need to get 9,178kB of archives. After unpacking 24.3MB will be used.
> >> The following packages have unmet dependencies:
> >>   percona-server-client-5.5: Conflicts: mysql-client (<
> 5.5.20-rel24.1-217.lucid) but 5.1.41-3ubuntu12.10 is to be installed.
> >>                              Conflicts: mysql-client-5.1 but
> 5.1.41-3ubuntu12.10 is to be installed.
> >>                              Conflicts: mysql-client-core-5.1 but
> 5.1.41-3ubuntu12.10 is to be installed.
> >>   percona-server-common-5.5: Conflicts: mysql-common but
> 5.1.41-3ubuntu12.10 is to be installed.
> >>                              Conflicts: mysql-common-4.1 which is a
> virtual package.
> >> The following actions will resolve these dependencies:
> >>
> >> Remove the following packages:
> >> percona-server-client-5.5
> >> percona-server-common-5.5
> >> percona-server-server-5.5
> >>
> >> Score is -457
> >>
> >> Accept this solution? [Y/n/q/?] n
> >> The following actions will resolve these dependencies:
> >>
> >> Remove the following packages:
> >> percona-server-client-5.5
> >> percona-server-server-5.5
> >>
> >> Keep the following packages at their current version:
> >> holland-mysqldump [Not Installed]
> >> mysql-client [Not Installed]
> >> mysql-client-5.1 [Not Installed]
> >> mysql-common [Not Installed]
> >>
> >> Score is -10072
> >>
> >> Accept this solution? [Y/n/q/?] q
> >> Abandoning all efforts to resolve these dependencies.
> >>
> >>
> >> Is there a way to manually install the holland-mysqldump and
> holland-xtrabackup plugins?
> >>
> >> Regards,
> >> Carlos
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~holland-coredev
> >> Post to     : holland-coredev@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~holland-coredev
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~holland-coredev
> > Post to     : holland-coredev@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~holland-coredev
> > More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References