Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 13:48:15 +0100
From:      Grzegorz Junka <list1@gjunka.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Reinstalling with dependencies
Message-ID:  <0f6613c4-d399-7155-db68-14a9b1511b8a@gjunka.com>
In-Reply-To: <9dac2237-c1b5-8317-a5bf-c1a4b7d89030@quip.cz>
References:  <dc938265-c181-f8e6-9a4d-1e9214497be1@gjunka.com> <20190522115101.tl36hg2wmclev3oq@ivaldir.net> <c11701e0-6808-e864-0ff7-8d178bf458b8@gjunka.com> <9dac2237-c1b5-8317-a5bf-c1a4b7d89030@quip.cz>

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

On 22/05/2019 13:42, Miroslav Lachman wrote:
> Grzegorz Junka wrote on 2019/05/22 14:11:
>
> [...]
>
>> Are you saying that even if elinks was reinstalled with dependencies 
>> that wouldn't help?
>>
>> We have two issues here:
>>
>> 1. How to reinstall a package with dependencies (as stated in the 
>> subject)
>
> You can try something like this
>
> pkg install -f `pkg info -d elinks | tr -d :`
>
>
> pkg info -d will list direct dependencies of the port and then this 
> list is given to command pkg install -f.
>

That's a good idea. Thank you. I may probably want to strip versions 
too, to allow upgrading to more recent versions. But I can take it from 
there.

GrzegorzJ




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f6613c4-d399-7155-db68-14a9b1511b8a>