Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2006 07:31:34 -0800
From:      Beech Rintoul <beech@alaskaparadise.com>
To:        freebsd-questions@freebsd.org
Cc:        Joshua Lewis <joshua.lewis@familyfunzone.net>
Subject:   Re: Corrupt  pkgdb
Message-ID:  <200607270731.54819.beech@alaskaparadise.com>
In-Reply-To: <20060727080525.e72c8bd2fa3c8298c4bf39a8c4c61b77.8b5f7bec2e.wbe@email.secureserver.net>
References:  <20060727080525.e72c8bd2fa3c8298c4bf39a8c4c61b77.8b5f7bec2e.wbe@email.secureserver.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart16990669.fYD2rNNbR3
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 27 July 2006 07:05, Joshua Lewis wrote:
>    I am setting up a new system and ran a portupgrade -a. Unfortunately I
>    also in my arrogance tried to run XDM while the portupgrade was
>    running. Well to make a long story short I could not exit out of XDM
>    and get back to my console and had to reboot the system. Now I get an
>    error that my pkgdb is corrupt when I try to rerun the portupgrade.
>
>
>
>    Is there a way to rebuild that DB or do I have to reinstall the whole
>    OS? I don't know how that pkgdb gets created so I don't know if it is
>    created during the install or when I installed portupgrade.
>
>
>
>    Any advice is welcome. Thanks.
>    Sincerely,
>    Joshua Lewis

Just rm or mv /var/db/pkg/pkgdb.db and it will be rebuilt the next time you=
=20
run portupgrade.

Beech

=2D-=20

=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart16990669.fYD2rNNbR3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQBEyNxqp5D0B1NlT4URAooEAJ4mo1EBeROHpsdp2NpEimAhbxFTSwCfVfEw
WRYNvWg+AqkIC7hoj2WtQ5c=
=jWXP
-----END PGP SIGNATURE-----

--nextPart16990669.fYD2rNNbR3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607270731.54819.beech>