portupgrade broken after ruby upgrade
Steve Wills
swills at FreeBSD.org
Tue May 28 16:00:24 UTC 2013
> On Tue, 28 May 2013, the wise Bryan Drewery wrote:
>
>>> root at yokozuna:/usr/ports# portupgrade -a
>>> invalid byte sequence in UTF-8
>>> Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ
>>
>> 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
Not sure this will help in your current stat, but for others who haven't
upgraded yet, the notes in UPDATING were incorrect and have been updated,
and after some testing I believe they should work better now. My apologies
for the mistake.
Steve
More information about the freebsd-ports
mailing list