Date: Thu, 30 Oct 2014 00:09:46 +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 Subject: Re: pkg 1.4 freeze please test test test! Message-ID: <20141029230945.GP11033@ivaldir.etoilebsd.net> In-Reply-To: <545154D3.9070902@club-internet.fr> References: <1479844.740994.1414613658812.JavaMail.www@wsfrf1114> <20141029202844.GJ11033@ivaldir.etoilebsd.net> <545154D3.9070902@club-internet.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--h9WqFG8zn/Mwlkpe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2014 at 09:57:55PM +0100, Juan Ram=C3=B3n Molina Menor wrot= e: > El 29/10/2014 21:28, Baptiste Daroussin escribi=C3=B3: > > On Wed, Oct 29, 2014 at 09:14:18PM +0100, listjm@club-internet.fr wrote: > >>>> Installing pkg-1.4.0.a1... >> pkg-static: sqlite error while executi= ng INSERT OR REPLACE INTO >> packages( origin, name, version, comment, des= c, message, arch, >> maintainer, www, prefix, flatsize, automatic, license= logic, mtree_id, >> time, manifestdigest) VALUES( ?1, ?2, ?3, ?4, ?5, ?6, = ?7, ?8, ?9, ?10, >> ?11, ?12, ?13, (SELECT id FROM mtree WHERE content =3D= ?14), NOW(), ?15) >> in file pkgdb.c:1583: NOT NULL constraint failed: pa= ckages.arch >> If you are upgrading from the old package format, first run:= >> # pkg2ng >> >> *** Error code 70 >> Stop. >> make[1]: stopped in /usr/= ports/ports-mgmt/pkg-devel >> *** Error code 1 >> >> I=E2=80=99m not in CU= RRENT, if that matters: >> >It has been fixed in alpha3 which is in the po= rts tree already. > >Thanks for you report > >regards, >bapt >=20 > Sorry for the garbage! >=20 > >> Sorry, I had not updated the ports tree since yesterday. > >> > >> The problem I have now is that when trying to install new packages, pk= g insists on being downgraded. Locking it has not helped. > >> > >> # pkg install vim-lite > >> Updating FreeBSD repository catalogue... > >> pkg: Repository FreeBSD has a wrong packagesite, need to re-create dat= abase > >> Fetching meta.txz: 100% 944 B 0.9k/s 00:01 > >> Fetching packagesite.txz: 100% 5 MB 296.7k/s 00:18 > >> Processing entries: 100% > >> FreeBSD repository update completed. 23724 packages processed > >> Updating FreeBSD_new_xorg repository catalogue... > >> pkg: Repository FreeBSD_new_xorg has a wrong packagesite, need to re-c= reate data > >> base > >> Fetching meta.txz: 100% 944 B 0.9k/s 00:01 > >> Fetching packagesite.txz: 100% 192 KB 196.3k/s 00:01 > >> Processing entries: 100% > >> FreeBSD_new_xorg repository update completed. 799 packages processed > >> New version of pkg detected; it needs to be installed first. > >> Checking integrity... done (0 conflicting) > >> The following 1 packages will be affected (of 0 checked): > >> > >> Installed packages to be DOWNGRADED: > >> pkg: 1.4.0.a3 -> 1.3.8_3 [FreeBSD] > >> > >> The operation will free 8 MB. > >> > >> > >> > >> There is also that "wrong packagesite message". > >> > >> What am I doing wrong? > >> > >> # cat /etc/make.conf > >> WITH_NEW_XORG=3D"YES" > >> WITH_GALLIUM=3D"YES" > >> WITH_PKGNG=3D"YES" > >> WITH_PKG=3Ddevel > > > > What version of freebsd are you on I would bet 9.1 where the bootstrap = was dumb > > and may have created for you a bad /usr/local/etc/pkg.conf >=20 > No, I=E2=80=99m on 10.0-RELEASE: >=20 > # uname -a > FreeBSD Marianne.Juan.home 10.0-RELEASE-p10 FreeBSD 10.0-RELEASE-p10 #0:= =20 > Mon Oct 20 12:38:37 UTC 2014=20 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >=20 > > for the fact that pkg wants to be downgraded I ll track the bug. > > > > Do you have net-snmp installed? >=20 > No. >=20 > # pkg info net-snmp > pkg: No package(s) matching net-snmp >=20 >=20 Can you host somewhere your /var/db/pkg/local.sqlite so that I can study it= to discover what is causing that? Because I can't reproduce. regards, Bapt --h9WqFG8zn/Mwlkpe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRRc7kACgkQ8kTtMUmk6Exq1ACeL4XfBy/AIDlL/oFzdxTKoP0Y iJ0AoLQGd1pIPLyC176eLYipr21yAEOH =DJn1 -----END PGP SIGNATURE----- --h9WqFG8zn/Mwlkpe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141029230945.GP11033>