--force-depends:忽略依赖关系,强制安装软件包。 --force-reinstall:强制重新安装软件包。 --force-overwrite:覆盖其他软件包的文件。 查看opkg安装的状态和结果: 使用opkg list-installed命令可以查看已安装的软件包列表。 /usr/lib/opkg/status文件包含了已安装软件包的状态信息。 在执行opkg安装命令时,如果遇到依...
--force-depends Install/remove despite failed dependencies --force-maintainer Overwrite preexisting config files --force-reinstall Reinstall package(s) --force-overwrite Overwrite files from other package(s) --force-downgrade Allow opkg to downgrade packages --force-space Disable free space checks --...
intforce_defaults; intforce_maintainer; intforce_overwrite; intforce_downgrade; intforce_reinstall; intforce_space; intforce_removal_of_dependent_packages; intforce_removal_of_essential_packages; intforce_postinstall; intforce_remove; intforce_checksum; intcheck_signature; intforce_signature; intno_ch...
–autoremove:卸载软件包时自动卸载不再使用的软件包(在安装时依赖会自动安装上)。 –force-reinstall:强制重新安装软件包,在软件包版本未修改时不会再次安装,增 加该选项来强制重新安装。 四、软件包的更新、安装、卸载和升级等功能 opkg update 该命令用于更新可以安装的软件包列表。 该命令不需要参数,执行时从服...
--force-reinstall:强制重新安装软件包,在软件包版本未修改时不会再次安装,增 加该选项来强制重新安装。 四、软件包的更新、安装、卸载和升级等功能 opkg update 该命令用于更新可以安装的软件包列表。 该命令不需要参数,执行时从服务器地址下载软件包列表文件并存储在/var/opkg-lists/目录下。
--force-depends Install/remove despite failed dependencies --force-maintainer Overwrite preexisting config files --force-reinstall Reinstall package(s) --force-overwrite Overwrite files from other package(s) --force-downgrade Allow opkg to downgrade packages ...
或者输入命令opkg install /tmp/xxx.ipk --force-depends回车(这个命令 --force-depends代表强制安装,注意强制安装是对于一些安装不了,或是安装错误,才使用,强制安装有可能会引起软件不匹配或者不稳定,或者不能用,但是也有好处,有的安装不了,用强制安装命令来安装,安装完成,全部正常)
This repository is a fork of https://git.openwrt.org/openwrt/openwrt.git - opkg: default force depends · x-wrt/x-wrt@0f3111b
#opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version --force-depends remove update-rc.d base-passwd || true #opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version status | opkg-query-helper.py...
如果丢失第三方包的依赖关系,源码包依然可用的话,为了忽略依赖关系的错误可以使用 –force-depends 选项。 请注意: 如果你在使用一个 snapshot 、trunk 或 bleeding edge 版本,在仓库中的软件包适用内核版本比你的 Flash 上的内核更高,opkg install <pkg> 可能会失败。这种情况下,会报错『Cannot satisfy the foll...