Public bug reported:

[ Impact ]

 * add-nvidia-repositories is a convenience tool for enabling NVIDIA
repositories. It's targeted primarily to users who need to use NVIDIA
CUDA and other libraries for artificial intelligence / machine learning
/ GPU compute tasks. It is our understanding that majority of these
users prefer to run on stable releases and hence access to this package
would be beneficial for them. It is more convenient for Ubuntu users to
enable NVIDIA repositories by running "sudo apt-get install add-nvidia-
repositories && sudo add-nvidia-repositories" then by following the
official instructions (https://docs.nvidia.com/cuda/cuda-installation-
guide-linux/index.html#network-repo-installation-for-ubuntu).

[ Test Plan ]

 * This is a NEW package.

 * Scenario 1 (jammy/noble):

   1. Install the package with

      sudo apt-get install add-nvidia-repositories

      The package is available in plucky. You might install it from
there.

   2. Run the tool

      sudo add-nvidia-repositories

   3. Verify that the command displays a warning and waits for user
acknowledgment.

   4. Acknowledge the prompt by typing "Y" followed by Return

   5. Verify that the tool exited successfully by checking that $?
variable is 0

   6. Verify that the cuda-toolkit package is available:

      $ apt-get show cuda-toolkit

      Package: cuda-toolkit
      Version: 12.6.3-1
      Priority: optional
      Section: multiverse/devel
      Maintainer: cudatools <cudato...@nvidia.com>
      Installed-Size: 9216 B
      Depends: cuda-toolkit-12-6 (>= 12.6.3)
      Download-Size: 2726 B
      APT-Sources: 
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64  
Packages
      Description: CUDA Toolkit meta-package
        Meta-package containing all the available toolkit packages related to 
native
        CUDA development. Contains the toolkit, samples, and documentation.
        This meta package will install CUDA Toolkit version 12.5
        and allows you to upgrade to next release.

 * Scenario 2 (jammy/noble):

   1. Do the step 1 from Scenario 1

   2. Run the tool in non-interactive mode

      sudo add-nvidia-repositories -y

   3. Verify that the command displays a warning and finishes
successfully

   4. Do the step 6 from Scenario 1

 * Scenario 3 (jammy/noble):

   1. Do the step 1 from Scenario 1

   2. Display the tool help

      add-nvidia-repositories -h

   3. Verify that the usage and part of the warning is displayed as from
the output in step 1 in Scenario 1

[ Where problems could occur ]

 * This is a NEW package and therefore there's no potential for
regression in this specific package.

 * The package only places a new executable at /usr/bin/add-nvidia-
repositories

 * The package may appear as an additional package in available package
lists, and some "security" scanners may report it as a change

 * The package installs a tool that must be run with superuser
privileges and therefore bugs in it can have serious consequences. If
there is a security bug and the tool is invoked with superuser
privileges by incident or by tricking the system into it, the bug could
be exploited.

[ Other Info ]

 * The tool is currently included in non-packaged form in some cloud
images produced by https://launchpad.net/~cloud-images team. It has been
tested on these clouds.

** Affects: add-nvidia-repositories (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- [SRU] Make add-nvidia-repositories available in noble
+ [SRU] Make add-nvidia-repositories available in jammy and noble

** Description changed:

  [ Impact ]
  
-  * add-nvidia-repositories is a convenience tool for enabling NVIDIA
+  * add-nvidia-repositories is a convenience tool for enabling NVIDIA
  repositories. It's targeted primarily to users who need to use NVIDIA
  CUDA and other libraries for artificial intelligence / machine learning
  / GPU compute tasks. It is our understanding that majority of these
  users prefer to run on stable releases and hence access to this package
  would be beneficial for them. It is more convenient for Ubuntu users to
  enable NVIDIA repositories by running "sudo apt-get install add-nvidia-
  repositories && sudo add-nvidia-repositories" then by following the
  official instructions (https://docs.nvidia.com/cuda/cuda-installation-
  guide-linux/index.html#network-repo-installation-for-ubuntu).
  
  [ Test Plan ]
  
-  * This is a NEW package.
+  * This is a NEW package.
  
-  * Scenario 1 (jammy/noble):
+  * Scenario 1 (jammy/noble):
  
-    1. Install the package with
+    1. Install the package with
  
-       sudo apt-get install add-nvidia-repositories
+       sudo apt-get install add-nvidia-repositories
  
-       or
+       The package is available in plucky. You might install it from
+ there.
  
-       wget 
http://de.archive.ubuntu.com/ubuntu/pool/multiverse/a/add-nvidia-repositories/add-nvidia-repositories_0.1_all.deb
-       sudo apt-get install ./add-nvidia-repositories_0.1_all.deb
+    2. Run the tool
  
-    2. Run the tool
+       sudo add-nvidia-repositories
  
-       sudo add-nvidia-repositories
- 
-    3. Verify that the command displays a warning and waits for user
+    3. Verify that the command displays a warning and waits for user
  acknowledgment.
  
-    4. Acknowledge the prompt by typing "Y" followed by Return
+    4. Acknowledge the prompt by typing "Y" followed by Return
  
-    5. Verify that the tool exited successfully by checking that $?
+    5. Verify that the tool exited successfully by checking that $?
  variable is 0
  
-    6. Verify that the cuda-toolkit package is available:
+    6. Verify that the cuda-toolkit package is available:
  
-       $ apt-get show cuda-toolkit
+       $ apt-get show cuda-toolkit
  
-       Package: cuda-toolkit
-       Version: 12.6.3-1
-       Priority: optional
-       Section: multiverse/devel
-       Maintainer: cudatools <cudato...@nvidia.com>
-       Installed-Size: 9216 B
-       Depends: cuda-toolkit-12-6 (>= 12.6.3)
-       Download-Size: 2726 B
-       APT-Sources: 
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64  
Packages
-       Description: CUDA Toolkit meta-package
-         Meta-package containing all the available toolkit packages related to 
native
-         CUDA development. Contains the toolkit, samples, and documentation.
-         This meta package will install CUDA Toolkit version 12.5
-         and allows you to upgrade to next release.
+       Package: cuda-toolkit
+       Version: 12.6.3-1
+       Priority: optional
+       Section: multiverse/devel
+       Maintainer: cudatools <cudato...@nvidia.com>
+       Installed-Size: 9216 B
+       Depends: cuda-toolkit-12-6 (>= 12.6.3)
+       Download-Size: 2726 B
+       APT-Sources: 
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64  
Packages
+       Description: CUDA Toolkit meta-package
+         Meta-package containing all the available toolkit packages related to 
native
+         CUDA development. Contains the toolkit, samples, and documentation.
+         This meta package will install CUDA Toolkit version 12.5
+         and allows you to upgrade to next release.
  
-  * Scenario 2 (jammy/noble):
+  * Scenario 2 (jammy/noble):
  
-    1. Do the step 1 from Scenario 1
+    1. Do the step 1 from Scenario 1
  
-    2. Run the tool in non-interactive mode
+    2. Run the tool in non-interactive mode
  
-       sudo add-nvidia-repositories -y
+       sudo add-nvidia-repositories -y
  
-    3. Verify that the command displays a warning and finishes
+    3. Verify that the command displays a warning and finishes
  successfully
  
-    4. Do the step 6 from Scenario 1
+    4. Do the step 6 from Scenario 1
  
-  * Scenario 3 (jammy/noble):
+  * Scenario 3 (jammy/noble):
  
-    1. Do the step 1 from Scenario 1
+    1. Do the step 1 from Scenario 1
  
-    2. Display the tool help
+    2. Display the tool help
  
-       add-nvidia-repositories -h
+       add-nvidia-repositories -h
  
-    3. Verify that the usage and part of the warning is displayed as from
+    3. Verify that the usage and part of the warning is displayed as from
  the output in step 1 in Scenario 1
- 
  
  [ Where problems could occur ]
  
-  * This is a NEW package and therefore there's no potential for
+  * This is a NEW package and therefore there's no potential for
  regression in this specific package.
  
-  * The package only places a new executable at /usr/bin/add-nvidia-
+  * The package only places a new executable at /usr/bin/add-nvidia-
  repositories
  
-  * The package may appear as an additional package in available package
+  * The package may appear as an additional package in available package
  lists, and some "security" scanners may report it as a change
  
-  * The package installs a tool that must be run with superuser
+  * The package installs a tool that must be run with superuser
  privileges and therefore bugs in it can have serious consequences. If
  there is a security bug and the tool is invoked with superuser
  privileges by incident or by tricking the system into it, the bug could
  be exploited.
  
  [ Other Info ]
  
-  * The tool is currently included in non-packaged form in some cloud
+  * The tool is currently included in non-packaged form in some cloud
  images produced by https://launchpad.net/~cloud-images team. It has been
  tested on these clouds.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089830

Title:
  [SRU] Make add-nvidia-repositories available in jammy and noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/add-nvidia-repositories/+bug/2089830/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to