Portupgrade core dumps

Martin Klaffenboeck martin.klaffenboeck at gmx.at
Fri Apr 25 05:53:49 PDT 2003


Am 2003.04.25 14:44 schrieb(en) Simon L. Nielsen:
> On 2003.04.25 14:39:29 +0200, m.jakob at gmx.net wrote:
> > Hi,
> >
> > A few days ago portupgrade suddenly started to core dump. On
> freshports i
> > saw a few changes on portupgrade announced, so i manually de- and
> reinstalled
> > portupgrade, aswell as ruby. But no use. It still crashes.
> 
> Try deleting /var/db/pkg/pkgdb.db and /usr/ports/INDEX.db. If they get
> corrupted ruby sometimes coredumps. Then use pkgdb and portsdb to
> regenerate them.

You do not really need to delete them by hand.  If you use the -fu 
flags on both commands, portupgrade overwrites the existing files, so 
they are new afterwards.

Martin


More information about the freebsd-ports mailing list