If an upgrade fails with "error: failed to commit transaction (conflicting files)", then one way of removing the conflicting files is to uninstall this package first.
Search Criteria
Package Details: sickchill-git 2024.3.1.r0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sickchill-git.git (read-only, click to copy) |
---|---|
Package Base: | sickchill-git |
Description: | Automatic video library manager for TV shows |
Upstream URL: | https://sickchill.github.io |
Licenses: | GPL3 |
Conflicts: | sickchill |
Provides: | sickchill |
Submitter: | willemw |
Maintainer: | willemw |
Last Packager: | willemw |
Votes: | 12 |
Popularity: | 0.000000 |
First Submitted: | 2018-10-28 07:32 (UTC) |
Last Updated: | 2024-05-01 18:25 (UTC) |
Dependencies (4)
- jq (jq-gitAUR, jaq-binAUR) (make)
- python-virtualenv (make)
- libmediainfo (libmediainfo-gitAUR) (optional) – determine the resolution of MKV and AVI files with no resolution in the filename
- unrar (rarAUR) (optional) – for RAR files
Required by (0)
Sources (3)
willemw commented on 2024-03-03 17:37 (UTC)
spectroman commented on 2024-02-21 11:22 (UTC)
Hey @willemw , I see what you mean, makes no difference... but for the uninformed user, it looks like a downgrade or something, looks like going backward. That's why I got really confused. But thank you for the elucidation and the "bump" on the pkgver to keep things sane.
willemw commented on 2024-02-20 15:30 (UTC)
@spectroman: There is nothing to do. Update (i.e. reinstall) the package and/or update with the built-in SickChill updater, as usual, whenever you want.
The version number for VCS packages in the AUR, inside files PKGBUILD and .SCRINFO, don't really mean anything. Only after building the package does it get the real calculated version number.
I'll bump the version here anyway, to bring the .SRCINFO file in sync with the PKGBUILD file.
spectroman commented on 2024-02-20 12:09 (UTC)
Something went wrong here? Or did I miss the memo on how this works?
I have installed last 15 Feb 2024 a new sickchill-git version which was:
pkgname=sickchill-git
pkgver=2024.2.2.r0
I noticed today there is a new release (from Sickchill) and as I came to check this package here, it "went back" to a 2022 version? What happened?
I even have built packages from 2023 releases... so I don't understand why the package went to further back.
Anything that we should know?
willemw commented on 2022-07-27 19:14 (UTC)
All program files are now removed before an upgrade.
albeec13 commented on 2022-07-27 18:46 (UTC)
@willemw said:
Now that I think about it: putting 'rm -rf /opt/sickchill/app' in pre_upgrade() in sickchill-git.install may fix all those "file exist" conflict errors.
I looked at PKGBUILD after you mentioned the rm -rf line and came to same conclusion. I think that would be a good idea, since it seems to run into conflicts otherwise.
If you do make this change, I'll be happy to test it.
willemw commented on 2022-07-27 18:21 (UTC)
Now that I think about it: putting 'rm -rf /opt/sickchill/app' in pre_upgrade() in sickchill-git.install may fix all those "file exist" conflict errors.
willemw commented on 2022-07-27 18:15 (UTC)
My recommendation would be to enable auto-updating in SickChill. And add 'sickchill-git' to IgnorePkg= in /etc/pacman.conf. Then, when you need to upgrade the package for some reason, uninstall the package first before upgrading/reinstalling.
Or do the reverse: disable auto-updating in SickChill. (Not sure, but you may then still get some of those "file conflict" errors though, if you don't uninstall before upgrading/reinstalling).
The point is not to have two conflicting updaters (Pacman and SickChill) running all the time, but only when you need to.
albeec13 commented on 2022-07-27 17:39 (UTC)
@willemw: Thanks for the update.
After my last message, I uninstalled the package again, did a "git clean -xfd" on the sickchill-git repo, pulled latest, and rebuilt/reinstalled. I then also did a second reinstall to see if it would allow overwriting, which worked.
Previously, I was running into several errors like:
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/appdirs.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/pyparsing.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/__about__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_manylinux.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_musllinux.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/_structures.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/markers.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/requirements.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/specifiers.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/tags.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/utils.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__pycache__/version.cpython-310.pyc exists in filesystem
sickchill-git: /opt/sickchill/app/lib/python3.10/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-310.pyc exists in filesystem
Generally I use the in-app update function, which usually has worked, but the last time I tried to update several days ago, it got into the "white screen" state and I had to manually intervene. Hopefully it's all squared away for now. Thanks again.
willemw commented on 2022-07-27 16:57 (UTC)
@albeec13:
An uninstall removes all the program code (the whole /opt/sickchill/app/ folder), including dependencies downloaded during the build, pychache folders, etc. See 'rm -rf /opt/sickchill/app' in sickchill-git.install.
Starting with an empty folder, before building and installing the package, should give you a clean install, apart from your data (/opt/sickchill/data/). Pay attention during the build that all dependencies are successfully downloaded.
You can update either by reinstalling the package or, more conveniently, keep automatically up-to-date by enabling SickChill's built-in updater.
Pinned Comments
willemw commented on 2024-03-03 17:37 (UTC)
If an upgrade fails with "error: failed to commit transaction (conflicting files)", then one way of removing the conflicting files is to uninstall this package first.