Add a message to advise deleting corrupted binary packages. Bug #86088
authorAlec Warner <antarus@gentoo.org>
Sat, 25 Feb 2006 06:03:28 +0000 (06:03 -0000)
committerAlec Warner <antarus@gentoo.org>
Sat, 25 Feb 2006 06:03:28 +0000 (06:03 -0000)
svn path=/main/trunk/; revision=2783

pym/portage.py

index a7853f600ec16744cea8080ffd09261f0ed3d679..1671c463fb22d43adac7783ca9539397ccae7cdd 100644 (file)
@@ -5370,6 +5370,7 @@ class binarytree(packagetree):
                                if not mycat:
                                        #old-style or corrupt package
                                        writemsg("!!! Invalid binary package: "+mypkg+"\n")
+                                       writemsg("!!! This binary package is not recoverable and should be deleted.\n")
                                        self.invalids.append(mypkg)
                                        continue
                                mycat=string.strip(mycat)