From 1ffb45442754456d89ab6a5533f86c21edc06a23 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 18 May 2006 07:22:24 +0000 Subject: [PATCH] Catch PackageNotFound exceptions from unmerge() for bug #133606. svn path=/main/trunk/; revision=3371 --- bin/emerge | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index fd50f725d..2cb627dbf 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2075,7 +2075,10 @@ class depgraph: xsplit=portage.pkgsplit(x[2]) emergelog(" >>> AUTOCLEAN: "+xsplit[0]) if x[1] == self.pkgsettings["ROOT"]: - retval = unmerge("clean", [xsplit[0]]) + try: + retval = unmerge("clean", [xsplit[0]]) + except portage_exception.PackageNotFound: + retval = 0 else: retval = unmerge_overlapping(x[2], x[1], self.pkgsettings, portage.db[x[1]]["vartree"]) -- 2.26.2