Public bug reported:

Trying to create a Fedora Core 18 chroot with "yum" for Quantal x86_64.

Following similar steps to the ones described in:
http://www.lucas-nussbaum.net/blog/?p=385

Previous steps:

~$ apt-get install yum rpm python-m2crypto
...
~$ mkdir -p /tmp/fc18/var/lib/rpm
...
~$ rpm --root /tmp/fc18 --initdb
...
~$ wget -c 
http://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/18/Fedora/x86_64/os/Packages/f/fedora-release-18-1.noarch.rpm
...
~$ rpm -ivh --force-debian --nodeps --root /tmp/fc18 
fedora-release-18-1.noarch.rpm
...

When executing:

~$ yum --installroot /tmp/fc18/ install yum

It ends with the error:

"
...
     AttributeError: 'rpm.prob' object has no attribute 'startswith' 
...
"

This error is actually also described in:
http://fmtyewtk.blogspot.fi/2012/05/installing-fedora-17-from-ubuntu-pain.html

** Affects: yum (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: quantal

** Patch added: "Patch to use internal _str string in rpm transaction object"
   
https://bugs.launchpad.net/bugs/1117465/+attachment/3517316/+files/startswith-error.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1117465

Title:
  yum --installroot: AttributeError: 'rpm.prob' object has no attribute
  'startswith'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yum/+bug/1117465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to