Re: freebsd-questions Digest, Vol 174, Issue 15



Message: 7
Date: Fri, 20 Apr 2007 10:51:58 -0500
From: Drew Sanford <lauasanf@xxxxxxxxxxxxxxxxxxxxx>
Subject: portupgrade failing, portsdb error
To: questions@xxxxxxxxxxx
Message-ID: <4628E19E.405@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I get the following error:

root@drew(/usr/ports)# portupgrade gnome-vfs
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16885 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ ..... done]
[missing key: categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16885 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ ..... done]
missing key: categories: Cannot read the portsdb!
<snip ruby errors>

Hi Drew,

I've had this and the cause in my case was that portupgrade is out of date. In February the ports tree maintainers moved portupgrade from sysutils to ports-mgmt. That's the cause of "missing key: categories".

Anyway, do this and see if it fixes the problem:

cd /usr/ports/ports-mgmt/portupgrade
make all install clean

Hope this helps,
Adam J Richardson
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: portupgrade failing, portsdb error
    ... entries found ... missing key: categories: Cannot read the portsdb! ... I've got Index up to date, I've run portsdb -u, and it seems to think everything is good. ... I saw this when I didn't have the portupgrade port upgraded properly. ...
    (freebsd-questions)
  • Using portconf and /usr/local/etc/ports.conf
    ... portupgrade says that portupgrade and ruby are both out of date: ... I then get the build options dialogue box for ruby 1.8.5_1,1 with the ... entries to turn them off. ...
    (freebsd-questions)
  • Re: How to Upgrade Berkeley DB?
    ... Thus I just used "portupgrade -N portupgrade" to upgrade. ... Missing entries in the package database? ... I assume this is due to choosing the incorrect Berkeley DB version? ... or is it recommended to convert the pkgdb to the newer version? ...
    (freebsd-questions)
  • Re: php4-* n00b queries...
    ... > I would like to streamline this even further by including the proper ... > entries in pkgtools.conf for portupgrade. ...
    (freebsd-questions)
  • Re: How to Upgrade Portupgrade?
    ... Thus I just used "portupgrade -N portupgrade" to upgrade. ... Missing entries in the package database? ... I assume this is due to choosing the incorrect Berkeley DB version? ... or is it recommended to convert the pkgdb to the newer version? ...
    (freebsd-questions)