Re: To pre, or not to pre...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-12-16 at 22:33 -0500, Will Woods wrote:
> On Tue, 2008-12-16 at 17:26 -0600, Jerry Amundson wrote:
> > I'm normally 'yum live upgrade' type, but trying preupgrade now.
> > 
> > 556/742 - preupgrade/packages/openoffice.org-calc-core-3.0.1-13.2.fc11.x86_64.rp
> > 605/742 - preupgrade/packages/libXdamage-1.1.1-5.fc11.i386.rpmTraceback (most 
> > recent call last):                                                                
> >   File "/usr/share/preupgrade/preupgrade-cli.py", line 284, in <module>         
> >     pu.main(myrelease)                                                          
> >   File "/usr/share/preupgrade/preupgrade-cli.py", line 249, in main             
> >     self.generate_repodata(cachedir, comps) # TODO: callback?                   
> >   File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 711, in 
> > generate_repodata                                                                
> >     generate_repodata(dir, comps, callback)                                     
> >   File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 727, in 
> > generate_repodata_f9                                                             
> >     mdgen.doPkgMetadata()
> >   File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 332, in 
> > doPkgMetadata
> >     self.writeMetadataDocs(packages)
> >   File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 475, in 
> > writeMetadataDocs
> >     clog_limit=self.conf.changelog_limit))
> >   File "/usr/lib/python2.5/site-packages/yum/packages.py", line 959, in 
> > xml_dump_other_metadata
> >     msg += "%s\n</package>\n" % 
> > misc.to_unicode(self._dump_changelog(clog_limit))
> >   File "/usr/lib/python2.5/site-packages/yum/packages.py", line 936, in 
> > _dump_changelog
> >     misc.to_xml(author, attrib=True), misc.to_xml(str(ts)),
> >   File "/usr/lib/python2.5/site-packages/yum/misc.py", line 749, in to_xml
> >     item = _ugly_utf8_string_hack(item)
> >   File "/usr/lib/python2.5/site-packages/yum/misc.py", line 728, in 
> > _ugly_utf8_string_hack
> >     print '\n%s encoding on %s\n' % (enc, item)
> >   File "/usr/lib64/python2.5/codecs.py", line 303, in write
> >     data, consumed = self.encode(object, self.errors)
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 34: 
> > ordinal not in range(128)
> 
> You're trying to upgrade to Rawhide, I take it? It looks like createrepo
> is choking on something in the changelog of the rawhide libXdamage.

Er, to clarify, file a bug *against preupgrade*. I'm pretty sure
createrepo handles this normally outside of preupgrade so I'm probably
setting something up wrong.

The most recent changelog entry in libXdamage is:

* Wed Dec 03 2008 Caolán McNamara <caolanm@xxxxxxxxxx> - 1.1.1-5
- rebuild to get provides pkgconfig(xdamage)

Guess we're not handling that UTF-8 'á' properly.

-w

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux