Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 10 Dec 2004 02:52:09 +0300
From: Galaxy <galaxy@....openwall.com>
To: owl-users@...ts.openwall.com
Subject: Re: Rpm updating bug?

On Fri, Dec 10, 2004 at 01:00:41AM +0200, Ruslan Radvansky wrote:

> ================================
>   log "Rebuilding RPM database"
>   $RPMD $RPM_FLAGS --root $ROOT --rebuilddb || exit 1
>   NEED_FAKE=yes
> ================================
>   we rebuild database, but because using my system's rpm, database
>   upgrade is not performed.
>   I not found any other command, that can be interpret as database
>   upgrade :(

You're quite correct here, but please look that before "rpm --rebuilddb", we
are extracting all necessary things from rpm-* and popt-* and configuring them
in the setup_rpm() function. And we are not relaying on system's rpm at all.

If you want to upgrade your rpm db1 database to db3 version. You have to run all commands from setup_rpm() function to prepare RPM environment and, after that, run $RPMD $RPM_FLAGS --root $ROOT --rebuilddb (you have to substitute all variables with real values from the instalworld.sh.

But it's much easier to download binary distribution (it's only 90Mbytes) and
run make installworld :)

--
(GM)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.