Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 19:15:20 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        questions@freebsd.org
Subject:   Re: pkg install -f ... doesn't?
Message-ID:  <b4bb7fdf-d0ab-4c21-a6b7-b561d6afa6ea@rail.eu.org>
In-Reply-To: <13ac79d6-2eed-4c1a-bc32-5baf7f9a7881@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>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 23/01/2025 à 18:47, Gary Aitken a écrit :
> Not sure exactly what the problem was,
> but updating the package database
> and using security/py-certbot-apache
> instead of py-certbot-apache
> solved the problem:
>
> # pkg update -f
> Updating FreeBSD repository catalogue...
> Fetching meta.conf: 100%    178 B   0.2kB/s    00:01
> Fetching data.pkg: 100%    7 MiB 503.1kB/s    00:15
> Processing entries: 100%
> FreeBSD repository update completed. 35910 packages processed.
>
> # 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
>
> # pkg install security/py-certbot-apache
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> The following 21 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
> ...
> Installed packages to be REMOVED:
>         py39-charset-normalizer: 3.3.2
>         py39-distro: 1.9.0
>         py39-requests: 2.31.0
> New packages to be INSTALLED:
>         py311-acme: 3.0.1,1
> ...
>
> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b4bb7fdf-d0ab-4c21-a6b7-b561d6afa6ea>