From owner-freebsd-ports@freebsd.org Sun Nov 19 20:27:57 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E01BDBDD3E for ; Sun, 19 Nov 2017 20:27:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E78AF3E9B for ; Sun, 19 Nov 2017 20:27:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x22b.google.com with SMTP id l25so4643646uag.8 for ; Sun, 19 Nov 2017 12:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FhQhfjxE3OK19yDhnH+SBtLKRqFpT+jXy2gubhahQcA=; b=gsXW4uGwSYt9UNPJSCrJtZKrCW8CF7dk2M2fLs0T0YewPfaT8228zDUZ7yuMS+lDjB HO8hhPJC9pFr566VygQ595I/qSfbZI7IPjaSVIHQGwz2apmkSkh7XG7dzjEKHD5TfkfO 2TpySaANDYHV4DT9P6BD/+B1NDHVYY92AN5+/ZjrYa5vdgVOQHEyPi2yDQWUg4KsoGw0 sbaFKLxeZN5HYq9C6PsjjI7MXkg2J4gLRP9HIQLndcW95k2ip/7SWnM6rQ3G4sDYffoD Kw3YhVSAfAMUWZLFLFtx9qVg1MuqTUIjcAdTvXbEg38tAeQkaKJ11DdTd8NStJrToSSy n2Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FhQhfjxE3OK19yDhnH+SBtLKRqFpT+jXy2gubhahQcA=; b=pUpWdwjFZ3gFxjkGX38v/jKT7+guHpb0MpM9fU2tMoeoCUaRlcJIfqcPJEGKfjqBGW LaK0qfy7lxgI7SuzXsEHZ/A6tuh7T0dvw0dQYWdRm2rKPR5/7f54y0ffaBrQSxpmflaQ 0dBJ37rREG8d2Y0IOMTHU4JKX1pJpgP/FygV/tkqEuNL5DfxtRQaDhYOoAtZVMD5M1VE WbiIVterba7jmdnqXXYmN71x+Gtp5P/8yrd3V7oJ+36jfEK0Oj8/A62cUmPwxnNDvUOx p+1gpOuF27fBJLb54cQGRHOoTbEviIAXerB6MTVXzT4An0RdBUZpgdRz3U4qvgopGxSB Xq8A== X-Gm-Message-State: AJaThX7xoynV7ynO2N/GHSeaDKvTQfQ+pXldrgn6fXeRW28Mmyz7/aIb MB8AMXP02IPN0hQkKR27GbL9YB9uBtQdIJQNvGU= X-Google-Smtp-Source: AGs4zMbixkKLgw8/SkWZSW1O3uFBEZRKXFgGAmjTPVUPWnHnql7g8psn5yo97SpjrnRrylWkAR8eTgVIjvC2t72cvaA= X-Received: by 10.176.73.45 with SMTP id z42mr9674221uac.71.1511123275922; Sun, 19 Nov 2017 12:27:55 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.5.69 with HTTP; Sun, 19 Nov 2017 12:27:55 -0800 (PST) In-Reply-To: <36A9489B8F68A8CD88D4AB24@Pauls-MacBook-Pro.local> References: <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> <8A2775F734F780DEC994C467@Pauls-MacBook-Pro.local> <20171116194924.GB2827@home.opsec.eu> <20171116203405.GC2827@home.opsec.eu> <20171117083915.GD2827@home.opsec.eu> <36A9489B8F68A8CD88D4AB24@Pauls-MacBook-Pro.local> From: Kevin Oberman Date: Sun, 19 Nov 2017 12:27:55 -0800 X-Google-Sender-Auth: NBIl0N7vzODs_YyTGvgcc2ZOWhg Message-ID: Subject: Re: Package database problems To: Paul Schmehl Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Nov 2017 20:27:57 -0000 On Fri, Nov 17, 2017 at 5:41 PM, Paul Schmehl wrote: > --On November 17, 2017 at 9:39:15 AM +0100 Kurt Jaeger > wrote: > > Hi! >> >> >> I didn't setup this server to begin with. I recall, a >>> >> while back, instructions for switching to pkgng. Is that what wasn't >>> >> done? >>> >> >> > Yes, something like that. >>> >> >> Should I run pkg2ng now? Would that help? >>> >> >> I'm not sure it would help. >> > > I managed to fix the problem by a combination of installing major > languages (perl, php, ruby and python) and their dependencies, running pkg > autoremove -n and deleting unwanted and unneeded ports, and then running > portmaster to complete the updates of out of date ports. > > I do have one concern, however. (There may be others I'm unaware of.) When > I ran pkg -r devel/oniguruma, it showed no dependencies. In fact, it was > listed by autoremove. But I know php ports depend on it. Is there a way to > update dependencies that are not listed? > > If not, I'll probably uninstall oniguruma and then reinstall php, which > *should* force the reinstall of oniguruma and update the dependency tree. > > It sure would be nice if pkg could do this for me by simply relinking the > dependencies. > > Paul Schmehl, Retired Just for the record, portmaster creates all of those directories in /var/db/pkg and they all should contain the file distfiles which contains th contents of an installed port's distfiles since they are lost when the /usr/ports are updated. It i needed for portmaster to do --clean-distfiles where you don't want to delete a distfile until after a port is upgraded, not after the /usr/ports is updated. If you never use --clean-distfiles, deleting them should not be an issue, but is not going to make a difference and I find running the option once and a while to be useful. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683