Description of problem: On a loop device I try to install the group "Base", which results in an error. In preparation of an Amazon EC2 AIM, I make a disk image, mount it, add a few devices and try to install "@Base" which fails. Version-Release number of selected component (if applicable): Fedora Core 13, updated to 10th of August 2010. yum-3.2.28-1.fc13.noarch How reproducible: Always. Steps to Reproduce: 1. dd if=/dev/zero of=/tmp/fc13-ami.img count=2M bs=1024 2. mke2fs -F -j /tmp/fc13-ami.img 3. mount -o loop /tmp/fc13-ami.img /mnt 4. for i in console null zero ; do /sbin/MAKEDEV -d /mnt/dev -x $i ; done 5. cat <<EOL > /mnt/etc/fstab /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 EOL 6. mount -t proc none /mnt/proc 7. cat <<EOL > /tmp/yum-ec2.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log exclude=*-debuginfo gpgcheck=0 obsoletes=1 reposdir=/dev/null [base] name=Fedora 13 – i386 – Base mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=i386 enabled=1 [updates-released] name=Fedora 13 – i386 – Released Updates mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f13&arch=i386 enabled=1 EOL 8. yum -c /tmp/yum-ec2.conf --installroot=/mnt -y groupinstall Base Actual results: # uname -a Linux ams2-laptop-01 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux # yum -c /tmp/yum-ec2.conf --installroot=/mnt -y groupinstall Base Setting up Group Process Resolving Dependencies --> Running transaction check ---> Package NetworkManager.i686 1:0.8.1-1.fc13 set to be installed --> Processing Dependency: NetworkManager-glib = 1:0.8.1-1.fc13 for package: 1:NetworkManager-0.8.1-1.fc13.i686 ..... zlib i686 1.2.3-23.fc12 base 69 k Transaction Summary ================================================================================ Install 387 Package(s) Total size: 153 M Installed size: 546 M Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 258, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 196, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 544, in doTransaction resultobject = self.runTransaction(cb=cb) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1336, in runTransaction self._store_config_in_history() File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4718, in _store_config_in_history self.history.write_addon_data('config-repos', myrepos) File "/usr/lib/python2.6/site-packages/yum/history.py", line 613, in write_addon_data fo.write(data) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 583: ordinal not in range(128) Expected results: A successful termination of the yum command. Additional info: I used these links as reference: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?PreparingAndCreatingAMIs.html http://www.ioncannon.net/system-administration/894/fedora-12-bootable-root-ebs-on-ec2/ This ticket is sort of related: https://bugzilla.redhat.com/show_bug.cgi?id=443300
*** This bug has been marked as a duplicate of bug 622301 ***