On Tuesday 15 February 2011 00:56:56 Jeff Johnson wrote:
> This is cleaning up "stale locks" from process 1068 abnormally exiting.

The uncleaned lock probably comes from the previous rpm -i attempt.
 
> > D: opening  db index       /var/lib/rpm/Packages
> > create:thread:auto_commit mode=0x2
> > D: pool tsi:    created size 24 limit -1 flags 0
> > D: closed   db index       /var/lib/rpm/Packages
> > D: closed   db environment /var/lib/rpm/Packages
> 
> And this looks like an empty Packages file (it won't be 0 length, but
> it will be small, like < 10Kb).
> 
> Is that the case?

mmm no, is more than 6 MB:

# ls /var/lib/rpm -l
-rw-r--r-- 1 root root  1331200 Feb 13 17:22 Basenames
-rw-r--r-- 1 root root    12288 Feb 13 17:20 Conflictname
-rw-r--r-- 1 root root   212992 Feb 13 17:22 Dirnames
-rw-r--r-- 1 root root  1314816 Feb 13 17:22 Filedigests
-rw-r--r-- 1 root root  4489216 Feb 13 17:22 Filepaths
-rw-r--r-- 1 root root    16384 Feb 13 17:22 Group
-rw-r--r-- 1 root root    16384 Feb 13 17:22 Installtid
-rw-r--r-- 1 root root    24576 Feb 13 17:22 Name
-rw-r--r-- 1 root root    32768 Feb 13 17:22 Nvra
-rw-r--r-- 1 root root     8192 Feb 13 17:22 Obsoletename
-rw-r--r-- 1 root root    16384 Feb 13 17:22 Packagecolor
-rw-r--r-- 1 root root  6373376 Feb 15 00:37 Packages
-rw-r--r-- 1 root root   167936 Feb 13 17:22 Providename
-rw-r--r-- 1 root root    45056 Feb 13 17:22 Provideversion
-rw-r--r-- 1 root root    12288 Feb 13 17:18 Pubkeys
-rw-r--r-- 1 root root   118784 Feb 13 17:22 Requirename
-rw-r--r-- 1 root root    49152 Feb 13 17:22 Requireversion
-rw-r--r-- 1 root root    49152 Feb 13 17:22 Sha1header
-rw-r--r-- 1 root root    24576 Feb 13 17:22 Sigmd5
-rw-r--r-- 1 root root     8192 Feb 13 17:22 Sourcepkgid
-rw-r--r-- 1 root root    12288 Feb 13 17:20 Triggername

Silvan

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
 
mambaSoft Store @ http://www.mambastore.it
openmamba GNU/Linux development @ http://www.openmamba.org
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to