Problem z RPM
Jan Rękorajski
baggins at pld-linux.org
Mon Mar 18 14:27:01 CET 2013
On Mon, 18 Mar 2013, Pawel Muszynski wrote:
> W dniu 2013-03-18 14:10, Jan Rękorajski pisze:
> > On Mon, 18 Mar 2013, Jan Rękorajski wrote:
> >
> >> On Mon, 18 Mar 2013, Pawel Muszynski wrote:
> >>
> >>> [root at ocs lib64]# rpm -e compat-gcc-34-3.4.6-1.x86_64
> >>> compat-gcc-34-c++-3.4.6-1.x86_64
> >>> rpm: ./rpmio_internal.h:307: fdGetFp: Assertion `fd != ((void *)0) &&
> >>> fd->magic == 0x04463138' failed.
> >>> Aborted
> >>>
> >>>
> >>>
> >>> W jaki sposób mogę wywalić te pakiety?
> >>
> >> rpm -q rpm ?
>
> [root at ocs etc]# rpm -q rpm
> rpm-5.4.10-44.x86_64
>
>
> >> rpm -e -vvv compat-gcc-34-3.4.6-1.x86_64 ?
>
> [root at ocs etc]# rpm -e -vvv compat-gcc-34-3.4.6-1.x86_64
> D: pool fd: created size 392 limit -1 flags 0
> D: pool iob: created size 48 limit -1 flags 0
> D: pool mire: created size 136 limit -1 flags 0
> D: pool lua: created size 64 limit -1 flags 0
> D: pool ts: created size 1200 limit -1 flags 0
> D: pool db: created size 328 limit -1 flags 0
> D: pool dbi: created size 472 limit -1 flags 0
> D: rpmdb: cpus 1 physmem 994Mb
> D: opening db environment /var/lib/rpm/Packages thread:lock:log:mpool:txn
> D: opening db index /var/lib/rpm/Packages
> thread:rdonly:auto_commit mode=0x0
> D: opening db index /var/lib/rpm/Nvra thread:rdonly:auto_commit
> mode=0x0
> D: pool mi: created size 152 limit -1 flags 0
> D: pool h: created size 360 limit -1 flags 0
> D: pool bf: created size 56 limit -1 flags 0
> D: pool te: created size 368 limit -1 flags 0
> D: pool ds: created size 232 limit -1 flags 0
> D: pool fi: created size 560 limit -1 flags 0
> D: pool tsi: created size 48 limit -1 flags 0
> D: ========== --- compat-gcc-34-3.4.6-1.x86_64 x86_64/linux 0x2
> D: opening db index /var/lib/rpm/Requirename
> thread:rdonly:auto_commit mode=0x0
> D: pool ps: created size 40 limit -1 flags 0
> D: opening db index /var/lib/rpm/Providename
> thread:rdonly:auto_commit mode=0x0
> D: Requires: compat-gcc-34 = 0:3.4.6-1 NO
> D: package compat-gcc-34-c++-3.4.6-1.x86_64 has unsatisfied Requires:
> compat-gcc-34 = 0:3.4.6-1
> error: Failed dependencies:
> compat-gcc-34 = 0:3.4.6-1 is needed by (installed)
> compat-gcc-34-c++-3.4.6-1.x86_64
> D: closed db index /var/lib/rpm/Nvra
> D: closed db index /var/lib/rpm/Requirename
> D: closed db index /var/lib/rpm/Providename
> D: closed db index /var/lib/rpm/Packages
> D: closed db environment /var/lib/rpm/Packages
> D: pool mi: reused 47, alloc'd 2, free'd 2 items.
> D: pool tsi: reused 6, alloc'd 1, free'd 1 items.
> D: pool ts: reused 0, alloc'd 1, free'd 1 items.
> D: pool te: reused 0, alloc'd 1, free'd 1 items.
> D: pool ps: reused 0, alloc'd 1, free'd 1 items.
> D: pool ds: reused 3, alloc'd 12, free'd 12 items.
> D: pool fi: reused 0, alloc'd 1, free'd 1 items.
> D: pool db: reused 0, alloc'd 1, free'd 1 items.
> D: pool dbi: reused 0, alloc'd 4, free'd 4 items.
> D: pool h: reused 1, alloc'd 1, free'd 1 items.
> D: pool lua: reused 0, alloc'd 1, free'd 1 items.
> D: pool mire: reused 0, alloc'd 2, free'd 2 items.
> D: pool bf: reused 46, alloc'd 3, free'd 3 items.
> D: pool iob: reused 0, alloc'd 1, free'd 1 items.
> D: pool fd: reused 11, alloc'd 1, free'd 1 items.
> D: exit code: 1
>
>
> Jeszcze poniższe:
>
> [root at ocs etc]# rpm -e -vvv compat-gcc-34-c++-3.4.6-1.x86_64
> D: pool fd: created size 392 limit -1 flags 0
> D: pool iob: created size 48 limit -1 flags 0
> D: pool mire: created size 136 limit -1 flags 0
> D: pool lua: created size 64 limit -1 flags 0
> D: pool ts: created size 1200 limit -1 flags 0
> D: pool db: created size 328 limit -1 flags 0
> D: pool dbi: created size 472 limit -1 flags 0
> D: rpmdb: cpus 1 physmem 994Mb
> D: opening db environment /var/lib/rpm/Packages thread:lock:log:mpool:txn
> D: opening db index /var/lib/rpm/Packages
> thread:rdonly:auto_commit mode=0x0
> D: opening db index /var/lib/rpm/Nvra thread:rdonly:auto_commit
> mode=0x0
> D: pool mi: created size 152 limit -1 flags 0
> D: pool h: created size 360 limit -1 flags 0
> D: pool bf: created size 56 limit -1 flags 0
> D: pool te: created size 368 limit -1 flags 0
> D: pool ds: created size 232 limit -1 flags 0
> D: pool fi: created size 560 limit -1 flags 0
> D: pool tsi: created size 48 limit -1 flags 0
> D: ========== --- compat-gcc-34-c++-3.4.6-1.x86_64 x86_64/linux 0x2
> D: opening db index /var/lib/rpm/Requirename
> thread:rdonly:auto_commit mode=0x0
> D: pool ps: created size 40 limit -1 flags 0
> D: opening db index /var/lib/rpm/Providename
> thread:rdonly:auto_commit mode=0x0
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: Requires: libstdc++.so.6()(64bit) YES (db
> provides)
> D: pool al: created size 64 limit -1 flags 0
> D: ========== recording tsort relations
> D: ========== tsorting packages (order, #predecessors, #succesors, tree,
> Ldepth, Rbreadth)
> D: 0 0 0 1 0 0 -compat-gcc-34-c++-3.4.6-1.x86_64
> D: closed db index /var/lib/rpm/Nvra
> D: closed db index /var/lib/rpm/Requirename
> D: closed db index /var/lib/rpm/Providename
> D: closed db index /var/lib/rpm/Packages
> D: closed db environment /var/lib/rpm/Packages
> D: opening db environment /var/lib/rpm/Packages thread:lock:log:mpool:txn
> D: opening db index /var/lib/rpm/Packages
> create:thread:auto_commit mode=0x42
> D: mounted filesystems:
> D: i dev bsize bavail iavail mount point
> D: 0 0x00000801 4096 10169343 -1 rw /
> D: 1 0x00000801 4096 10169343 -1 rw /
> D: 2 0x0000000e 4096 127314 126649 rw /run
> D: 3 0x00000003 4096 1 -1 rw /proc
> D: 4 0x0000000d 4096 1 -1 rw /sys
> D: 5 0x0000000f 4096 1 -1 rw
> /sys/kernel/security
> D: 6 0x00000005 4096 127039 125691 rw /dev
> D: 7 0x0000000a 4096 1 -1 rw /dev/pts
> D: 8 0x00000010 4096 127351 127350 rw /dev/shm
> D: 9 0x00000011 4096 127351 127350 rw /sys/fs/cgroup
> D: sanity checking 1 elements
> D: running pre-transaction scripts
> D: computing 241 file fingerprints
> D: pool ht: created size 72 limit -1 flags 0
> D: computing file dispositions
> D: opening db index /var/lib/rpm/Basenames
> create:thread:auto_commit mode=0x42
> D: pool psm: created size 608 limit -1 flags 0
> D: repackage: compat-gcc-34-c++-3.4.6-1.x86_64 has 241 files, test = 0
> D: opening db index /var/lib/rpm/Name create:thread:auto_commit
> mode=0x42
> D: Signature: size(356)+pad(4)
> rpm: ./rpmio_internal.h:307: fdGetFp: Assertion `fd != ((void *)0) &&
> fd->magic == 0x04463138' failed.
> Aborted
Wywala się na repackage, podejrzewam jakąś małą ilość RAM.
Co pokazuje:
rpm --showrc | grep payload
Na szybko - wyłącz repackage.
--
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org
More information about the pld-devel-pl
mailing list