rpm zepsuł vservera?
Jan Rękorajski
baggins at pld-linux.org
Fri Oct 12 13:39:59 CEST 2012
On Fri, 12 Oct 2012, Zbyniu Krzystolik wrote:
> Jacek Osiecki napisał(a):
> > Witam,
> >
> > Na świeżym serwerze nie da się tworzyć nowych wirtualek :(
>
> Stare też przestają działać.
>
> # vpoldek corro -- -n th -u man
> Loading [pndir]th...
> Loading [pndir]th...
> 18874 packages read
> Removed 14 duplicate packages from available set
> Processing dependencies...
> man-1.6g-1.x86_64 obsoleted by man-1.7-1.x86_64
> man-1.7-1.x86_64 marks man-db-2.6.2-3.x86_64 (cap man-db >= 2.6.1-1)
> man-config-1.6g-1.x86_64 obsoleted by man-db-2.6.2-3.x86_64
> man-db-2.6.2-3.x86_64 marks libpipeline-1.2.0-1.x86_64 (cap libpipeline.so.1()(64bit))
> There are 3 packages to install (2 marked by dependencies), 2 to remove:
> I man-1.7-1.x86_64
> D libpipeline-1.2.0-1.x86_64 man-db-2.6.2-3.x86_64
> R man-1.6g-1.x86_64 man-config-1.6g-1.x86_64
> This operation will use 1.3MB of disk space.
> Need to get 858.3KB of archives.
> Executing vrpm-preload --upgrade -vh --root /vservers/corro...
> rpmdb: BDB0641 __db_meta_setup: /vservers/corro/.rpmdb/Packages: unexpected file type or format
> error: cannot open Packages(0) index: Invalid argument(22)
> DB: Berkeley DB 5.3.21: (May 11, 2012)
> error: cannot open Packages database in /vservers/corro/.rpmdb
Zakładam że na hoście masz już rpm5 ale vservery mają bazę z rpm4?
To powinno Ci rozwiązać problem:
vserver <guest> pkgmgmt internalize
/usr/lib/rpm/bin/dbconvert --root /vserver/<guest> --rebuilddb
vserver <guest> pkgmgmt externalize
--
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org
More information about the pld-devel-pl
mailing list