Another failed dependency (this time with debug output)

Staf Verhaegen <[email protected]> 29 Nov 2002 23:45:52 +0100
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <1038609950.1242.9.camel@pc300>
I found another dependency check failure of grab 2.2 when installing
spamassassin.
Also this time a dash is present in the dependency that should have been
added to the downloads (perl-Mail-SpamAssassin and the other time it was
a ...-config package). Is this maybe the problem ?

Staf.

=============================
[root@pc300 root]# grab --debug spamassassin               
Finishing Argument processing
 @inst: spamassassin
Parsing conf file config
Parsing conf file servers
Parsing conf file defaults
Starting sanitychk sub
USER IS ROOT
looking for conf files "config", "servers"
looking for rpm_repository
looking for info_repository
Checking conf file version "GRAB general config 1.4a"
looking for 'rpm'
Figuring out which search method to use
Using 'match'
FTP access using user=anonymous, pass=GRAB-2.2->[root@pc300]
Starting pre_flight sub
Starting db_open sub
Starting cache_chk sub
Searching for spamassassin
Starting match_cache sub
Attempting to match: spamassassin
Local match spamassassin-2.42-1.i386.rpm
Local match spamassassin-2.43-2.i386.rpm
Local match spamassassin-2.43-2.src.rpm
-Comparing 3 of 4630 with Valgor
Starting rpmdb_open sub
-Obtaining current RPM list
-Duplicate packages currently installed: 'SDL'!
Skipping duplicate old package kernel 2.4.18 10 i586 (kernel 2.4.18 18.7.x i586 is newer)
-Duplicate packages currently installed: 'qt'!
-Duplicate packages currently installed: 'libmng'!
Starting package_consolidator sub
Will show spamassassin-2.43-2.i386.rpm
Will show spamassassin-2.43-2.src.rpm
Starting versioner sub
-Filtered Package Statistics:
 1 Consolidated, 0 Diff Arch, 0 Current, 0 Skip List, 0 Other Status
 0 Old, 1 Consolidated, 0 Diff Arch,  at /usr/bin/grab line 2344, <LOCAL_RPMS> line 566.
0 Current, 0 Skipped, 0 Other Status
 ->Filtered packages can be viewed with the '--showall' option
Starting interactive_chooser sub
Starting show_list sub
-Please select one (or more) of the following matched RPMS:

 Num S Package name       Version     Installed   Arch   Size   Server Desc
 --- - ------------------ ----------- ----------- ------ ------ ---------------
 1   N spamassassin       2.43-2      --          i386   150K   SPAMASSASSIN@KLU
 2   N spamassassin       2.43-2      --          src    533K   SPAMASSASSIN@KLU

-Choose number(s): ('?' for help): 1
User entered '1'
-Here is what I will download:
  spamassassin

-You selected 150K of archives
 ->Do you want to continue? [Y/n]: 
-Reading in current RPM provides list
-Building dependancy tree
-All dependancies seem to be accounted for
Starting download sub
-Grabbing the selected packages...
Will get: spamassassin-2.43-2.i386.rpm
 (1/1) spamassassin-2.43-2.i386.rpm                                       150kB
Starting validaterpm sub
-Checking the signature of the cached RPM(s)
Running rpm --checksig on /var/cache/grab/RPMS/; spamassassin-2.43-2.i386.rpm
-All downloaded RPMS passed validation
Starting install sub
-Calling 'rpm -Uvh' for '1' package(s)
RPM -uvh  'ing /var/cache/grab/RPMS/spamassassin-2.43-2.i386.rpm 
D: ============== /var/cache/grab/RPMS/spamassassin-2.43-2.i386.rpm
D: Expected size:       154040 = lead(96)+sigs(241)+pad(7)+data(153696)
D:   Actual size:       154040
D: opening  db environment /var/lib/rpm/Packages create:mpool
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name create mode=0x42
D: 	added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ spamassassin-2.43-2
D: opening  db index       /var/lib/rpm/Depends create mode=0x42
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
D:  Requires: /sbin/chkconfig                               YES (db files)
D: opening  db index       /var/lib/rpm/Providename create mode=0x42
D:  Requires: perl-Mail-SpamAssassin = 2.43-2               NO
D: package spamassassin-2.43-2 require not satisfied: perl-Mail-SpamAssassin = 2.43-2
D:  Requires: /bin/sh                                       YES (db files)
D:  Requires: R /bin/sh                                     YES (cached)
D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1	B rpmlib(VersionedDependencies) = 3.0.3-1D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1	B rpmlib(CompressedFileNames) = 3.0.4-1
D:   NO     A rpmlib(PayloadFilesHavePrefix) <= 4.0-1	B rpmlib(PayloadIsBzip2) = 3.0.5-1
D:   YES    A rpmlib(PayloadFilesHavePrefix) <= 4.0-1	B rpmlib(PayloadFilesHavePrefix) = 4.0-1
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
D:   NO     A rpmlib(CompressedFileNames) <= 3.0.4-1	B rpmlib(VersionedDependencies) = 3.0.3-1D:   YES    A rpmlib(CompressedFileNames) <= 3.0.4-1	B rpmlib(CompressedFileNames) = 3.0.4-1
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
D:  Requires: ld-linux.so.2                                 YES (db provides)
D:  Requires: libc.so.6                                     YES (db provides)
D:  Requires: libdl.so.2                                    YES (db provides)
D:  Requires: R /bin/sh                                     YES (cached)
D:  Requires: /usr/bin/perl                                 YES (db files)
D:  Requires: libc.so.6(GLIBC_2.0)                          YES (db provides)
D: opening  db index       /var/lib/rpm/Conflictname create mode=0x42
D: closed   db index       /var/lib/rpm/Depends
error: failed dependencies:
	perl-Mail-SpamAssassin = 2.43-2 is needed by spamassassin-2.43-2
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D:     0    0    0    0    0  spamassassin-2.43-2
D: closed   db index       /var/lib/rpm/Conflictname
D: verified db index       /var/lib/rpm/Conflictname
D: closed   db index       /var/lib/rpm/Providename
D: verified db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Basenames
D: verified db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: verified db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: removed  db environment /var/lib/rpm/Packages
D: verified db index       /var/lib/rpm/Packages
-RPM had a non-zero exit code, not erasing downloaded RPMS
RPM command exited with status '256'
Starting autoremove sub