惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
量子位
D
DataBreaches.Net
博客园 - 司徒正美
J
Java Code Geeks
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
B
Blog
The Cloudflare Blog
D
Docker
I
InfoQ
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
腾讯CDC
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
S
SegmentFault 最新的问题
GbyAI
GbyAI
有赞技术团队
有赞技术团队

Allen Hua 的网络博客

由于 Linux 桌面没有一个好用的天气程序就写了一个跨平台的CheckitoutWeather 给 caesium-image-compressor 图片压缩程序构建了 Linux AppImage v2.8.5 最新版 debian13(debian trixie)安装了nvidia闭源驱动后从x11切换到wayland的方法 山间摩旅追风,偶遇一场绚烂晚霞 最近使用debian系统的一些心得 机械革命无界14Pro笔记本debian forky成功驱动内置扬声器和麦克风 记录 typecho 1.2.0 升级到 1.3.0 过程 开发了一款openwrt插件:文本剪贴板 解决机械革命笔记本内屏高刷240Hz闪屏问题 使用 Java 写了一个局域网端口扫描器 - Allen Hua 的网络博客 openwrt使用外置根extroot机制扩展根分区大小 - Allen Hua 的网络博客 将机场ss节点批量转换成ss字符串链接批量添加到passwall - Allen Hua 的网络博客 给机械革命钛钽plus换屏:NY2换成NZ2 - Allen Hua 的网络博客 记录一次pve宿主机和上面的debian虚机无故down机事件 - Allen Hua 的网络博客 给图床部署cdn腾讯云的edgeone并排查Cache-Control max-age 3600的问题 - Allen Hua 的网络博客 从高山草甸到徽派古村:武功山反穿与皖浙赣自驾行记 - Allen Hua 的网络博客 增程器就是充电宝?别被忽悠了 - Allen Hua 的网络博客 浦口龙虎巷扫街,记录人间真实 博客图片压缩方案更新|AVIF|WebP|MozJPEG|标准JPEG Windows 电脑使用 Obs Studio 录制各个网站视频/桌面画面教程 为typecho博客添加latex支持 新能源汽车之纯电车使用交流慢充和直流快充的充电损耗对比 2025年3月更新全国5A景区名录 2025最新查看小米/红米手机电池健康度和循环次数方法 完美解决 seafile FILE_SERVER_ROOT 配置导致的内网外网不能同时访问和上传下载的问题 纯css实现typecho博客文章文字spoiler剧透效果 我对Typecho Facile主题的一些修改,图片懒加载优化,样式定制 2024年8月我的宜昌 - 重庆 - 川西小环线自驾旅行分享 2022年打卡南京市区人防工程纳凉点 2024年带着A7C2+腾龙28-200 再次来到红山森林动物园
openwrt opkg install 安装 xxx 提示Package xxx wants to in...
Allen Hua · 2021-02-01 · via Allen Hua 的网络博客
阅读量:12008

warning: 这篇文章距离上次修改已过1869天,其中的内容可能已经有所变动。

首先

opkg update

然后安装 opkg install lighttpd lighttpd-mod-webdav lighttpd-mod-auth l ighttpd-mod-authn_file

root@softRouter:~# opkg install lighttpd lighttpd-mod-webdav lighttpd-mod-auth l
ighttpd-mod-authn_file
Installing lighttpd (1.4.58-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/lighttpd_1.4.58-1_x86_64.ipk
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Installing libgmp10 (6.1.2-2) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/base/libgmp10_6.1.2-2_x86_64.ipk
Installing lighttpd-mod-webdav (1.4.58-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/lighttpd-mod-webdav_1.4.58-1_x86_64.ipk
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Installing lighttpd (1.4.58-1) to root...
Installing libsqlite3-0 (3330000-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/libsqlite3-0_3330000-1_x86_64.ipk
Installing lighttpd-mod-auth (1.4.58-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/lighttpd-mod-auth_1.4.58-1_x86_64.ipk
Installing libnettle8 (3.6-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/base/libnettle8_3.6-1_x86_64.ipk
Installing lighttpd-mod-authn_file (1.4.58-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/lighttpd-mod-authn_file_1.4.58-1_x86_64.ipk
Configuring libnettle8.
Configuring lighttpd.
Configuring lighttpd-mod-auth.
Configuring lighttpd-mod-authn_file.
Collected errors:
 * check_data_file_clashes: Package libgmp10 wants to install file /usr/lib/libgmp.so.10
    But that file is already provided by package  * libgmp
 * check_data_file_clashes: Package libgmp10 wants to install file /usr/lib/libgmp.so.10.3.2
    But that file is already provided by package  * libgmp
 * opkg_install_cmd: Cannot install package lighttpd.
 * check_data_file_clashes: Package libsqlite3-0 wants to install file /usr/lib/libsqlite3.so.0
    But that file is already provided by package  * libsqlite3
 * check_data_file_clashes: Package libsqlite3-0 wants to install file /usr/lib/libsqlite3.so.0.8.6
    But that file is already provided by package  * libsqlite3
 * opkg_install_cmd: Cannot install package lighttpd-mod-webdav.
root@softRouter:~#

解决办法就是 加上 --nodeps --force-depends 的强制安装参数
opkg --nodeps install lighttpd-mod-webdav --force-depends

参数说明:

  • --force-depends means 在安装、删除软件包时无视失败的依赖
  • --nodeps means 不跟踪依赖,忽略依赖

更多可翻阅: https://openwrt.org/zh/docs/techref/opkg

root@softRouter:~# opkg --nodeps install lighttpd-mod-webdav --force-depends
Installing lighttpd-mod-webdav (1.4.58-1) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/x86_64/packages/lighttpd-mod-webdav_1.4.58-1_x86_64.ipk
Configuring lighttpd-mod-webdav.

最终查看 发现全都安装成功 且已是最新版

root@softRouter:~# opkg install lighttpd lighttpd-mod-webdav lighttpd-mod-auth lighttpd-mod-authn_file
Package lighttpd (1.4.58-1) installed in root is up to date.
Package lighttpd-mod-webdav (1.4.58-1) installed in root is up to date.
Package lighttpd-mod-auth (1.4.58-1) installed in root is up to date.
Package lighttpd-mod-authn_file (1.4.58-1) installed in root is up to date.

end.