Open archont00 opened 3 years ago
I'd like to try to reproduce this in my own environment. What steps lead to this situation?
Run:
$ pacman -Ql ofxstatement | grep config.ini
ofxstatement /usr/lib/python3.9/site-packages/ofxstatement/tests/samples/config.ini
and
$ pacman -Ql ofxstatement-revolut-git | grep config.ini
ofxstatement-revolut-git /usr/lib/python3.9/site-packages/ofxstatement/tests/samples/config.ini
I.e., when the user tries to install ofxstatement-revolut-git, it will fail because the config.ini
already exists and it "owned" by another package.
EDIT: Alternatively, I could update the PKGBUILD file so that it renames the conflicting config.ini
. On the other hand, I assume it may be a general problem for other Linux distributions.
The PKGBUILD for ofxstatement and ofxstatement-revolut-git does not do any magic, it just runs
$ python setup.py install --root="$pkgdir"
And then it packs all the installed files into a pkg
file, where $pkgdir
is replaced by the actual filesystem root /
.
pacman
is a package manager, which unpacks the contents of the pkg
file to the real filesystem.
Hi,
Arch Linux:
It would be better to rename your
config.ini
to whatever else to avoid the conflict.