Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 20:22:25 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        questions@freebsd.org
Subject:   Re: pkg install -f ... doesn't?
Message-ID:  <cd2f774b-f6df-4976-a207-af20076d6d0d@rail.eu.org>
In-Reply-To: <51d748aa-7213-43f1-80ab-df5a4fbe2cd9@dreamchaser.org>
References:  <e7f285d1-e976-4de1-8f59-0c2bf334c911@dreamchaser.org> <ff4374cd-783c-4548-8cae-ee7e46178858@rail.eu.org> <64c317d0-8011-4176-9460-61cf6a88ff7c@dreamchaser.org> <13ac79d6-2eed-4c1a-bc32-5baf7f9a7881@dreamchaser.org> <b4bb7fdf-d0ab-4c21-a6b7-b561d6afa6ea@rail.eu.org> <51d748aa-7213-43f1-80ab-df5a4fbe2cd9@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 23/01/2025 à 20:13, Gary Aitken a écrit :
> On 1/23/25 11:15, Erwan David wrote:
>> Le 23/01/2025 à 18:47, Gary Aitken a écrit :
>
>>> I tried security/py-certbot-apache after checking freshports, which 
>>> says: To add the package, run one of these commands:
>>>          pkg install security/py-certbot-apache
>>>          pkg install py311-certbot-apache
>>>
>>> Why is the "security/" required?
>>
>> with the security you specify the port. You can see it installs
>> py311-* packages that means packages compiled fotr Python3.11 which
>> is the crurrent version. By specifying py39-* you forced packages
>> made for python 3.9 which do not exist anymore in the repositories.
>
> But I didn't specify py39 when I tried again the first time;
> I only specified py:
>
>>> # pkg install py-certbot-apache
>>> Updating FreeBSD repository catalogue...
>>> FreeBSD repository is up to date.
>>> All repositories are up to date.
>>> pkg: No packages available to install matching 'py-certbot-apache' 
>>> have been found in the repositories
>
>
The port security/py-certbot-apache exists. The package 
py311-certbot-apache exists, but the package py-certbot-apache does not. 
And when given the name without a category before, pkg looks for a 
package with the specified name. With the category, it looks for a 
package coming from the specified port




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd2f774b-f6df-4976-a207-af20076d6d0d>