使用--force-depends选项: 当软件包依赖关系未满足时,可以使用--force-depends选项来强制安装软件包。 命令示例: bash opkg install /path/to/package.ipk --force-depends 这个选项允许你忽略依赖关系错误,强制安装软件包。 使用--force-downgrade选项: 如果你需要安装一个版本比当前已安装版本更低的软件包,可...
–autoremove:卸载软件包时自动卸载不再使用的软件包(在安装时依赖会自动安装上)。 –force-reinstall:强制重新安装软件包,在软件包版本未修改时不会再次安装,增 加该选项来强制重新安装。 四、软件包的更新、安装、卸载和升级等功能 opkg update 该命令用于更新可以安装的软件包列表。 该命令不需要参数,执行时从服...
--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...
This repository is a fork of https://git.openwrt.org/openwrt/openwrt.git - opkg: default force depends · x-wrt/x-wrt@0f3111b
--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-reinstall:强制重新安装软件包,在软件包版本未修改时不会再次安装,增 加该选项来强制重新安装。 四、软件包的更新、安装、卸载和升级等功能 opkg update 该命令用于更新可以安装的软件包列表。 该命令不需要参数,执行时从服务器地址下载软件包列表文件并存储在/var/opkg-lists/目录下。
或者输入命令opkg install /tmp/xxx.ipk --force-depends回车(这个命令 --force-depends代表强制安装,注意强制安装是对于一些安装不了,或是安装错误,才使用,强制安装有可能会引起软件不匹配或者不稳定,或者不能用,但是也有好处,有的安装不了,用强制安装命令来安装,安装完成,全部正常)
npm install node-opkg Usage All methods returnPromises. Command line options can be defined in the following ways: {forceDepends: null, V: 4} [--force-depends, -V4] You can also get the output streams via the options argument: { forceDepends: null, _stdout: (stdout) => {}, _stderr...
如果丢失第三方包的依赖关系,源码包依然可用的话,为了忽略依赖关系的错误可以使用 –force-depends 选项。 请注意: 如果你在使用一个 snapshot 、trunk 或 bleeding edge 版本,在仓库中的软件包适用内核版本比你的 Flash 上的内核更高,opkg install <pkg> 可能会失败。这种情况下,会报错『Cannot satisfy the foll...