/var/lib/rpm/Packages

Paweł Czapski the_czapa w go2.pl
Sob, 1 Mar 2003, 10:13:42 CET


Witam

Nie wiem czy to BUG w jakim z programow, ale skoro zdazylo mi sie to drugi raz 
na nowiusim systemie, to nie przypadek.
Mianowicie po zainstalowaniu ktorejs z kolei paczek rpm po prostu robi zwis na 
instalowaniu kolejnej i juz nic z nim nie mozna zrobic
# rpm -i cokkolwiek
zwis, ze ctrl-c nie pomaga, trzeba kill -9
# rpm -qa
tez nie idzie - reakcja j.w.

sprawdzilem strace'm co sie dzieje:

# strace rpm -qa 
[--ciach--]
open("/var/lib/rpm/Packages", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
read(3, "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\10\0\0\0\0\20\0\0\0\10"..., 512) = 
512
close(3)                                = 0
open("/var/lib/rpm/Packages", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(0x3, 0xbfffe410)                = 0
brk(0x82a2000)                          = 0x82a2000
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0} <unfinished ...>

przedostatnia linijka powtarza sie tak dlugo, az nie poleci ctrl-c (tu dziala 
;)

A wiec jesli /var/lib/rpm/Packages ma problemy, to zobazczymy jak jest z 
poldkiem
# poldek
ZWIS - i znowu kill -9

...i strace...
# strace poldek
[--ciach--]
open("/var/lib/rpm/Packages", O_RDONLY|O_LARGEFILE) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
read(7, "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\10\0\0\0\0\20\0\0\0\10"..., 512) = 
512
close(7)                                = 0
open("/var/lib/rpm/Packages", O_RDONLY|O_LARGEFILE) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
fstat64(0x7, 0xbfffb000)                = 0
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x409eb000
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0} <unfinished ...>

reakcje identyczna jak wyzejz rpmem

Czy mogl by mi ktos pomoc??? Tydzien temu postawilem od nowa system eby 
sprawdzic czy bedzie dobrze... a jednak jukis BUG chyba
Caly system dziala bez zarzutu, tylko tu sie cos krzaczy.

Prawie wszystkie pakiety pakiety zainstalowane z CVS, reszta z Ra/

# ls -al /var/lib/rpm/Packages
-rw-r--r--    1 root     root      8056832 03-01 03:32 /var/lib/rpm/Packages

rpm -q nie wyswietle... podaje co instalowalem (te sa z CVS):
kernel 2.4.20_2.7
glibc 2.3.1-3 w 2.4.20_2.7
rpm 4.1-12

-- 
Pawel Czapski
mailto:czapa w czapa.one.pl
Gadu-Gadu:502631



Więcej informacji o liście dyskusyjnej pld-devel-pl