RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Problems with erase-before-install on RPM 5.2

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 21 Oct 2008 - 04:38:21 CEST
Message-id: <6F246A64-593B-42A2-A4A3-01E2EB813FE9@mac.com>

On Oct 20, 2008, at 9:58 PM, Jeff Johnson wrote:

>
> On Oct 20, 2008, at 9:42 PM, Jeff Johnson wrote:
>>
>>
>> There are several pieces to a real fix, displaying the loops that
>> are triggering the problem are the first step.
>>
>
> And here's another simple reproducer:
>

And one last reproducer, lest the perl fanatics believe
they are better off than the python dweebs:

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
error: LOOP:
error: removing perl-ExtUtils-MakeMaker-6.36-48.fc10.i386 "Requires:  
perl-devel" from tsort relations.
error: removing perl-devel-5.10.0-48.fc10.i386 "Requires(auto):  
perl(ExtUtils::Installed)" from tsort relations.
error: LOOP:
error: removing perl-ExtUtils-ParseXS-2.18-44.fc10.i386  
"Requires(auto): perl(ExtUtils::ParseXS)" from tsort relations.
error: removing perl-devel-5.10.0-44.fc10.i386 "Requires: perl-devel"  
from tsort relations.
error: LOOP:
error: removing perl-5.10.0-48.fc10.i386 "Requires(post): perl-libs"  
from tsort relations.
error: removing perl-libs-5.10.0-48.fc10.i386 "Requires: perl =  
4:5.10.0-48.fc10" from tsort relations.
error: LOOP:
error: removing perl-ExtUtils-ParseXS-2.18-48.fc10.i386 "Requires:  
perl-devel" from tsort relations.
error: removing perl-devel-5.10.0-48.fc10.i386 "Requires(auto):  
perl(ExtUtils::ParseXS)" from tsort relations.
error: LOOP:
error: removing perl-ExtUtils-MakeMaker-6.36-44.fc10.i386  
"Requires(auto): perl(ExtUtils::Installed)" from tsort relations.
error: removing perl-devel-5.10.0-44.fc10.i386 "Requires: perl-devel"  
from tsort relations.
error: LOOP:
error: removing perl-5.10.0-48.fc10.i386 "Requires(auto):  
perl(version)" from tsort relations.
error: removing perl-version-0.74-48.fc10.i386 "Requires(auto): perl  
 >= 0:5.005_04" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-48.fc10.i386 "Requires(auto):  
perl(Pod::Simple)" from tsort relations.
error: removing perl-Pod-Simple-3.07-48.fc10.i386 "Requires(auto):  
perl(Pod::Escapes) >= 1.03" from tsort relations.
error: removing perl-Pod-Escapes-1.04-48.fc10.i386 "Requires(auto):  
perl >= 1:5" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-44.fc10.i386 "Requires: perl =  
4:5.10.0-44.fc10" from tsort relations.
error: removing perl-libs-5.10.0-44.fc10.i386 "Requires(auto):  
libperl.so" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-48.fc10.i386 "Requires(auto):  
perl(Module::Pluggable)" from tsort relations.
error: removing perl-Module-Pluggable-3.60-48.fc10.i386 "Requires:  
perl = 4:5.10.0-48.fc10" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-44.fc10.i386 "Requires(auto): perl >=  
0:5.005_04" from tsort relations.
error: removing perl-version-0.74-44.fc10.i386 "Requires(auto):  
perl(version)" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-44.fc10.i386 "Requires(auto): perl >= 1:5"  
from tsort relations.
error: removing perl-Pod-Escapes-1.04-44.fc10.i386 "Requires(auto):  
perl(Pod::Escapes) >= 1.03" from tsort relations.
error: removing perl-Pod-Simple-3.05-44.fc10.i386 "Requires(auto):  
perl(Pod::Simple)" from tsort relations.
error: LOOP:
error: removing perl-5.10.0-44.fc10.i386 "Requires: perl =  
4:5.10.0-44.fc10" from tsort relations.
error: removing perl-Module-Pluggable-3.60-44.fc10.i386  
"Requires(auto): perl(Module::Pluggable)" from tsort relations.
Running Transaction
   Erasing        : perl-Compress-Zlib                               
[ 1/36]
   Erasing        : perl-IO-Compress-Zlib                            
[ 2/36]
   Erasing        : perl-CPAN                                        
[ 3/36]
   Erasing        : perl-ExtUtils-Embed                              
[ 4/36]
   Erasing        : perl-Test-Simple                                 
[ 5/36]
   Erasing        : perl-suidperl                                    
[ 6/36]
   Erasing        : perl-IO-Compress-Base                            
[ 7/36]
   Erasing        : perl-Compress-Raw-Zlib                           
[ 8/36]
   Updating       : perl-libs                                        
[ 9/36]
   Erasing        : perl-ExtUtils-ParseXS                            
[10/36]
   Updating       : perl-version                                     
[11/36]
   Erasing        : perl-ExtUtils-MakeMaker                          
[12/36]
   Erasing        : perl-Test-Harness                                
[13/36]
   Erasing        : perl-devel                                       
[14/36]
   Cleanup        : perl-libs                                        
[15/36]
   Updating       : perl-Pod-Escapes                                 
[16/36]
   Updating       : perl-Module-Pluggable                            
[17/36]
   Cleanup        : perl-version                                     
[18/36]
   Updating       : perl                                             
[19/36]
   Updating       : perl-devel                                       
[20/36]
   Updating       : perl-IO-Compress-Base                            
[21/36]
   Updating       : perl-Compress-Raw-Zlib                           
[22/36]
   Updating       : perl-suidperl                                    
[23/36]
   Updating       : perl-IO-Compress-Zlib                            
[24/36]
   Updating       : perl-Test-Harness                                
[25/36]
   Updating       : perl-ExtUtils-MakeMaker                          
[26/36]
   Updating       : perl-ExtUtils-ParseXS                            
[27/36]
   Updating       : perl-Pod-Simple                                  
[28/36]
   Updating       : perl-CPAN                                        
[29/36]
   Updating       : perl-Compress-Zlib                               
[30/36]
   Updating       : perl-Test-Simple                                 
[31/36]
   Updating       : perl-ExtUtils-Embed                              
[32/36]
   Cleanup        : perl-Pod-Simple                                  
[33/36]
   Cleanup        : perl-Pod-Escapes                                 
[34/36]
   Cleanup        : perl-Module-Pluggable                            
[35/36]
   Cleanup        : perl                                             
[36/36]

Note that these are __OBVIOUS__ flaws in major packages from a distro
that boasts of the quality of its packaging. And truly, the quality
isn't too bad.

But noone is bothering to even __LOOK__ at dependency loops.

I'll stop kicking dead burros now ...

73 de Jeff
Received on Tue Oct 21 04:38:30 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.