1478
Ошибка при обновлении python3.7 через AUR
При попытке обновления python 3.7.7-2 -> 3.7.8-2 с помощью GUI Установка и удаление программ появляется ошибка
Пробовал дать права 777 для /usr/bin/pip но результат прежний. Пробовал скачать пакет из AUR вручную и установить из терминала, результат прежний. Сам пакет ставил вручную из AUR.
Подскажите в чем может быть проблема?
PYTHONPATH=/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 \
./python -E -Wi /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/compileall.py \
-d /usr/lib/python3.7/site-packages -f \
-x badsyntax /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Listing '/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages'...
PYTHONPATH=/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 \
./python -E -Wi -O /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/compileall.py \
-d /usr/lib/python3.7/site-packages -f \
-x badsyntax /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Listing '/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages'...
PYTHONPATH=/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 \
./python -E -Wi -OO /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/compileall.py \
-d /usr/lib/python3.7/site-packages -f \
-x badsyntax /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Listing '/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/site-packages'...
PYTHONPATH=/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 \
./python -E -m lib2to3.pgen2.driver /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar.txt
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Generating grammar tables from /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar.txt
Writing grammar tables to /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar3.7.8.final.0.pickle
PYTHONPATH=/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 \
./python -E -m lib2to3.pgen2.driver /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar.txt
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Generating grammar tables from /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar.txt
Writing grammar tables to /var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar3.7.8.final.0.pickle
if test "xupgrade" != "xno" ; then \
case upgrade in \
upgrade) ensurepip="--altinstall --upgrade" ;; \
install|*) ensurepip="--altinstall" ;; \
esac; \
LD_LIBRARY_PATH=/var/tmp/pamac-build-winmasta/python37/src/Python-3.7.8 ./python -E -m ensurepip \
$ensurepip --root=/var/tmp/pamac-build-winmasta/python37/pkg/python37/ ; \
fi
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Looking in links: /tmp/tmp3ottobph
Processing /tmp/tmp3ottobph/setuptools-47.1.0-py3-none-any.whl
Processing /tmp/tmp3ottobph/pip-20.1.1-py2.py3-none-any.whl
Installing collected packages: setuptools, pip
WARNING: The script easy_install-3.7 is installed in '/var/tmp/pamac-build-winmasta/python37/pkg/python37/usr/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Attempting uninstall: pip
Found existing installation: pip 20.0.2
Uninstalling pip-20.0.2:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Отказано в доступе: '/usr/bin/pip'
Consider using the `--user` option or check the permissions.
make: *** [Makefile:1152: altinstall] Ошибка 1
==> ОШИБКА: Произошел сбой в package().
Прерывание...
Пробовал дать права 777 для /usr/bin/pip но результат прежний. Пробовал скачать пакет из AUR вручную и установить из терминала, результат прежний. Сам пакет ставил вручную из AUR.
Подскажите в чем может быть проблема?
3 комментария
bash.org