Date: Wed, 3 Sep 2003 12:20:20 -0400 From: stan <stanb@panix.com> To: Danny Pansters <danny@ricin.com> Cc: FreeBSD Ports List <freebsd-ports@FreeBSD.ORG> Subject: Re: Have I damaged my ports database? Message-ID: <20030903162019.GA18768@teddy.fas.com> In-Reply-To: <200309031621.58778.danny@ricin.com> References: <20030903140835.GA15314@teddy.fas.com> <200309031621.58778.danny@ricin.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 03, 2003 at 04:21:58PM +0200, Danny Pansters wrote: > On Wednesday 03 September 2003 16:08, stan wrote: > > I've got a machine that I cvup'd lst night, and I'm having a problem > > running portupgrade on it. It's got Gnome2, and also some Gnome 1.4 > > librarties required by (for example) ogle. > > > > I'm getting an error message like this: > > > > > > pkg_delete: /var/db/pkg/gnomesession-2.2.2_1/+CONTENTS: No such file > > or directory [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg > > ... - 330 packages found (-1 +0) (...) done] ---> Installing the new > > version via the port > > ===> Installing for libart_lgpl2-2.3.15 > > ===> libart_lgpl2-2.3.15 depends on executable: pkg-config - found > > ===> Generating temporary packing list > > ===> Checking if graphics/libart_lgpl2 already installed > > *** Error code 1 > > > > Stop in /usr/ports/graphics/libart_lgpl2. > > *** Error code 1 > > > > Stop in /usr/ports/graphics/libart_lgpl2. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade314.8 make reinstall egrep: > > /var/db/pkg/libart_lgpl2-2.3.14/+CONTENTS: No such file or directory > > ---> Restoring the old version > > pkg_add: /var/db/pkg/gnomesession-2.2.2_1/+CONTENTS: No such file or > > directory pkg_add: /var/db/pkg/gnomesession-2.2.2_1/+CONTENTS: No > > such file or directory ** Fix the installation problem and try again. > > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 331 > > packages found (-0 +1) . done] > > > > > > And then things star to fall apart. I've run portsdb -Fu, in an > > atempt to fix this, but that has bot resolved the problem. > > > > Can anyone help me diagnos and resolve this problem? > > Not your portsdb but your pkgdb looks to be crippled. Try running: > > pkgdb -F ks. Unfortunately, that runs without any complaints. Any idea what to check next? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903162019.GA18768>