Thanks, installing linux-header-generic-hwe-24.04 worked for me, no more errors reported.
Regards, Janez James Bennett je 24. 9. 2026 ob 12:37 napisal: > Easy fix: > > Ubuntu installs a newer kernel/NVIDIA module package ? the matching > kernel headers aren't installed/configured yet ? NVIDIA's module > installation looks for something such as scripts/module.lds ? it isn't > there ? NVIDIA module installation blows up. > > sudo apt install linux-headers-generic-hwe-24.04 > > Done. > > Regards, > > James > > > ________________________________ > From: [email protected] <[email protected]> on behalf of Adriana de > Vries <[email protected]> > Sent: Thursday, September 24, 2026 6:05 AM > To: [email protected] <[email protected]> > Subject: Re: [Bug 2115148] Re: nvidia driver error: cannot open linker script > file > > Dear friend, > > Thanks for your advice. > > Yours truly, > > Adrie de Vries > > Op do 24 sep 2026, 02:45 schreef Nestor Caffa > <[email protected]>: > >> Dear friend. >> It has happened to me before, but I go into grub, select an older version >> and fix the problem, then it goes back to normal when it updates. >> Thank you for your concern and your response >> >> El mié, 23 de sept de 2026, 21:31, Marc <[email protected]> >> escribió: >> >>> Had this bug happen every other package update. Original bug report - >>> https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-<https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-> >>> hwe-7.0/+bug/2164273 >>> < >> https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-hwe-7.0/+bug/2164273<https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-hwe-7.0/+bug/2164273> >>> >>> My workaround each time (it is CRITICAL to not restart the machine until >>> these are done): >>> 1. Run sudo apt update && sudo apt upgrade >>> 2. Run sudo apt upgrade again to verify everything is upgraded >>> 3. Run sudo apt autoremove for cleanup >>> >>> Note: These steps work every time. It suggests to me that the linux- >>> headers-generic-hwe gets installed after the attempt to install linux- >>> modules-nvidia >>> >>> -- >>> You received this bug notification because you are subscribed to a >>> duplicate bug report (2119307). >>> https://bugs.launchpad.net/bugs/2115148<https://bugs.launchpad.net/bugs/2115148> >>> >>> Title: >>> nvidia driver error: cannot open linker script file >>> >>> Status in NVIDIA Drivers Ubuntu: >>> New >>> Status in linux-restricted-modules package in Ubuntu: >>> Confirmed >>> Status in linux-restricted-modules-hwe-6.17 package in Ubuntu: >>> Confirmed >>> Status in linux-restricted-modules-hwe-7.0 package in Ubuntu: >>> Confirmed >>> >>> Bug description: >>> >>> >> ----------------------------------------------------------------------------- >>> *** If you've come here from a duplicate bug *** >>> >>> Please make sure you have the headers relevant to your kernel installed >>> For most people, >>> sudo apt install linux-headers-generic-hwe-24.04 >>> >>> >> ----------------------------------------------------------------------------- >>> >>> package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 failed >>> to install/upgrade: installed linux-modules-nvidia-570-6.14.0-22-generic >>> package post-installation script subprocess returned error exit status 1 >>> >>> ProblemType: Package >>> DistroRelease: Ubuntu 25.04 >>> Package: linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 >>> ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 >>> Uname: Linux 6.14.0-15-generic x86_64 >>> NonfreeKernelModules: nvidia_modeset nvidia >>> ApportVersion: 2.32.0-0ubuntu5 >>> Architecture: amd64 >>> AudioDevicesInUse: >>> USER PID ACCESS COMMAND >>> /dev/snd/controlC1: igor 2732 F.... wireplumber >>> /dev/snd/controlC0: igor 2732 F.... wireplumber >>> /dev/snd/seq: igor 2728 F.... pipewire >>> CasperMD5CheckResult: pass >>> Date: Sun Jun 22 10:04:44 2025 >>> ErrorMessage: installed linux-modules-nvidia-570-6.14.0-22-generic >>> package post-installation script subprocess returned error exit status 1 >>> InstallationDate: Installed on 2025-06-20 (2 days ago) >>> InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 >>> (20250415.3) >>> MachineType: ASUSTeK COMPUTER INC. TUF Gaming FX505DT_FX505DT >>> ProcFB: 0 amdgpudrmfb >>> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic >>> root=UUID=92995c6d-7c20-4f2d-b1e5-a9117a4827ea ro quiet splash >>> >> crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M >>> vt.handoff=7 >>> Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, >>> 3.13.3-1 >>> PythonDetails: N/A >>> RebootRequiredPkgs: Error: path contained symlinks. >>> RelatedPackageVersions: grub-pc N/A >>> SourcePackage: linux-restricted-modules >>> Title: package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 >>> failed to install/upgrade: installed >>> linux-modules-nvidia-570-6.14.0-22-generic package post-installation >> script >>> subprocess returned error exit status 1 >>> UpgradeStatus: No upgrade log present (probably fresh install) >>> dmi.bios.date: 01/28/2021 >>> dmi.bios.release: 5.14 >>> dmi.bios.vendor: American Megatrends Inc. >>> dmi.bios.version: FX505DT.316 >>> dmi.board.asset.tag: ATN12345678901234567 >>> dmi.board.name: FX505DT >>> dmi.board.vendor: ASUSTeK COMPUTER INC. >>> dmi.board.version: 1.0 >>> dmi.chassis.asset.tag: No Asset Tag >>> dmi.chassis.type: 10 >>> dmi.chassis.vendor: ASUSTeK COMPUTER INC. >>> dmi.chassis.version: 1.0 >>> dmi.ec.firmware.release: 16.0 >>> dmi.modalias: >>> >> dmi:bvnAmericanMegatrendsInc.:bvrFX505DT.316:bd01/28/2021:br5.14:efr16.0:svnASUSTeKCOMPUTERINC.:pnTUFGamingFX505DT_FX505DT:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX505DT:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku: >>> dmi.product.family: TUF Gaming >>> dmi.product.name: TUF Gaming FX505DT_FX505DT >>> dmi.product.version: 1.0 >>> dmi.sys.vendor: ASUSTeK COMPUTER INC. >>> >>> To manage notifications about this bug go to: >>> >>> >> https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions<https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions> >>> >> -- >> You received this bug notification because you are subscribed to a >> duplicate bug report (2161264). >> https://bugs.launchpad.net/bugs/2115148<https://bugs.launchpad.net/bugs/2115148> >> >> Title: >> nvidia driver error: cannot open linker script file >> >> Status in NVIDIA Drivers Ubuntu: >> New >> Status in linux-restricted-modules package in Ubuntu: >> Confirmed >> Status in linux-restricted-modules-hwe-6.17 package in Ubuntu: >> Confirmed >> Status in linux-restricted-modules-hwe-7.0 package in Ubuntu: >> Confirmed >> >> Bug description: >> >> ----------------------------------------------------------------------------- >> *** If you've come here from a duplicate bug *** >> >> Please make sure you have the headers relevant to your kernel installed >> For most people, >> sudo apt install linux-headers-generic-hwe-24.04 >> >> ----------------------------------------------------------------------------- >> >> >> package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 failed >> to install/upgrade: installed linux-modules-nvidia-570-6.14.0-22-generic >> package post-installation script subprocess returned error exit status 1 >> >> ProblemType: Package >> DistroRelease: Ubuntu 25.04 >> Package: linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 >> ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 >> Uname: Linux 6.14.0-15-generic x86_64 >> NonfreeKernelModules: nvidia_modeset nvidia >> ApportVersion: 2.32.0-0ubuntu5 >> Architecture: amd64 >> AudioDevicesInUse: >> USER PID ACCESS COMMAND >> /dev/snd/controlC1: igor 2732 F.... wireplumber >> /dev/snd/controlC0: igor 2732 F.... wireplumber >> /dev/snd/seq: igor 2728 F.... pipewire >> CasperMD5CheckResult: pass >> Date: Sun Jun 22 10:04:44 2025 >> ErrorMessage: installed linux-modules-nvidia-570-6.14.0-22-generic >> package post-installation script subprocess returned error exit status 1 >> InstallationDate: Installed on 2025-06-20 (2 days ago) >> InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 >> (20250415.3) >> MachineType: ASUSTeK COMPUTER INC. TUF Gaming FX505DT_FX505DT >> ProcFB: 0 amdgpudrmfb >> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic >> root=UUID=92995c6d-7c20-4f2d-b1e5-a9117a4827ea ro quiet splash >> crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M >> vt.handoff=7 >> Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, >> 3.13.3-1 >> PythonDetails: N/A >> RebootRequiredPkgs: Error: path contained symlinks. >> RelatedPackageVersions: grub-pc N/A >> SourcePackage: linux-restricted-modules >> Title: package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 >> failed to install/upgrade: installed >> linux-modules-nvidia-570-6.14.0-22-generic package post-installation script >> subprocess returned error exit status 1 >> UpgradeStatus: No upgrade log present (probably fresh install) >> dmi.bios.date: 01/28/2021 >> dmi.bios.release: 5.14 >> dmi.bios.vendor: American Megatrends Inc. >> dmi.bios.version: FX505DT.316 >> dmi.board.asset.tag: ATN12345678901234567 >> dmi.board.name: FX505DT >> dmi.board.vendor: ASUSTeK COMPUTER INC. >> dmi.board.version: 1.0 >> dmi.chassis.asset.tag: No Asset Tag >> dmi.chassis.type: 10 >> dmi.chassis.vendor: ASUSTeK COMPUTER INC. >> dmi.chassis.version: 1.0 >> dmi.ec.firmware.release: 16.0 >> dmi.modalias: >> dmi:bvnAmericanMegatrendsInc.:bvrFX505DT.316:bd01/28/2021:br5.14:efr16.0:svnASUSTeKCOMPUTERINC.:pnTUFGamingFX505DT_FX505DT:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX505DT:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku: >> dmi.product.family: TUF Gaming >> dmi.product.name: TUF Gaming FX505DT_FX505DT >> dmi.product.version: 1.0 >> dmi.sys.vendor: ASUSTeK COMPUTER INC. >> >> To manage notifications about this bug go to: >> >> https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions<https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions> >> >> > -- > You received this bug notification because you are subscribed to a > duplicate bug report (2147252). > https://bugs.launchpad.net/bugs/2115148<https://bugs.launchpad.net/bugs/2115148> > > Title: > nvidia driver error: cannot open linker script file > > Status in NVIDIA Drivers Ubuntu: > New > Status in linux-restricted-modules package in Ubuntu: > Confirmed > Status in linux-restricted-modules-hwe-6.17 package in Ubuntu: > Confirmed > Status in linux-restricted-modules-hwe-7.0 package in Ubuntu: > Confirmed > > Bug description: > > ----------------------------------------------------------------------------- > *** If you've come here from a duplicate bug *** > > Please make sure you have the headers relevant to your kernel installed > For most people, > sudo apt install linux-headers-generic-hwe-24.04 > > ----------------------------------------------------------------------------- > > > package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 failed to > install/upgrade: installed linux-modules-nvidia-570-6.14.0-22-generic package > post-installation script subprocess returned error exit status 1 > > ProblemType: Package > DistroRelease: Ubuntu 25.04 > Package: linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 > ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 > Uname: Linux 6.14.0-15-generic x86_64 > NonfreeKernelModules: nvidia_modeset nvidia > ApportVersion: 2.32.0-0ubuntu5 > Architecture: amd64 > AudioDevicesInUse: > USER PID ACCESS COMMAND > /dev/snd/controlC1: igor 2732 F.... wireplumber > /dev/snd/controlC0: igor 2732 F.... wireplumber > /dev/snd/seq: igor 2728 F.... pipewire > CasperMD5CheckResult: pass > Date: Sun Jun 22 10:04:44 2025 > ErrorMessage: installed linux-modules-nvidia-570-6.14.0-22-generic package > post-installation script subprocess returned error exit status 1 > InstallationDate: Installed on 2025-06-20 (2 days ago) > InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 > (20250415.3) > MachineType: ASUSTeK COMPUTER INC. TUF Gaming FX505DT_FX505DT > ProcFB: 0 amdgpudrmfb > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic > root=UUID=92995c6d-7c20-4f2d-b1e5-a9117a4827ea ro quiet splash > crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M > vt.handoff=7 > Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, > 3.13.3-1 > PythonDetails: N/A > RebootRequiredPkgs: Error: path contained symlinks. > RelatedPackageVersions: grub-pc N/A > SourcePackage: linux-restricted-modules > Title: package linux-modules-nvidia-570-6.14.0-22-generic 6.14.0-22.22 > failed to install/upgrade: installed > linux-modules-nvidia-570-6.14.0-22-generic package post-installation script > subprocess returned error exit status 1 > UpgradeStatus: No upgrade log present (probably fresh install) > dmi.bios.date: 01/28/2021 > dmi.bios.release: 5.14 > dmi.bios.vendor: American Megatrends Inc. > dmi.bios.version: FX505DT.316 > dmi.board.asset.tag: ATN12345678901234567 > dmi.board.name: FX505DT > dmi.board.vendor: ASUSTeK COMPUTER INC. > dmi.board.version: 1.0 > dmi.chassis.asset.tag: No Asset Tag > dmi.chassis.type: 10 > dmi.chassis.vendor: ASUSTeK COMPUTER INC. > dmi.chassis.version: 1.0 > dmi.ec.firmware.release: 16.0 > dmi.modalias: > dmi:bvnAmericanMegatrendsInc.:bvrFX505DT.316:bd01/28/2021:br5.14:efr16.0:svnASUSTeKCOMPUTERINC.:pnTUFGamingFX505DT_FX505DT:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX505DT:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku: > dmi.product.family: TUF Gaming > dmi.product.name: TUF Gaming FX505DT_FX505DT > dmi.product.version: 1.0 > dmi.sys.vendor: ASUSTeK COMPUTER INC. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions<https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions> > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2115148 Title: nvidia driver error: cannot open linker script file To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/2115148/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
