Re: newnfs pkgng database corruption?
--cYtjc4pxslFTELvY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Apr 11, 2013 at 08:44:01AM +0000, Eggert, Lars wrote:
> Hi,
>=20
> On Apr 11, 2013, at 10:30, Baptiste Daroussin <bapt@freebsd.org> wrote:
> > First, I think you can recover your database.
>=20
> that would be great.
>=20
> > Can you try the following command:
> >=20
> > # mv /var/db/pkg/local.sqlite /var/db/pkg/backup.sqlite
> > # echo '.dump' | pkg shell /var/db/pkg/backup.sqlite | pkg shell
>=20
> That step doesn't quite work:
>=20
> [root@stanley /usr/home/elars/local/db]# echo '.dump' | pkg shell backup.=
sqlite | pkg shell
> Error: near line 15927: column path is not unique
> Error: near line 15928: column path is not unique
> Error: near line 15929: column path is not unique
> Error: near line 15930: column path is not unique
> Error: near line 15931: column path is not unique
> Error: near line 15932: column path is not unique
> Error: near line 15933: column path is not unique
> Error: near line 15934: column path is not unique
> Error: near line 15935: column path is not unique
> Error: near line 15936: column path is not unique
> Error: near line 15937: column path is not unique
>=20
> [root@stanley /usr/home/elars/local/db]# ll local.sqlite=20
> -rw-r--r-- 1 root wheel 0 Apr 11 10:42 local.sqlite
>=20
> I can send you the database off-list, if you like.
>=20
Yes please.
regards,
Bapt
--cYtjc4pxslFTELvY
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlFmnCYACgkQ8kTtMUmk6EwDiwCfSAh+5obx0i0H1K3oKwasIGRZ
2m0An3ZDIUPg7CwhX6BKOo5L78vk8HB8
=qwyF
-----END PGP SIGNATURE-----
--cYtjc4pxslFTELvY--
討論串 (同標題文章)
完整討論串 (本文為第 14 之 17 篇):