FreeBSD - メンテナンス・トラブルシュート - Python - py311-lxml5 conflicts py311-lxml


クラウディア 


1. 概要
2. 状況
3. 対策

1. 概要

 前ページの続きで・・・。

2. 状況


env BATCH=yes portupgrade -rR yelp-tools
 したら。

====> Compressing man pages (compress-man)
===>  Installing for py311-lxml5-5.4.0_2

===>  py311-lxml5-5.4.0_2 conflicts with installed package(s):
      py311-lxml-4.9.3_2

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  Checking if py311-lxml5 is already installed
===>   Registering installation for py311-lxml5-5.4.0_2 as automatic
Installing py311-lxml5-5.4.0_2...
pkg-static: py311-lxml5-5.4.0_2 conflicts with py311-lxml-4.9.3_2 (installs files into the same place).  Problematic file: /usr/local/lib/python3.11/site-packages/lxml/ElementInclude.py
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-lxml5
*** Error code 1

・・・	以下略	・・・
 で止まります。

3. 対策

 前ページと同じことだわな。

pkg remove py311-lxml

Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        py311-lxml: 4.9.3_2

Number of packages to be removed: 1

The operation will free 13 MiB.

Proceed with deinstalling packages? [y/N]:
 これも依存する人は、いないようなので、y。  その後。

env BATCH=yes portupgrade -rR yelp-tools
 これでやっと「yelp-tools」をアップグレードできました。