From owner-freebsd-ports@FreeBSD.ORG Wed Oct 29 20:58:04 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B911C6E0; Wed, 29 Oct 2014 20:58:04 +0000 (UTC) Received: from smtp21.services.sfr.fr (smtp21.services.sfr.fr [93.17.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0078661D; Wed, 29 Oct 2014 20:58:04 +0000 (UTC) Received: from filter.sfr.fr (localhost [93.8.4.165]) by msfrf2113.sfr.fr (SMTP Server) with ESMTP id 4C6C770000BB; Wed, 29 Oct 2014 21:57:56 +0100 (CET) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=listjm@club-internet.fr Received: from [192.168.1.67] (165.4.8.93.rev.sfr.net [93.8.4.165]) by msfrf2113.sfr.fr (SMTP Server) with ESMTP id 01E3670000A8; Wed, 29 Oct 2014 21:57:55 +0100 (CET) X-SFR-UUID: 20141029205756784.01E3670000A8@msfrf2113.sfr.fr Message-ID: <545154D3.9070902@club-internet.fr> Date: Wed, 29 Oct 2014 21:57:55 +0100 From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: pkg 1.4 freeze please test test test! References: <1479844.740994.1414613658812.JavaMail.www@wsfrf1114> <20141029202844.GJ11033@ivaldir.etoilebsd.net> In-Reply-To: <20141029202844.GJ11033@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 20:58:04 -0000 El 29/10/2014 21:28, Baptiste Daroussin escribió: > 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 executing INSERT OR REPLACE INTO >> packages( origin, name, version, comment, desc, message, arch, >> maintainer, www, prefix, flatsize, automatic, licenselogic, mtree_id, >> time, manifestdigest) VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, >> ?11, ?12, ?13, (SELECT id FROM mtree WHERE content = ?14), NOW(), ?15) >> in file pkgdb.c:1583: NOT NULL constraint failed: packages.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’m not in CURRENT, if that matters: >> >It has been fixed in alpha3 which is in the ports tree already. > >Thanks for you report > >regards, >bapt Sorry for the garbage! >> Sorry, I had not updated the ports tree since yesterday. >> >> The problem I have now is that when trying to install new packages, pkg 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 database >> 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-create 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="YES" >> WITH_GALLIUM="YES" >> WITH_PKGNG="YES" >> WITH_PKG=devel > > 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 No, I’m on 10.0-RELEASE: # uname -a FreeBSD Marianne.Juan.home 10.0-RELEASE-p10 FreeBSD 10.0-RELEASE-p10 #0: Mon Oct 20 12:38:37 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > for the fact that pkg wants to be downgraded I ll track the bug. > > Do you have net-snmp installed? No. # pkg info net-snmp pkg: No package(s) matching net-snmp # pkg -vv Version : 1.4.0.alpha3 PKG_DBDIR = "/var/db/pkg"; PKG_CACHEDIR = "/var/cache/pkg"; PORTSDIR = "/usr/ports"; INDEXDIR = ""; INDEXFILE = "INDEX-10"; HANDLE_RC_SCRIPTS = false; ASSUME_ALWAYS_YES = false; REPOS_DIR [ "/etc/pkg/", "/usr/local/etc/pkg/repos/", ] PLIST_KEYWORDS_DIR = ""; SYSLOG = true; ABI = "FreeBSD:10:i386"; ALTABI = "freebsd:10:x86:32"; DEVELOPER_MODE = false; VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2"; FETCH_RETRY = 3; PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; PKG_ENABLE_PLUGINS = true; PLUGINS [ ] DEBUG_SCRIPTS = false; PLUGINS_CONF_DIR = "/usr/local/etc/pkg/"; PERMISSIVE = false; REPO_AUTOUPDATE = true; NAMESERVER = ""; EVENT_PIPE = ""; FETCH_TIMEOUT = 30; UNSET_TIMESTAMP = false; SSH_RESTRICT_DIR = ""; PKG_ENV { } PKG_SSH_ARGS = ""; DEBUG_LEVEL = 0; ALIAS { all-depends = "query %dn-%dv"; annotations = "info -A"; build-depends = "info -qd"; download = "fetch"; iinfo = "info -i -g -x"; isearch = "search -i -g -x"; leaf = "query -e \"%a == 0\" \"%n-%v\""; leaf = "query -e \"%a == 0\" \"%n-%v\""; list = "info -ql"; origin = "info -qo"; provided-depends = "info -qb"; raw = "info -R"; required-depends = "info -qr"; shared-depends = "info -qB"; show = "info -f -k"; size = "info -sq"; } CUDF_SOLVER = ""; SAT_SOLVER = ""; RUN_SCRIPTS = true; CASE_SENSITIVE_MATCH = false; LOCK_WAIT = 1; LOCK_RETRIES = 5; SQLITE_PROFILE = false; WORKERS_COUNT = 0; READ_LOCK = false; PLIST_ACCEPT_DIRECTORIES = false; IP_VERSION = 0; AUTOMERGE = true; Repositories: FreeBSD: { url : "pkg+http://pkg.FreeBSD.org/FreeBSD:10:i386/latest", enabled : yes, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } FreeBSD_new_xorg: { url : "pkg+http://pkg.FreeBSD.org/FreeBSD:10:i386/new_xorg", enabled : yes, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } Hope it helps, Juan