[package] #重新安装 apt update #- 更新可用软件包列表 apt upgrade #- 通过 安装/升级 软件来更新系统 apt full-upgrade #- 通过 卸载/安装/升级 来更新系统 apt edit-sources #- 编辑软件源信息文件 apt autoremove #卸载所有自动安装且不再使用的软件包 apt show [package] #显示软件包具体信息例如:版本...
2.2.3 使用aptitude show <软件包名> 查看安装软件版本 使用aptitude show查看的信息更详细 (base) shl@zhihui-mint:~$ sudo aptitude show vim Package: vim Version: 2:8.0.1453-1ubuntu1.4 State: installed (2:8.0.1453-1ubuntu1.3), upgrade available (2:8.0.1453-1ubuntu1.4) Automatically installed: ...
若将/var/lib/dpkg/status删除或改成其他文件名,apt-cache这个命令也就会失去作用: root@baby-Inspiron-N5110:/var/lib/dpkg# apt-cache show bind9 E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory) E: The package lists or status file could not be parsed o...
Various binaries (called 'methods') are tasked with downloading files. The Acquire system talks to them via simple text protocol. Depending on which side you want to see, eitherDebug::pkgAcquire::WorkerorDebug::Acquire::http(or similar) will show the messages. ...
$ apt-cache show netcat 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 Package:netcatPriority:optionalSection:universe/net Installed-Size:30Maintainer:Ubuntu Developers<ubuntu-devel-discuss@lists.ubuntu.com>Original-Maintainer:Ruben Molina<rmolina@udea.edu.co>Architecture:allVersion:1.10-40De...
apt-show-versions [-h] [[-p] package name] [-a] [-b] OPTIONS If you don't give any options the status of all installed packages is printed. -p package, --package=package Print available and installed versions for specified package. You can also specify a package name without the ...
The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control. The configuration option APT::Clean-Installed will prevent installed packages from being ...
~# apt-cache show flashplayer-mozilla Package: flashplayer-mozilla Priority: optional Section: multiverse/web Installed-Size: 1528 Maintainer: Christian Marillat <marillat@debian.org> Architecture: i386 Source: install-flash-player Version: 6.0.79-0.2 ...
You need to havearia2cinstalled: apt-get install aria2 Then runapt-fastinstead ofapt-getoraptitude. Autocompletion The completions for the respective shells use the existing apt-get completion. It is required that the apt-get completion be installed. In the case of Bash, the packagebash-comp...
This command is similar to "apt-cache show". dpkg -L <package_name> This command will list files in package <package_name>. dpkg -c foo.deb This command lists files in the package "foo.deb". Note that foo.deb is a pathname. Use this command on .deb packages that you have manually...