[Lxc-users] lxc-centos/lxc-rhel?

Michael H. Warfield mhw at WittsEnd.com
Mon Sep 30 20:41:15 UTC 2013


On Mon, 2013-09-30 at 12:14 -0400, Dwight Engen wrote: 
> On Sat, 28 Sep 2013 09:52:15 +0700
> "Fajar A. Nugraha" <list at fajar.net> wrote:
> 
> > On Sat, Sep 28, 2013 at 3:03 AM, Michael H. Warfield
> > <mhw at wittsend.com>wrote:
> > 
> > > On Fri, 2013-09-27 at 10:38 +0700, Fajar A. Nugraha wrote:
> > > > In particular, it solves the problem of mismatched rpmdb version
> > > > (i.e. when installing centos5 on latest ubuntu) by doing "yum
> > > > install" twice.
> > >
> > > I accomplished that with an "rpm --rebuilddb" sortly after
> > > installing the minimal packages.
> > >
> > >
> > 
> > Unfortunatey using JUST that didn't work last time I tested installing
> > Centos 5 from Ubuntu 12.04. So what I did was:
> > - move rpmdb location to the correct place (Ubuntu put this in
> > $HOME/.rpmdb)
> > - try rpm --rebulddb
> > - test with yum
> > - if yum still complains, then reinstall a new environment using
> > yum/rpm from the temporary environment.

> Hi guys, just wanted to mention in case it helps is that the way I
> solved the db version mismatch in the oracle linux template was to
> use db_dump | db_load.

Nice.  Found it in the Oracle template and I'm going to blatantly
plagerize the code I need for the Fedora template.  I found just the
right spot too, where I'm in the bootstrap code that may be of one
version having just built a container of a differing version.  That'll
delay my patch for a couple more days while I integrate that and test it
out but that's a great catch.

Many thanks!

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130930/309ca121/attachment.pgp>


More information about the lxc-users mailing list