[poldek: Bug 156] New: poldek gets it wrong whether package is an upgrade

btsadmin at pld-linux.org btsadmin at pld-linux.org
Wed May 28 19:58:22 CEST 2008


http://bugs.pld-linux.org/show_bug.cgi?id=156

           Summary: poldek gets it wrong whether package is an upgrade
           Product: poldek
           Version: unspecified
          Platform: All
        OS/Version: PLD Linux
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Core
        AssignedTo: mis at pld-linux.org
        ReportedBy: glen at pld-linux.org
   Estimated Hours: 0.0


User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux
2.6.16.60_xen0-6smp; X11; x86_64; en_US) KHTML/3.5.9 (like Gecko) PLD/2.0 (Ac)
Build Identifier: poldek-0.21-0.20070703.00.20.i686

poldek gets it wrong whether package is an upgrade comparing to rpm:

installed:
time-1.7-24.i386 (fedora core 2 package)
to be installed:
time-1.7-17.i686 (package from ac-main)

poldek:
poldek -u time
Loading [pndir]okas...
Loading [pndir]ac-delfi-updates...
Loading [pndir]ac-delfi-updates...
Loading [pndir]ac...
Loading [pndir]ac-updates...
Loading [pndir]ac-delfi-internal...
Loading [pndir]ac-delfi-internal...
21626 packages read
Removed 99 duplicate packages from available set
Processing dependencies...
There are 1 package to install:
I time-1.7-17.i686
Need to get 22.2KB of archives. After unpacking 19.3KB will be used.
Executing rpm --upgrade -vh --root /...
Preparing...                ########################################### [100%]
        package time-1.7-24 (which is newer than time-1.7-17) is already
installed

(little verbose poldek with -vvv):
Processing dependencies...
Checking time-1.7-17.i686 dependencies...
/bin/sh: satisfied by db
/bin/sh: satisfied by db
glibc: satisfied by db
libc.so.6: satisfied by db
libc.so.6(GLIBC_2.0): satisfied by db
libc.so.6(GLIBC_2.1): satisfied by db
cap time = 1.7-17
There are 1 package to install:
I time-1.7-17.i686
Need to get 22.2KB of archives. After unpacking 19.3KB will be used.
Executing rpm --upgrade -vh -v --root / time-1.7-17.i686.rpm...



rpm:
D: ============== time-1.7-17.i686.rpm
D: Expected size:        22761 = lead(96)+sigs(344)+pad(0)+data(22321)
D:   Actual size:        22761
D: opening  db environment /var/lib/rpm/Packages cdb:mpool
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
D:  read h#     595 Header sanity check: OK
D: ========== DSA pubkey id 7c751c5c 1bbd5459 (h#595)
D: time-1.7-17.i686.rpm: Header V3 DSA signature: OK, key ID 1bbd5459
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
D:  read h#     244 Header sanity check: OK
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#244)
D:  read h#      75 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:    upgrade erases time-1.7-24.i386
D:      added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ time-1.7-17 i686/linux 0x0
D: opening  db index       /var/lib/rpm/Depends create mode=0x0
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
D: ========== DSA pubkey id 7c751c5c 1bbd5459 (h#595)
D:  read h#     625 Header V4 DSA signature: OK, key ID 1bbd5459
D:  Requires: /bin/sh                                       YES (db files)
D:  Requires: /bin/sh                                       YES (cached)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib
provides)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib
provides)
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D:  read h#     358 Header V3 DSA signature: OK, key ID 1bbd5459
D:  Requires: libc.so.6                                     YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.0)                          YES (db provides)
D:  Requires: libc.so.6(GLIBC_2.1)                          YES (db provides)
D:  Requires: glibc                                         YES (db provides)
D:  Requires: rpmlib(PayloadIsBzip2) <= 3.0.5-1             YES (rpmlib
provides)
D: opening  db index       /var/lib/rpm/Conflictname rdonly mode=0x0
D: ========== --- time-1.7-24 i386/linux 0x1
D: opening  db index       /var/lib/rpm/Requirename rdonly mode=0x0
D: closed   db index       /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree,
Ldepth, Rbreadth)
D:     0    0    0    1    0    0 +time-1.7-17.i686
D: ========== successors only (22673 bytes)
D:     1    0    0    2    0    1 -time-1.7-24.i386
D: installing binary packages
D: mounted filesystems:
D:     i        dev    bsize       bavail       iavail mount point
D:     0 0x00000802     4096       131003        94126 rw /
D:     1 0x00000003     4096            0           -1 rw /proc
D:     2 0x00000000     4096            0           -1 rw /sys
D:     3 0x00000009     4096            0           -1 rw /dev/pts
D:     4 0x00000801     1024        21708         7974 rw /boot
D:     5 0x0000000c     4096       259500       259499 rw /dev/shm
D:     6 0x00000809     4096       316259       219449 rw /home
D:     7 0x00000803     4096      1142149      2435086 rw /opt
D:     8 0x0000080a     1024       470747       130421 rw /tmp
D:     9 0x00000808     4096       406351       246348 rw /usr
D:    10 0x00000805     4096       566793       522014 rw /var
D:    11 0x00000806     4096       281620       302338 rw /www
D:    12 0x0000000d     4096            0           -1 rw
/proc/sys/fs/binfmt_misc
D:    13 0x00000802     4096       131003        94126 rw /home/glen/pld/dev
D:    14 0x00000000     4096            0           -1 rw /home/glen/pld/sys
D:    15 0x00000003     4096            0           -1 rw /home/glen/pld/proc
D:    16 0x00000802     4096       131003        94126 rw /home/glen/pld/mnt
D: sanity checking 2 elements
D: computing 11 file fingerprints
Preparing packages for installation...
D: computing file dispositions
        package time-1.7-24 (which is newer than time-1.7-17) is already
installed
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Conflictname
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Requirename
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages

Reproducible: Always


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the pld-bugs mailing list