Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages update/install certificate error #2099

Closed
Ysurac opened this issue Oct 1, 2021 · 4 comments
Closed

Packages update/install certificate error #2099

Ysurac opened this issue Oct 1, 2021 · 4 comments
Assignees

Comments

@Ysurac
Copy link
Owner

Ysurac commented Oct 1, 2021

Expected Behavior

No error in package update/install

Current Behavior

Downloading https://download.openmptcprouter.com/release/v0.58.2/rpi4/targets/bcm27xx/bcm2711/packages/Packages.gz
*** Failed to download the package list from https://download.openmptcprouter.com/release/v0.58.2/rpi4/targets/bcm27xx/bcm2711/packages/Packages.gz

Downloading https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/base/Packages.gz
*** Failed to download the package list from https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/base/Packages.gz

Downloading https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/luci/Packages.gz
*** Failed to download the package list from https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/luci/Packages.gz

Downloading https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/openmptcprouter/Packages.gz
*** Failed to download the package list from https://download.openmptcprouter.com/release/v0.58.2/rpi4/packages/aarch64_cortex-a72/openmptcprouter/Packages.gz

Possible Solution

Via SSH, use:
opkg --no-check-certificate update and opkg --no-check-certificate install <package>

@Ysurac Ysurac added the bug label Oct 1, 2021
@Ysurac Ysurac self-assigned this Oct 1, 2021
@Ysurac Ysurac changed the title Package update/install certificate error Packages update/install certificate error Oct 1, 2021
@Ysurac
Copy link
Owner Author

Ysurac commented Oct 5, 2021

Another solution, via SSH:

sed -i 's/https/http/g' /etc/opkg/customfeeds.conf
opkg update
opkg --force-depends remove libustream-wolfssl20201210
opkg install libustream-openssl20201210

Should work, if not also do:

cd /etc/ssl/certs
rm DST_Root_CA_X3.crt ca-certificates.crt
cat *.crt > ca-certificates.crt

@Minchaka27
Copy link

Other fix for me :

opkg install wget-ssl

@dur3x
Copy link

dur3x commented Dec 8, 2021

Other fix for me :

opkg install wget-ssl

Thanks, this quick solution fixed my problem too ;-)

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants