showmanual can be used in the same way as showauto except that it will print a list of manually installed packages instead. Options -f=filename,--file=filename Read/Write package stats from the filename given with the parameterfilenameinstead of from the default location, which is extended...
4. Show manually installed packages: # apt-mark showmanual 5. Show held packages that aren’t being updated: # apt-mark showhold 6. To mark a package as manually installed: # apt-mark markmanual package-name 7. To check if a particular package is marked as manually installed: # apt-m...
purge Remove packages and their configuration files. hold Place packages on hold. unhold Cancel a hold command for a package. markauto Mark packages as having been automatically installed. unmarkauto Mark packages as having been manually installed. forbid-version Forbid aptitude from upgrading to a ...
org> # Installed-Size: 36.1 MB apt-get check # 检查是否有损坏的依赖 # 5) 允许下载被hold锁定版本的软件 sudo apt-get install -y kubelet=1.23.6-00 --allow-change-held-packages 补充使用: 1.-o 选项使用以及代理获取更新 代码语言:javascript 复制 # 1.squid 代理使用进行获取更新 sudo apt -o ...
mark-showmanualPrint the list of manually installed packages. call [<internal_function> [<args> ...]]Call internal function in apt-cyg. time [<internal_function> [<args> ...]]Report time consumed to call internal function in apt-cyg. ...
apt-mark is a useful tool that shows you which packages are automatically or manually installed and offers the system administrator the opportunity to mark and hold packages that are not to be removed automatically. Read: man apt-mark Upgrade of an Installed System - dist-upgrade - Overview ...
apt show git # 显示指定软件信息 # Package: git # Version: 1:2.20.1-2 # Priority: optional # Section: vcs # Maintainer: Gerrit Pape <pape@smarden.org> # Installed-Size: 36.1 MB apt-get check # 检查是否有损坏的依赖 # 5) 允许下载被hold锁定版本的软件 ...
hold Place packages on hold. unhold Cancel a hold command for a package. markauto Mark packages as having been automatically installed. unmarkauto Mark packages as having been manually installed. forbid-version Forbid aptitude from upgrading to a specific package version. ...
minimize-manualminimize-manual is used to mark (transitive) dependencies of metapackages as automatically installed. This can be used after an installation for example, to minimize the number of manually installed packages; or continuously on systems managed by system configuration metapackages.showauto...
hold Place packages on hold. unhold Cancel a hold commandfora package. markauto Mark packagesashaving been automatically installed. unmarkauto Mark packagesashaving been manually installed. forbid-version Forbid aptitudefromupgrading to a specific package version. ...