#author("2023-09-07T16:26:46+09:00","default:kuji","kuji") #author("2023-09-07T16:32:15+09:00","default:kuji","kuji") CONTENTS #contents ---- Lastmodified &lastmod; ---- *py39-cryptography [#qee5ef0f] 2023/09/07現在、py39-cryptographyは、3.4.8_1,1 ではなく、 py39-cryptography-3.4.8_1,1 < needs updating (index has 41.0.3,1) でないと、py39-certbot で、エラーとなる。ので、入れ換えるべく pkg upgrade py39-cryptography-3.4.8_1,1 するも、 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) Your packages are up to date. と言われてアップグレードできない。 さらに悪いことは重なるもので、ports の security/py-cryptgraphy は、コンパイルエラーがでてパッケージが生成できない。 ===> Cargo config: [source.cargo] directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.15+cargo-0.67/cargo-crates' [source.crates-io] replace-with = 'cargo' ===> Updating Cargo.lock *** Signal 11 といったエラー。検索しても今のところ解決策は闇 最新バージョンは、 # pkg version -n py39-cryptography -v py39-cryptography-3.4.8_1,1 < needs updating (index has 41.0.3,1) だが、pkg upgrade -f してもバージョンはそのまま・・・ 依存関係のpkgを全部入れ換えないと駄目なんだろうか? # pkg delete py39-cryptography-3.4.8_1,1 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 11 packages (of 0 packages in the universe): Installed packages to be REMOVED: py39-acme: 2.6.0,1 py39-aioquic: 0.9.21 py39-certbot: 2.6.0,1 py39-cryptography: 3.4.8_1,1 py39-dnspython: 2.4.2,1 py39-josepy: 1.13.0 py39-openssl: 23.2.0,1 py39-recommonmark: 0.5.0_2 py39-requests: 2.31.0 py39-sphinx: 5.3.0_1,1 py39-urllib3: 1.26.16,1 Number of packages to be removed: 11 The operation will free 28 MiB. Proceed with deinstalling packages? [y/N]: *別マシーンのパッケージを移植する [#xa466d20] 目的のパッケージは、 /usr/local/lib/python3.9/site-packages/cryptography /usr/local/lib/python3.9/site-packages/cryptography-41.0.3.dist-info /usr/local/share/licenses/py39-cryptography-41.0.3,1 のディレクトリに保存されている模様なので、これらをtarでまとめて、移植してみたところ、 certbot renew --dry-run で、動作確認がとれ、無事、サイト証明書の発行ができました。やれやれ ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);