What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

How to install Flexget on Asuswrt-Merlin Entware

zilexa

New Around Here
I keep trying, but keep failing.
I started following the official Flexget instructions for Openwrt (I have Asuswrt-Merlin on a AC56u RT router with a 4GB usb drive connected to the USB2 port, I have a 2TB disk in my network that I plan to use to download stuff to):
http://flexget.com/wiki/InstallWizard/OpenWrt

But the first command: "opkg install python python-sqlite3 pyyaml" failed due to "Unknown package 'pyyaml'." also the next command, 'python-sqlite' is an unknown package.

So I used opkg list | grep Python to find the names of the packages and I managed to install pyyaml and sqlite3.

Eventually "distribute" installed successfully, but when I try to install PIP it fails again:
Code:
admin@RT-AC56U-F220:/tmp/home/root# easy_install pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Download error on http://pypi.python.org/simple/pip/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:581) -- Some packages may not be found!
Reading http://pypi.python.org/simple/pip/
Download error on http://pypi.python.org/simple/pip/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:581) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c:581) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
admin@RT-AC56U-F220:/tmp/home/root#

How can I install Flexget correctly?
 
I struggled with the same issue - that being that the following certificate needs to be in /rom/ca-bundle.crt
I made a copy of ca-bundle.crt and saved it as /opt/etc/ssl/certs/ca-bundle.crt

I then appended the following to that file:

Code:
DigiCert High Assurance EV Root CA
==================================
-----BEGIN CERTIFICATE-----
MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
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A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2
Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe
vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep
+OkuE6N36B9K
-----END CERTIFICATE-----

Then I exported the following environment variable:

Code:
export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-bundle.crt

I might have just been able to download the certificate and set the SSL_CERT_DIR environment variable instead but I didn't try that.

Then flexget downloaded and installed OK however it reported a missing dependency.

I ran:
Code:
 pip install functools32
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top