Libzypp/Testing/DumpRpmDb

Şuraya atla: kullan, ara

Creating an XML dump of the RPM database

libredcarpet has a nice tool to generate an XML dump.

For i386 pre-built binaries are available here.
Just set LD_LIBRARY_PATH to ~kkaempf/Export/libredcarpet , e.g.

LD_LIBRARY_PATH=~kkaempf/Export/libredcarpet:$LD_LIBRARY_PATH ~kkaempf/Export/libredcarpet/cur_to_xml

It writes the XML dump to stdout

For non-i386 architectures, grab the tar-file from here and recompile. Use the following configure line for SLES9:

./configure --enable-backend-rpm --disable-python --disable-mono --enable-rpm-version=4.1.1 --disable-static

(adapt the --enable-rpm-version parameter for other distributions.

After make is finished, you'll find the cur_to_xml binary below libredcarpet-7.0.0/tools

back ...

Last edit in Trac '02/16/06 09:56:50' by 'kkaempf'


Last edit in Trac '02/16/06 09:56:50' by 'kkaempf'


Last edit in Trac '02/16/06 09:56:50' by 'kkaempf'


Last edit in Trac '02/16/06 09:56:50' by 'kkaempf'