FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-30-2011, 08:02 PM
"Brian C. Lane"
 
Default Fix traceback when installing over a system with broken rpm db.

On Tue, Aug 30, 2011 at 04:53:30PM +0200, Ales Kozumplik wrote:
> It presented itself as "TypeError: expected string or buffer".
>
> Resolves: rhbz#728883
> ---
> pyanaconda/storage/__init__.py | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
> index abfdb55..00ec25d 100644
> --- a/pyanaconda/storage/__init__.py
> +++ b/pyanaconda/storage/__init__.py
> @@ -1521,6 +1521,10 @@ def findExistingRootDevices(anaconda, upgradeany=False):
> # This likely isn't our product, so don't even count it as
> # notUpgradable.
> continue
> + if arch is None:
> + # we failed to determine the arch (for instance when there is a
> + # corrupted rpm database on the target system)
> + continue
>
> if upgradeany or
> anaconda.instClass.productUpgradable(arch, product, version):
> --
> 1.7.6

Ack

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org