# Error installing repo messages

**URL:** <https://forum.endeavouros.com/t/error-installing-repo-messages/34625>\
**Category:** Pacman & AUR helpers\
**Created:** [December 7, 2022, 3:39pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625 "2022-12-07T15:39:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [December 7, 2022, 3:39pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/1 "2022-12-07T15:39:45Z")

</div>

Trying to upgrade today and got this message at the end:

 ![image](https://forum.endeavouros.com/uploads/default/original/3X/d/e/de2b1ea8372bbe7c9b5d000c93a642c35b2c5bdf.png)

I updated Arch and Endeavour mirrors, restarted, tried again, but still got the same message.  
Here is my boot log: [https://0x0.st/-k.txt](https://0x0.st/-k.txt)

Please advise.

---

<div class="post-metadata">

**Author:** ![rene](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/rene/32/69271_2.png) [@rene](https://forum.endeavouros.com/u/rene)\
**Post date:** [December 7, 2022, 3:43pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/2 "2022-12-07T15:43:49Z")

</div>

While I won’t be promising that you _should_ in this specific case, you _can_ do

```auto
sudo pacman -Syu --overwrite '*'

```

It’s probably fine; the issue being a former partial update…

---

<div class="post-metadata">

**Author:** ![anthony93](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/anthony93/32/92169_2.png) [@anthony93](https://forum.endeavouros.com/u/anthony93)\
**Post date:** [December 7, 2022, 3:48pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/3 "2022-12-07T15:48:14Z")

</div>

`cd` into `/usr/lib/python3.10/site-packages/cairo/ __pycache__ /` and rename the ` __init__.cpython-310.pyc` file to something else. After that, run the update again.

This is the practice recommended by the Arch Wiki. Using the `--overwite` flag is not recommended because you run the risk of losing important files you might need.

[https://wiki.archlinux.org/title/pacman#"Failed\_to\_commit\_transaction\_(conflicting\_files)"\_error](https://wiki.archlinux.org/title/pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error)

This article contains pretty much everything you need to know on handling basic `pacman` error messages.

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [December 7, 2022, 3:56pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/4 "2022-12-07T15:56:42Z")

</div>

Just before you came on I implemented @rene 's recommendation, and that worked.  
However, your warning got me worried. Should I still do what you recommend, and run the update again, or is there no point now?

---

<div class="post-metadata">

**Author:** ![anthony93](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/anthony93/32/92169_2.png) [@anthony93](https://forum.endeavouros.com/u/anthony93)\
**Post date:** [December 7, 2022, 3:58pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/5 "2022-12-07T15:58:18Z")

</div>

In this case, using the `--overwrite` flag is harmless. The file in question is just a file containing bytecode that python will generate again once the appropriate scripts are run.

Just be more careful with the `--overwrite` flag in general and read through the Arch Wiki page I sent you. Cheers.

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [December 7, 2022, 4:00pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/6 "2022-12-07T16:00:21Z")

</div>

Thanks for your advice.

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [December 7, 2022, 4:02pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/7 "2022-12-07T16:02:13Z")

</div>

Thank you. For anyone else who reads this in the future, be careful with the `--overwrite` command, as anthony93 points out above

---

<div class="post-metadata">

**Author:** ![anthony93](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/anthony93/32/92169_2.png) [@anthony93](https://forum.endeavouros.com/u/anthony93)\
**Post date:** [December 7, 2022, 4:02pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/8 "2022-12-07T16:02:53Z")

</div>

No problem.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [December 7, 2022, 5:21pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/9 "2022-12-07T17:21:27Z")

</div>

Put this here as well for “posterity”:

> [@\[FAQ\] Package installation says FILENAME exists in filesystem; “Failed to commit transaction (conflicting files)”](https://forum.endeavouros.com/t/faq-package-installation-says-filename-exists-in-filesystem-failed-to-commit-transaction-conflicting-files/6753):
>
> I can’t install or update a package because I get (something like) this: error: could not prepare transaction error: failed to commit transaction (conflicting files) libname: /insert/file/name/here exists in filesystem Errors occurred, no packages were upgraded. Why is this happening? The package manager, pacman , has detected an unexpected file already exists on disk. By design it will not overwrite files that already exist. This is a design feature, not a flaw - package managers are desi…

---

<div class="post-metadata">

**Author:** ![rene](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/rene/32/69271_2.png) [@rene](https://forum.endeavouros.com/u/rene)\
**Post date:** [December 7, 2022, 5:40pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/10 "2022-12-07T17:40:37Z")

</div>

So my advise would then have been the “I don’t care” way 🙂

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [December 7, 2022, 5:44pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/11 "2022-12-07T17:44:23Z")

</div>

In my notes, it’s called “What the Heck” way 😅

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [December 9, 2022, 5:44pm UTC](https://forum.endeavouros.com/t/error-installing-repo-messages/34625/12 "2022-12-09T17:44:37Z")

</div>

Closed on December 9, 2022, 5:44pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
