You are not logged in.

#1 2019-01-30 08:20:28

funkaddict
Member
Registered: 2018-08-13
Posts: 106

[SOLVED] Pacman error: File exists in fileystem

Hey there.

This morning, when starting up my system which I have left yesterday shutdown without any troubles I ran into some xorg-related issues. Xorg was freezing and not recocnysing my second screen which is connected via displayport and daisy chaining properly anymore.

This is why I tried to update the system and see if that solves the problem, when I ran into another problem:

(47/47) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
python-pyqt5: /usr/lib/python3.7/site-packages/PyQt5/__pycache__/__init__.cpython-37.pyc exists in filesystem
Errors occurred, no packages were upgraded.

This is strange. Because I am quite sure that I allways took care to propperly install all packages via pacman. I have not installed pip.

Because of the dependencies of python-pyqt5, removing the package would break the following

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: backintime-git: removing python-pyqt5 breaks dependency 'python-pyqt5'
:: python-qtconsole: removing python-pyqt5 breaks dependency 'python-pyqt5'
:: spyder3: removing python-pyqt5 breaks dependency 'python-pyqt5'

I have tried to overwrite the package explicitly via:

$ sudo pacman -S python-pyqt5
[sudo] password for user: 
resolving dependencies...
looking for conflicting packages...

Packages (1) python-pyqt5-5.11.3-3

Total Installed Size:  23.14 MiB
Net Upgrade Size:       0.10 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
python-pyqt5: /usr/lib/python3.7/site-packages/PyQt5/__pycache__/__init__.cpython-37.pyc exists in filesystem
Errors occurred, no packages were upgraded.

I´d be thankfully for any advide here. I am not certain if I should use the overwrite force flag here.

Last edited by funkaddict (2019-01-30 08:55:05)

Offline

#2 2019-01-30 08:40:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: [SOLVED] Pacman error: File exists in fileystem

https://wiki.archlinux.org/index.php/Pa … )%22_error

Don't use the force, use common sense.

Last edited by WorMzy (2019-01-30 08:41:06)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-01-30 08:44:54

waitnsea
Member
From: France
Registered: 2013-02-10
Posts: 57

Re: [SOLVED] Pacman error: File exists in fileystem

funkaddict wrote:

I have tried to overwrite the package explicitly via:

$ sudo pacman -S python-pyqt5
[sudo] password for user: 
resolving dependencies...
looking for conflicting packages...

Packages (1) python-pyqt5-5.11.3-3

Total Installed Size:  23.14 MiB
Net Upgrade Size:       0.10 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
python-pyqt5: /usr/lib/python3.7/site-packages/PyQt5/__pycache__/__init__.cpython-37.pyc exists in filesystem
Errors occurred, no packages were upgraded.

I´d be thankfully for any advide here. I am not certain if I should use the overwrite force flag here.

Hi,
$ sudo pacman -Syu --overwrite /usr/lib/python3.7/site-packages/PyQt5/__pycache__/__init__.cpython-37.pyc
Have a look on this pacman's new feature

Edit: WorMzy writed faster...

Last edited by waitnsea (2019-01-30 08:46:41)

Offline

#4 2019-01-30 08:54:42

funkaddict
Member
Registered: 2018-08-13
Posts: 106

Re: [SOLVED] Pacman error: File exists in fileystem

WorMzy wrote:

https://wiki.archlinux.org/index.php/Pa … )%22_error

Don't use the force, use common sense.

Oh, I am sorry hmm My bad. However thanks for linking, which I didn´t come across by myself. That worked out. No package was using the file as described in the respective wiki description.

waitnsea wrote:

Edit: WorMzy writed faster...

Also thank you waitnsea merci beaucoup

Now I just have to solve my x-related issues ^^

Last edited by funkaddict (2019-01-30 08:55:25)

Offline

#5 2019-01-31 03:03:26

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Pacman error: File exists in fileystem


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB