upgrade - 进行一次升级 install - 安装新的软件包(注:软件包名称应当类似libc6而非 libc6.deb) reinstall - 重新安装软件包(注:软件包名称应当类似 libc6 而非 libc6.deb) remove - 卸载软件包 purge - 卸载并清除软件包的配置 autoremove - 卸载所有自动安装且不再使用的软件包dist-upgrade- 发行版升级,见...
你可以使用apt-cache policy命令来查看软件包的版本信息: bash sudo apt-cache policy libc6 该命令将显示libc6软件包的当前安装版本以及软件源中可用的其他版本。你需要找到你想要降级到的版本号。 3. 使用apt安装指定版本的软件包 一旦你找到了目标版本号,就可以使用apt install命令来安装指定版本的软件包。例如...
Depends: libc6 (>=2.32), libgcc-s1 (>=4.2) Homepage: https://the.exa.website/ X-Cargo-Built-Using: rust-ansi-term (=0.12.1-1), rust-byteorder (=1.4.3-2), rust-cfg-if-0.1 (=0.1.10-2), rust-datetime (=0.5.2-5), rust-glob (=0.3.0-1), rust-lazy-static (=1.4.0-1)...
$ apt show curl -a 方法2:使用apt-cache apt-cache是Debian命令行工具,用于查询APT缓存。它提供了从包元数据搜索并生成有趣的输出的操作。要使用apt-cache搜索软件包版本,请运行: $ apt-cache policy curl curl: Installed: 7.68.0-1ubuntu2.2 Candidate: 7.68.0-1ubuntu2.5 Version table: 7.68.0-1ubuntu...
Depends: libc6 (>= 2.32), libgcc-s1 (>= 4.2) Homepage: https://the.exa.website/ X-Cargo-Built-Using: rust-ansi-term (= 0.12.1-1), rust-byteorder (= 1.4.3-2), rust-cfg-if-0.1 (= 0.1.10-2), rust-datetime (= 0.5.2-5), rust-glob (= 0.3.0-1), rust-lazy-static (...
依赖: libc6 依赖: libx11-6 依赖: base-passwd 建议: libxpm4 冲突: <suidmanager> 2.查询存在反向依赖关系的软件包 如果用户仅想了解某个软件包被哪些软件包所依赖,可以使用“apt-cache redepends”命令。以下命令的查询结果显示依赖于rxvt的软件包。
然後,再用 apt-cache 來查看這個套件是不是我們想要的: # apt-cache show zsnes Package: zsnes Priority: optional Section: otherosfs Installed-Size: 4060 Maintainer: Joshua Kwan Architecture: i386 Version: 1.510-2.2 Depends: libao2 (>= 0.8.8), libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1),...
fuser命令是一个非常智能的unix实用程序,用于查找使用文件、目录或套接字的进程。它还提供了有关拥有...
launchpad.net/ubuntu/+filebug # Installed-Size: 844 # Depends: libc6 (>= 2.14), libselinux1 (>= 1.32) # Filename: pool/main/n/net-tools/net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb # Size: 196392 # MD5sum: 9c0c2ef6e21c4366564f38b15023f329 # SHA1: f2c222b8afd37...
apt-getinstallgcc-4.4makelibc6-dev --reinstall -d apt-cache search -n libaio apt-cache policy libaio1 apt-getinstalllibaio1=0.3.109-2ubuntu1 --reinstall -d apt-cache policy libaio-dev apt-getinstalllibaio-dev=0.3.109-2ubuntu1 --reinstall -d ...