mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-03 18:14:11 +00:00 
			
		
		
		
	lib/dpkg.c: Keep noise related to AIEEEs to a minimum.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
		
							parent
							
								
									6e701a09cd
								
							
						
					
					
						commit
						319f5ef9eb
					
				@ -885,6 +885,7 @@ static int checkinstallable(dpkg_packages *pkgs, collpackagelist *instoneof) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (counter == 0) {
 | 
			
		||||
	unsigned int package_count = 0;
 | 
			
		||||
	fprintf(stderr, "AIEEE: counter overflow:");
 | 
			
		||||
	assert(pointer != NULL);
 | 
			
		||||
	if (I1CUR(pointer) == NULL || I1CUR(pointer)->value == NULL) {
 | 
			
		||||
@ -902,12 +903,17 @@ static int checkinstallable(dpkg_packages *pkgs, collpackagelist *instoneof) {
 | 
			
		||||
		fprintf(stderr, " >> eep, no package selected <<");
 | 
			
		||||
		continue;
 | 
			
		||||
	    }
 | 
			
		||||
	    /* the full list is no as interesting as the "guilty" package,
 | 
			
		||||
	     * display the number of involved packages instead */
 | 
			
		||||
#if 0
 | 
			
		||||
	    fprintf(stderr, " %s%s", 
 | 
			
		||||
		(I1INSTONE(pointer)->next == NULL ? "" : "|"),
 | 
			
		||||
		I1CUR(pointer)->value->pkg->package);
 | 
			
		||||
#endif
 | 
			
		||||
	    package_count++;
 | 
			
		||||
	    uninstall(pkgs, I1CUR(pointer)->value);
 | 
			
		||||
	}	
 | 
			
		||||
	fprintf(stderr, ".\n");
 | 
			
		||||
	fprintf(stderr, " %u involved packages.\n", package_count);
 | 
			
		||||
	free_instonelist(list);
 | 
			
		||||
	/* let the caller know we hit a bad failure */
 | 
			
		||||
	return -1;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user