On Mon, 2013-09-30 at 12:14 -0400, Dwight Engen wrote: > On Sat, 28 Sep 2013 09:52:15 +0700 > "Fajar A. Nugraha" <l...@fajar.net> wrote: > > > On Sat, Sep 28, 2013 at 3:03 AM, Michael H. Warfield > > <m...@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. I've been trying "rpm --initdb" followed by "rpm --rebuilddb" that seems to cover the vast majority of the cases but I wasn't aware of those commands. That might be another idea. BTW... While I have your attention... The Oracle Linux template worked well on Fedora. Will it work on other distros like Arch, Alt, or Suse which doesn't have a (compatible) version of yum/rpm? That's one of my major take-aways from Linux Plumbers, to tub thump the message that these templates need to be as distro agnostic as possible. I think I now have the Fedora template in pretty good shape and will be posting a patch for that in the next day or two (after reviewing your suggestions). Many thanks! Regards, Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@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!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users