Forrest logo
back to the apt-mark tool

apt-mark:tldr:87089

apt-mark: Allow a package to be updated again.
$ sudo apt-mark unhold ${package_name}
try on your machine

The command "sudo apt-mark unhold ${package_name}" is used in Linux systems to remove the "hold" status from a specific package.

Here's a breakdown of the command:

  • "sudo" is a command used to execute a command with administrative privileges. It allows the user to run the following command as a superuser or root.
  • "apt-mark" is a command-line tool used to manipulate the package selection (hold/unhold packages) in Advanced Packaging Tool (APT) based systems like Ubuntu.
  • "unhold" is an option of the "apt-mark" command that is used to remove the hold status from a package.
  • "${package_name}" is a placeholder that needs to be replaced with the actual name of the package you want to unhold. For example, if you want to unhold the package "firefox," you would replace "${package_name}" with "firefox."

Overall, the command is used to remove the hold status from a package, allowing it to be upgraded or removed like any other package.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the apt-mark tool