```
# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=26.04
DISTRIB_CODENAME=resolute
DISTRIB_DESCRIPTION="Ubuntu Resolute Raccoon (development branch)"
```

** Description changed:

  `ubuntu-drivers install`
  
  Error, when using *systemd-boot* and *dracut*:
  
  Info: selecting the on-demand profile
  Traceback (most recent call last):
-   File "/usr/bin/prime-select", line 458, in <module>
-     switcher.enable_profile(arg)
-     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
-   File "/usr/bin/prime-select", line 229, in enable_profile
-     self._backup_grub_config()
-     ~~~~~~~~~~~~~~~~~~~~~~~~^^
-   File "/usr/bin/prime-select", line 429, in _backup_grub_config
-     shutil.copyfile(self._grub_path, destination)
-     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   File "/usr/lib/python3.14/shutil.py", line 313, in copyfile
-     with open(src, 'rb') as fsrc:
-          ~~~~^^^^^^^^^^^
+   File "/usr/bin/prime-select", line 458, in <module>
+     switcher.enable_profile(arg)
+     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
+   File "/usr/bin/prime-select", line 229, in enable_profile
+     self._backup_grub_config()
+     ~~~~~~~~~~~~~~~~~~~~~~~~^^
+   File "/usr/bin/prime-select", line 429, in _backup_grub_config
+     shutil.copyfile(self._grub_path, destination)
+     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   File "/usr/lib/python3.14/shutil.py", line 313, in copyfile
+     with open(src, 'rb') as fsrc:
+          ~~~~^^^^^^^^^^^
  FileNotFoundError: [Errno 2] No such file or directory: '/etc/default/grub'
  
  Ubuntu 26.04
  
- ```# cat /etc/apt/preferences.d/no-grub
+ # cat /etc/apt/preferences.d/no-grub
  Package: grub-efi-amd64*
  Pin: release *
  Pin-Priority: -1
  
  Package: grub-common
  Pin: release *
  Pin-Priority: -1
  
  Package: grub2-common
  Pin: release *
  Pin-Priority: -1
- ```
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: nvidia-prime 0.8.17.2build1
  ProcVersionSignature: Ubuntu 6.17.0-14.14-generic 6.17.9
  Uname: Linux 6.17.0-14-generic x86_64
  ApportVersion: 2.33.1-0ubuntu7
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr  3 10:58:54 2026
  Dependencies:
-  
+ 
  PackageArchitecture: all
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: nvidia-prime
  UpgradeStatus: Upgraded to resolute on 2026-02-11 (51 days ago)

** Description changed:

  `ubuntu-drivers install`
  
  Error, when using *systemd-boot* and *dracut*:
  
  Info: selecting the on-demand profile
  Traceback (most recent call last):
    File "/usr/bin/prime-select", line 458, in <module>
      switcher.enable_profile(arg)
      ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
    File "/usr/bin/prime-select", line 229, in enable_profile
      self._backup_grub_config()
      ~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/bin/prime-select", line 429, in _backup_grub_config
      shutil.copyfile(self._grub_path, destination)
      ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.14/shutil.py", line 313, in copyfile
      with open(src, 'rb') as fsrc:
           ~~~~^^^^^^^^^^^
  FileNotFoundError: [Errno 2] No such file or directory: '/etc/default/grub'
  
- Ubuntu 26.04
- 
  # cat /etc/apt/preferences.d/no-grub
  Package: grub-efi-amd64*
  Pin: release *
  Pin-Priority: -1
  
  Package: grub-common
  Pin: release *
  Pin-Priority: -1
  
  Package: grub2-common
  Pin: release *
  Pin-Priority: -1
+ 
+ # cat /etc/lsb-release 
+ DISTRIB_ID=Ubuntu
+ DISTRIB_RELEASE=26.04
+ DISTRIB_CODENAME=resolute
+ DISTRIB_DESCRIPTION="Ubuntu Resolute Raccoon (development branch)"
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: nvidia-prime 0.8.17.2build1
  ProcVersionSignature: Ubuntu 6.17.0-14.14-generic 6.17.9
  Uname: Linux 6.17.0-14-generic x86_64
  ApportVersion: 2.33.1-0ubuntu7
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr  3 10:58:54 2026
  Dependencies:
  
  PackageArchitecture: all
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: nvidia-prime
  UpgradeStatus: Upgraded to resolute on 2026-02-11 (51 days ago)

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

Title:
  prime-select crashes on systemd-boot

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to