Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75627 - Cannot install jupyter-notebook, nor jupyterlab packages due to issue with python-asttokens

Attached to Project: Community Packages
Opened by K4LCIFER (K4LCIFER) - Wednesday, 17 August 2022, 03:11 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 August 2022, 04:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Trying to install jupyter-notebook, or jupyterlab results in the following error:
```
error: failed to commit transaction (conflicting files)
python-asttokens: /usr/lib/python3.10/site-packages/asttokens/__pycache__/__init__.cpython-310.pyc exists in filesystem
python-asttokens: /usr/lib/python3.10/site-packages/asttokens/__pycache__/asttokens.cpython-310.pyc exists in filesystem
python-asttokens: /usr/lib/python3.10/site-packages/asttokens/__pycache__/line_numbers.cpython-310.pyc exists in filesystem
python-asttokens: /usr/lib/python3.10/site-packages/asttokens/__pycache__/mark_tokens.cpython-310.pyc exists in filesystem
python-asttokens: /usr/lib/python3.10/site-packages/asttokens/__pycache__/util.cpython-310.pyc exists in filesystem
Errors occurred, no packages were upgraded.
-> error installing repo packages

```

The package python-asttokens is not installed on my system through pacman, nor through pip.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 17 August 2022, 04:14 GMT
Reason for closing:  Works for me
Comment by Toolybird (Toolybird) - Wednesday, 17 August 2022, 04:13 GMT
You reported something similar last time  FS#75096 

You'll need to somehow clean your system of foreign files which are conflicting. Please read this [1].

There is no problem here as the packages install perfectly in a clean chroot.

[1] https://wiki.archlinux.org/title/Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error

Loading...