Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 18:44:07 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Juan =?iso-8859-1?Q?Ram=F3n?= Molina Menor <listjm@club-internet.fr>
Cc:        freebsd-ports@freebsd.org, bat@freebsd.org
Subject:   Re: pkg 1.4 freeze please test test test!
Message-ID:  <20141029174407.GB11033@ivaldir.etoilebsd.net>
In-Reply-To: <5451255C.1020407@club-internet.fr>
References:  <5451255C.1020407@club-internet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--neYutvxvOLaeuPCA
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 29, 2014 at 06:35:24PM +0100, Juan Ram=C3=B3n Molina Menor wrot=
e:
> > >/  Can we test it now, then remove it when 1.4 will be in -RELEASE or =
-STABLE?
> > />/ =20
> > /yes remove the current pkg
> >
> > pkg delete -f pkg
> >
> > install ports-mgmt/pkg-devel (adding WITH_PKG=3Ddevel in make.conf)
> > use it
> > when you want to go back to stable when 1.4 will be out:
> >
> > pkg delete pkg
> > pkg bootstrap
> >
> > regards,
> > Bapt
>=20
> Hi Baptiste.
>=20
> That=E2=80=99s not working here, I followed the above instructions and th=
e=20
> install failed:
>=20
> =3D=3D=3D> Installing for pkg-1.4.0.a1
> =3D=3D=3D> Checking if pkg already installed
> =3D=3D=3D> Registering installation for pkg-1.4.0.a1
> Installing pkg-1.4.0.a1...
> pkg-static: sqlite error while executing INSERT OR REPLACE INTO=20
> packages( origin, name, version, comment, desc, message, arch,=20
> maintainer, www, prefix, flatsize, automatic, licenselogic, mtree_id,=20
> time, manifestdigest) VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10,=20
> ?11, ?12, ?13, (SELECT id FROM mtree WHERE content =3D ?14), NOW(), ?15)=
=20
> in file pkgdb.c:1583: NOT NULL constraint failed: packages.arch
> If you are upgrading from the old package format, first run:
> # pkg2ng
>=20
> *** Error code 70
> Stop.
> make[1]: stopped in /usr/ports/ports-mgmt/pkg-devel
> *** Error code 1
>=20
> I=E2=80=99m not in CURRENT, if that matters:
>=20
It has been fixed in alpha3 which is in the ports tree already.

Thanks for you report

regards,
bapt

--neYutvxvOLaeuPCA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlRRJ2cACgkQ8kTtMUmk6EyS5QCgkCKIL8Ot5irpAhavxJMvtIrX
cKUAoJ7RUBAZkI4cDXCMKRzI47h4Btou
=xrLj
-----END PGP SIGNATURE-----

--neYutvxvOLaeuPCA--



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