[*] -  SecureInfo.eu, /System/aptitude.md

Back


Usage

apt-mark

Most used commands:
  auto - Mark the given packages as automatically installed
  manual - Mark the given packages as manually installed
  minimize-manual - Mark all dependencies of meta packages as automatically installed.
  hold - Mark a package as held back
  unhold - Unset a package set as held back
  showauto - Print the list of automatically installed packages
  showmanual - Print the list of manually installed packages
  showhold - Print the list of packages on hold

Exemple

Exclude from update

apt-mark hold \
 "linux-headers-5.17.0-kali3-arm64" \
 "linux-headers-arm64" \
 "linux-image-5.17.0-kali3-arm64" \
 "linux-image-arm64"

Include from update

apt-mark unhold \
 "linux-headers-5.17.0-kali3-arm64" \
 "linux-headers-arm64" \
 "linux-image-5.17.0-kali3-arm64" \
 "linux-image-arm64"
⬆️ Top
admin