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

opkg update 错误 wget: SSL support not available #1124

Open
1 task done
chaiguifeng007 opened this issue Dec 4, 2023 · 27 comments
Open
1 task done

opkg update 错误 wget: SSL support not available #1124

chaiguifeng007 opened this issue Dec 4, 2023 · 27 comments
Labels
bug issue report with a confirmed bug ImmortalWrt 23.05 pull request/issue targeted (also) for ImmortalWrt 23.05 release

Comments

@chaiguifeng007
Copy link

Describe the bug

wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

wget https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

ImmortalWrt version

r27304-31bc47589e

ImmortalWrt release

23.05.1

ImmortalWrt target/subtarget

x86/64

Device

Dell Inc. PowerEdge R730XD

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for ImmortalWrt, not an unsupported fork.
@chaiguifeng007 chaiguifeng007 added the bug issue report with a confirmed bug label Dec 4, 2023
@chaiguifeng007
Copy link
Author

正在执行软件包管理器
Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz

Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/base/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/base/Packages.gz

Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz

Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz

Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz

Downloading https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz
*** Failed to download the package list from https://mirrors.cernet.edu.cn/immortalwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz
错误
wget: SSL support not available, please install one of the libustream-.[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
wget: SSL support not available, please install one of the libustream-.
[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
wget: SSL support not available, please install one of the libustream-.[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
wget: SSL support not available, please install one of the libustream-.
[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
wget: SSL support not available, please install one of the libustream-.[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
wget: SSL support not available, please install one of the libustream-.
[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.
Collected errors:

@chaiguifeng007
Copy link
Author

pct create 252 /tmp/immortalwrt-23.05.1-x86-64-rootfs.tar.gz --arch amd64 --hostname immortalwrt --rootfs PM1725a:10 --memory 512 --cores 1 --ostype unmanaged --unprivileged 1 --net0 name=eth0,bridge=vmbr0,gw=10.3.150.1,ip=10.3.150.252/24
用的这个命令创建的容器。

@libiunc
Copy link

libiunc commented Dec 14, 2023

请先确认你的容器能正常联网

@chaiguifeng007
Copy link
Author

能正常上网。我用传统方法,创建虚拟机,导入磁盘的方式,就没问题;同一个版本。
用lxc容器模式运行,就报错;
猜测跟lxc容器有关系。

@1715173329 1715173329 added the ImmortalWrt 23.05 pull request/issue targeted (also) for ImmortalWrt 23.05 release label Jan 6, 2024
@vbtcocla
Copy link

好像是缺少了wget-ssl这个包,luci里手动上传安装(包括依赖)以后就可以正常更新了

@truxcoder
Copy link

是的,我也是用pve的lxc容器安装的,一样的问题。应该就是缺少ssl支持。因为少了ssl模块所以不能opkg安装,因为不能opkg安装所以无法安装ssl模块。死循环了。

@magictomagic
Copy link

magictomagic commented Feb 9, 2024

我也遇到了这个问题,是裸机

@magictomagic
Copy link

当时莫名奇妙占我将近5G内存,我一共也只有8G,重启了以后解决了,可以opkg update了,但内存占用又持续上升,几分钟不到占我2.4G了

@magictomagic
Copy link

现在内存占用到4.2G了,又是相同的问题

@magictomagic
Copy link

我说一下问题的现象,23.05.1这个版本,重启以后,在内存占用小于4.2G的时候,opkg update一切正常,但内存占用随着时间的流逝会到达4.2G,然后opkg 报错:

root@ImmortalWrt:~# opkg update
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz, wget returned 3.

我安装软件只能在重启以后在内存占用<4.2G的时候安装了

@nicholas-opensource
Copy link
Contributor

我说一下问题的现象,23.05.1这个版本,重启以后,在内存占用小于4.2G的时候,opkg update一切正常,但内存占用随着时间的流逝会到达4.2G,然后opkg 报错:

root@ImmortalWrt:~# opkg update
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz

Downloading https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz
*** Failed to download the package list from https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/x86/64/packages/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/base/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/luci/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/packages/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/routing/Packages.gz, wget returned 3.
 * opkg_download: Failed to download https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/x86_64/telephony/Packages.gz, wget returned 3.

我安装软件只能在重启以后在内存占用<4.2G的时候安装了

算命一下,我猜是某些软件的log把tmpfs写满了,swap导致的问题。重点查看记录日志的软件

@magictomagic
Copy link

你太厉害了,我通过chatgpt的帮助大概率是定位到了问题

root@ImmortalWrt:~# lsof +D /tmp/
COMMAND   PID    USER   FD   TYPE DEVICE  SIZE/OFF NODE NAME
ss-redir 5837    root  mem    REG   0,19         6   56 /tmp/TZ
ss-redir 5837    root    1w   REG   0,19 824392576  187 /tmp/etc/passwall/TCP.log
ss-redir 5837    root    2w   REG   0,19 824392665  187 /tmp/etc/passwall/TCP.log
ss-local 5870    root  mem    REG   0,19         6   56 /tmp/TZ
dns2tcp  5888    root  mem    REG   0,19         6   56 /tmp/TZ
dnsmasq  6830 dnsmasq  mem    REG   0,19         6   56 /tmp/TZ
dnsmasq  6830 dnsmasq    3u   REG   0,19         0   71 /tmp/dhcp.leases
crond    6967    root  mem    REG   0,19         6   56 /tmp/TZ
root@ImmortalWrt:~# lsof +D /tmp/
COMMAND   PID    USER   FD   TYPE DEVICE   SIZE/OFF NODE NAME
ss-redir 5837    root  mem    REG   0,19          6   56 /tmp/TZ
ss-redir 5837    root    1w   REG   0,19 1145208427  187 /tmp/etc/passwall/TCP.log
ss-redir 5837    root    2w   REG   0,19 1145208516  187 /tmp/etc/passwall/TCP.log
ss-local 5870    root  mem    REG   0,19          6   56 /tmp/TZ
dns2tcp  5888    root  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq  6830 dnsmasq  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq  6830 dnsmasq    3u   REG   0,19          0   71 /tmp/dhcp.leases
crond    6967    root  mem    REG   0,19          6   56 /tmp/TZ
root@ImmortalWrt:~# lsof +D /tmp/
COMMAND    PID    USER   FD   TYPE DEVICE   SIZE/OFF NODE NAME
ss-redir  5837    root  mem    REG   0,19          6   56 /tmp/TZ
ss-redir  5837    root    1w   REG   0,19 1480117750  187 /tmp/etc/passwall/TCP.log
ss-redir  5837    root    2w   REG   0,19 1480117844  187 /tmp/etc/passwall/TCP.log
ss-local  5870    root  mem    REG   0,19          6   56 /tmp/TZ
dns2tcp   5888    root  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq   6830 dnsmasq  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq   6830 dnsmasq    3u   REG   0,19          0   71 /tmp/dhcp.leases
crond     6967    root  mem    REG   0,19          6   56 /tmp/TZ
cat      11016    root    3r   REG   0,19 1480142357  187 /tmp/etc/passwall/TCP.log
cat      11143    root    3r   REG   0,19 1480146223  187 /tmp/etc/passwall/TCP.log
root@ImmortalWrt:~# lsof +D /tmp/
COMMAND    PID    USER   FD   TYPE DEVICE   SIZE/OFF NODE NAME
ss-redir  5837    root  mem    REG   0,19          6   56 /tmp/TZ
ss-redir  5837    root    1w   REG   0,19 1542194408  187 /tmp/etc/passwall/TCP.log
ss-redir  5837    root    2w   REG   0,19 1542194506  187 /tmp/etc/passwall/TCP.log
ss-local  5870    root  mem    REG   0,19          6   56 /tmp/TZ
dns2tcp   5888    root  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq   6830 dnsmasq  mem    REG   0,19          6   56 /tmp/TZ
dnsmasq   6830 dnsmasq    3u   REG   0,19          0   71 /tmp/dhcp.leases
crond     6967    root  mem    REG   0,19          6   56 /tmp/TZ
cat      11016    root    3r   REG   0,19 1542213073  187 /tmp/etc/passwall/TCP.log
cat      11143    root    3r   REG   0,19 1542216209  187 /tmp/etc/passwall/TCP.log

passwall 这个软件一直在写日志。一会儿我来看看哪里可以把它干掉

我喜欢你的头像,哈哈哈哈哈哈

@laaArmy
Copy link

laaArmy commented Feb 9, 2024

遇到过,出差一个月后,op的内存炸了,以前没有出差这么久,没发现,因为在家我偶尔会重启下
我寻思这玩意不会释放内存啊

@magictomagic
Copy link

找到按钮了,解决了
image

@magictomagic
Copy link

image

@magictomagic
Copy link

passwall的设计不合理,我去给passwall提bug了 kenzok8/openwrt-packages#452

@imEgo
Copy link

imEgo commented Mar 18, 2024

lxc上运行的话,openssl要去掉devcrypto,否则openssl是不能正常执行的
openssl_cryptodev

@Huakunamatata
Copy link

lxc上运行的话,openssl要去掉devcrypto,否则openssl是不能正常执行的 openssl_cryptodev

请问该如何去掉openssl的devcrypto呢?我是小白,在lxc上安装immortalwrt也遇到这个问题了。

@bozheng1988
Copy link

lxc上运行的话,openssl要去掉devcrypto,否则openssl是不能正常执行的 openssl_cryptodev

请问该如何去掉openssl的devcrypto呢?我是小白,在lxc上安装immortalwrt也遇到这个问题了。

就是make menuconfig按图片里的把选中的那个取消掉,左上角有路径

@Huakunamatata
Copy link

Huakunamatata commented Apr 6, 2024

lxc上运行的话,openssl要去掉devcrypto,否则openssl是不能正常执行的 openssl_cryptodev

请问该如何去掉openssl的devcrypto呢?我是小白,在lxc上安装immortalwrt也遇到这个问题了。

就是make menuconfig按图片里的把选中的那个取消掉,左上角有路径

谢谢您的回复,不过我不认为我短时间能搞得掂。还是用低版本的immortalwrt吧,用lxc部署v21好像没有这个问题。

@Huakunamatata
Copy link

能正常上网。我用传统方法,创建虚拟机,导入磁盘的方式,就没问题;同一个版本。 用lxc容器模式运行,就报错; 猜测跟lxc容器有关系。

我也遇到这个问题了,应该是这个版本的immortalwrt的问题。我改用低版本的v21.02.7就没有问题。

@mcfd
Copy link

mcfd commented Apr 7, 2024

image 参考:https://github.com//discussions/1109#discussioncomment-8073987 手动卸载libustream-openssl 使用scp上传安装包 安装 image 解决

@mcfd
Copy link

mcfd commented Apr 7, 2024

image

问一下 这里之前是127.0.0.1 ::1 导致我dns一直解析不成功

这河里吗?

援引:
https://www.reddit.com/r/openwrt/comments/10pc11i/openwrt_problem_with_dns/

环境是pve lxc

@Huakunamatata
Copy link

image 参考:https://github.com/[/discussions/1109](https://github.com/immortalwrt/immortalwrt/discussions/1109)#discussioncomment-8073987 手动卸载libustream-openssl 使用scp上传安装包 安装 image 解决

谢谢回复☕️我有空再捣鼓一下。

@Huakunamatata
Copy link

image 参考:https://github.com/[/discussions/1109](https://github.com/immortalwrt/immortalwrt/discussions/1109)#discussioncomment-8073987 手动卸载libustream-openssl 使用scp上传安装包 安装 image 解决

问题解决了,特意回来感谢你 !☕️

1 similar comment
@Huakunamatata
Copy link

image 参考:https://github.com/[/discussions/1109](https://github.com/immortalwrt/immortalwrt/discussions/1109)#discussioncomment-8073987 手动卸载libustream-openssl 使用scp上传安装包 安装 image 解决

问题解决了,特意回来感谢你 !☕️

findyy99 added a commit to findyy99/Actions-ImmortalWrt that referenced this issue Apr 26, 2024
openssl can not work in LXC when the DEVCRYPTO is enabled.

immortalwrt/immortalwrt#1124 (comment)
@xueba0458
Copy link

图像 问一下这里之前是127.0.0.1 ::1导致我dns一直解析不成功

这是河里吗?

引用: https://www.reddit.com/r/openwrt/comments/10pc11i/openwrt_problem_with_dns/

环境是pve lxc

不是那里导致的DNS无法解析,使用官方openwrt-LXC也会出现同样的问题,好像是dnsmasq启动失败了(netstat -nap,看看有没有一个53端口的dnsmasq在里面,有的话说明dnsmasq已经成功运行了)具体修复方法可以查看恩山的这篇帖子

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug ImmortalWrt 23.05 pull request/issue targeted (also) for ImmortalWrt 23.05 release
Projects
None yet
Development

No branches or pull requests