rpm-python source code

Hans Christian Studt hcstudt at post10.tele.dk
Tue Apr 27 17:23:18 UTC 2004


seth vidal wrote:
> that's rpm
> the callback is just an interface into ts.run which is
> rpm/TransactionSet.run()
> 
> You'd be better served by adding
> rpm.setVerbosity(rpm.RPMLOG_DEBUG) right after rpm is imported into yum.
> 
> then you'll get the rpm debug info.

--------------------------------------cups-libs 99 % done 1/469#DEB#
D: fini      100755  1 (   0,   0)     72212 /usr/lib/libcupsimage.so.2;408e5638
GZDIO:      23 reads,   184712 total bytes in 0.050506 secs
#DEB# 210 callback(self, 1, 184712, 184712, ) 1000
cups-libs 100 % done 1/469
#DEB#
D:   +++ h#    1743 Header SHA1 digest: OK (9cd999b8160099095163a1ce285f8df538461cfc)
D: adding "cups-libs" to Name index.
D: adding 2 entries to Basenames index.
D: opening  db index       /var/lib/rpm/Group create mode=0x42
D: adding "System Environment/Libraries" to Group index.
D: opening  db index       /var/lib/rpm/Requirename create mode=0x42
D: adding 18 entries to Requirename index.
D: opening  db index       /var/lib/rpm/Providename create mode=0x42
D: adding 3 entries to Providename index.
D: opening  db index       /var/lib/rpm/Dirnames create mode=0x42
D: adding "/usr/lib/" to Dirnames index.
D: opening  db index       /var/lib/rpm/Requireversion create mode=0x42
D: adding 18 entries to Requireversion index.
D: opening  db index       /var/lib/rpm/Provideversion create mode=0x42
D: adding 3 entries to Provideversion index.
D: opening  db index       /var/lib/rpm/Installtid create mode=0x42
D: adding 1 entries to Installtid index.
D: opening  db index       /var/lib/rpm/Sigmd5 create mode=0x42
D: adding 1 entries to Sigmd5 index.
D: opening  db index       /var/lib/rpm/Sha1header create mode=0x42
D: adding "9cd999b8160099095163a1ce285f8df538461cfc" to Sha1header index.
D: opening  db index       /var/lib/rpm/Filemd5s create mode=0x42
D: adding 2 entries to Filemd5s index.
D:   install: %post(cups-libs-1.1.20-6) synchronous scriptlet start
D:   install: %post(cups-libs-1.1.20-6) execv(/sbin/ldconfig) pid 30976
------------------------
Back to the shell

The problem seems to be deep inside rpm, but where.

Mvh Hans Christian Studt
Private +45 48 79 79 89
Mobile +45 29 23 54 14
Business +45 36 14 54 14
mailto:hc at studt.dk http://hc.studt.dk
Powered by Linux 2.6.1-1.65





More information about the fedora-test-list mailing list