On 5/28/2013 4:12 AM, Marco Beishuizen wrote: > Hi, > > Seems that portupgrade is broken after the upgrade from ruby18 to ruby19: > ... > root@yokozuna:/usr/ports# portupgrade -a > invalid byte sequence in UTF-8 > Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ > ... > > I've rebuilt the pkgdb and reinstalled portupgrade but that didn't help. > > Regards, > Marco >
Portupgrade does not handle major ruby upgrades well. I recommend rebuilding portupgrade and its databases: # make -C /usr/ports/ports-mgmt/portupgrade build deinstall install clean # rm -f /var/db/pkg/pkgdb.db # rm -f /usr/ports/*.db # pkgdb -fu # portsdb -fu -- Regards, Bryan Drewery
signature.asc
Description: OpenPGP digital signature
