=== modified file 'UpdateManager/Core/DistUpgradeFetcherCore.py' --- UpdateManager/Core/DistUpgradeFetcherCore.py 2011-07-15 15:32:30 +0000 +++ UpdateManager/Core/DistUpgradeFetcherCore.py 2011-10-31 02:51:11 +0000 @@ -249,6 +249,12 @@ _("Fetching the upgrade failed. There may be a network " "problem. ")) return + if not self.authenticate(): + self.error(_("Authentication failed"), + _("Authenticating the upgrade failed. There may be a problem " + "with the network or with the server. ")) + self.cleanup() + return if not self.extractDistUpgrader(): self.error(_("Failed to extract"), _("Extracting the upgrade failed. There may be a problem " @@ -261,12 +267,6 @@ "with the network or with the server. ")) self.cleanup() return - if not self.authenticate(): - self.error(_("Authentication failed"), - _("Authenticating the upgrade failed. There may be a problem " - "with the network or with the server. ")) - self.cleanup() - return try: # check if we can execute, if we run it via sudo we will # not know otherwise, sudo/gksu will not raise a exception