pictuga / morss

Get full text RSS feeds
https://morss.it/
GNU Affero General Public License v3.0
621 stars 75 forks source link

error: cannot uninstall 'packaging' #78

Closed aberlaas closed 2 years ago

aberlaas commented 2 years ago

Hi,

For some reasons I can't run docker. Build fails with the following error :

ERROR: Cannot uninstall 'packaging'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Thank you,

aberlaas commented 2 years ago

I can see 'packaging 20.9' is installed first when the following command is called :

apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools;

An then, it tries to reinstall it (version 21.3) when the following command is called :

apk add --no-cache --virtual .build-deps py3-pip py3-wheel;

I'm using armbian distrib.

pictuga commented 2 years ago

Issue comes from pip trying to uninstall sth installed with apk. Solved in 2a7a1b83ecb8125927003132c1a333e9f48e5c97 by using a more up-to-date version of the alpine image. Thanks for reporting!