Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2017 12:27:55 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Package database problems
Message-ID:  <CAN6yY1vffqA=ViVeUSFnqTQukRzoMyMK6QsVty2WgbCngyA=NQ@mail.gmail.com>
In-Reply-To: <36A9489B8F68A8CD88D4AB24@Pauls-MacBook-Pro.local>
References:  <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> <CA%2BtpaK2azVgx6yb98ySHFSr015Ngv5oMHT%2B29b_b_u6AbDL9EQ@mail.gmail.com> <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> <CAOjFWZ5CBOsSWDgrjLh8eeH4bYS_322ne6t=48cEQS7DYka4YA@mail.gmail.com> <8A2775F734F780DEC994C467@Pauls-MacBook-Pro.local> <20171116194924.GB2827@home.opsec.eu> <D818748BC853ABC059C1D3DA@Pauls-MacBook-Pro.local> <20171116203405.GC2827@home.opsec.eu> <DA2044A75F54A978ED2C1408@Pauls-MacBook-Pro.local> <20171117083915.GD2827@home.opsec.eu> <36A9489B8F68A8CD88D4AB24@Pauls-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 17, 2017 at 5:41 PM, Paul Schmehl <pschmehl_lists@tx.rr.com>
wrote:

> --On November 17, 2017 at 9:39:15 AM +0100 Kurt Jaeger <lists@opsec.eu>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vffqA=ViVeUSFnqTQukRzoMyMK6QsVty2WgbCngyA=NQ>