Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon How can I prevent certain applications from being upgraded on the DGX Station


How can I prevent certain applications from being upgraded on the DGX Station


To prevent certain applications from being upgraded on the NVIDIA DGX Station, you can use the Ubuntu package manager, as the DGX Station typically runs on Ubuntu. Here's a step-by-step guide:

1. Identify the Package Name: First, you need to identify the exact package name of the application you want to prevent from upgrading. You can find this by using the `apt-cache` command. For example, if you want to prevent the upgrade of a package named `example-package`, you would use:

bash
   apt-cache search example-package
   

2. Hold the Package: Once you have the package name, you can instruct the package manager to hold it at its current version. This prevents it from being upgraded. Use the following command:

bash
   sudo apt-mark hold example-package
   

Replace `example-package` with the actual name of your package.

3. Verify the Package Status: To ensure that the package is held and will not be upgraded, you can check its status using:

bash
   apt-mark showhold
   

This command lists all packages that are currently held.

4. Unhold the Package (Optional): If you later decide to allow the package to be upgraded, you can unhold it using:

bash
   sudo apt-mark unhold example-package
   

5. Update the Package List: After making changes, it's a good practice to update your package list to ensure everything is up-to-date:

bash
   sudo apt update
   

6. Upgrade Other Packages: Now, you can safely upgrade other packages without affecting the held package:

bash
   sudo apt upgrade
   

By following these steps, you can prevent specific applications from being upgraded on your NVIDIA DGX Station while still keeping other software up-to-date[1][10].

Citations:
[1] https://docs.nvidia.com/dgx/dgx-os-5-user-guide/upgrading.html
[2] https://docs.nvidia.com/dgx/dgx-station-user-guide/index.html
[3] https://nvidia.custhelp.com/app/answers/detail/a_id/5449/~/security-bulletin:-nvidia-dgx-2,-dgx-station-a100,-and-dgx-a100---march-2023
[4] https://docs.nvidia.com/dgx/dgx-os-7-user-guide/upgrading-the-os.html
[5] https://docs.nvidia.com/dgx/pdf/DGX-Station-User-Guide.pdf
[6] https://www.robusthpc.com/wp-content/uploads/2021/11/nvidia-dgx-station-a100-system-architecture-white-paper_published.pdf
[7] https://www.pcmag.com/news/what-is-nvidias-dgx-station-a-new-specialized-desktop-line-for-ai-work
[8] https://www.serversimply.com/blog/how-to-connect-to-nvidia-dgx-cloud-advantages-configurations-and-setup-guide
[9] https://www.youtube.com/watch?v=y_qDhW6_i-0
[10] http://cdn.cnetcontent.com/2f/ed/2fed407b-03de-4bda-86b4-64cb9ec20a50.pdf
[11] https://www.compecta.com/dgxstation.html