MANUAL ACTION REQUIRED to install (due to a bug in another package). Before installing this package, patch and install python-feedparser-dev:
pacaur -S pbget
pbget --aur python-feedparser-dev
cd python-feedparser-dev
curl -LRO https://gist.githubusercontent.com/radfish/8e8844eff7b631ef1f592bd432ae4d5e/raw/fb74e305e25384d8dae2d405377a2252dda74ed3/0001-install-sgmllib3k-via-setuptools.patch
patch -p1 < 0001-install-sgmllib3k-via-setuptools.patch
makepkg -Cfsi
Then, proceed to install this flexget package.
The above patch fixes this error:
pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not
found and is required by FeedParser
This workaround will remain necessary until the other package is fixed: https://aur.archlinux.org/packages/python-feedparser-dev/#comment-802450
Pinned Comments
evine commented on 2024-10-22 00:36 (UTC) (edited on 2024-10-26 00:26 (UTC) by evine)
@cmm11 I added this file
/usr/lib/systemd/system/flexget.servicewith the intention of reducing the running permissions for users who use flexget-webui. Users using the webui can directly run command within the webui. If you have to run these commands from the command line, traditionalsucannot do it because the shell of theflexgetuser is/usr/bin/nologinand login is prohibited.You can run
sudo -u flexget flexget -c /var/lib/flexget/config.yml execute --task task_nameOr You can use the gosu that I just packaged to implement:
sudo gosu <user>:<group> <command>, for example:sudo gosu flexget:flexget flexget -c /var/lib/flexget/config.yml execute --task task_name.If you are using
/usr/lib/systemd/system/flexget.service, you can add a alias in your shell rc file:alias flexget="sudo -u flexget /usr/bin/flexget -c /var/lib/flexget/config.ymloralias flexget="sudo gosu flexget:flexget /usr/bin/flexget -c /var/lib/flexget/config.yml".evine commented on 2024-10-19 04:50 (UTC) (edited on 2025-04-14 15:19 (UTC) by evine)
After taking over Flexget, I had
flexget-webuiandflexget-webui-v1inoptdepends, you can install and enable webui if you need. When using webui, it is recommended to use/usr/lib/systemd/system/flexget.serviceI have newly added./usr/lib/systemd/system/flexget.serviceto run as a system user, the original methods that run as normal user still exists:/usr/lib/systemd/system/flexget@.serviceand/usr/lib/systemd/user/flexget.service.If upgrade fail, you should remove old
flexgetfirst, and reinstall.