cant install most apps on an amd laptop

– Please Write here your help request –

sudo apt install nvidia-driver
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
nvidia-driver is already the newest version (470.57.02-3).
nvidia-driver set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up nvidia-kernel-dkms (470.57.02-3) …
Removing old nvidia-current-470.57.02 DKMS files…


Deleting module version: 470.57.02
completely from the DKMS tree.

Done.
Loading new nvidia-current-470.57.02 DKMS files…
Building for 5.16.0-12parrot1-amd64
Building initial module for 5.16.0-12parrot1-amd64
Error! Bad return status for module build on kernel: 5.16.0-12parrot1-amd64 (x86
_64)
Consult /var/lib/dkms/nvidia-current/470.57.02/build/make.log for more informati
on.
dpkg: error processing package nvidia-kernel-dkms (–configure):
installed nvidia-kernel-dkms package post-installation script subprocess return
ed error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 470.57.02-3) | nvidia-kernel-470
.57.02; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-470.57.02 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-470.57.02 is not confi
gured yet.

dpkg: error processing package nvidia-driver (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
bumblebee-nvidia depends on nvidia-driver | nvidia-tesla-450-driver | nvidia-te
sla-440-driver | nvidia-tesla-418-driver | nvidia-legacy-390xx-driver | nvidia-l
egacy-340xx-driver | nvidia-driver-any; however:
Package nvidia-driver is not configured yet.
Package nvidia-tesla-450-driver is not installed.
Package nvidia-tesla-440-driver is not installed.
Package nvidia-tesla-418-driver is not installed.
Package nvidia-legacy-390xx-driver is not installed.
Package nvidia-legacy-340xx-driver is not installed.
Package nvidia-driver-any is not installed.
Package nvidia-driver which provides nvidia-driver-any is not configured yet.

dpkg: error processing package bumblebee-nvidia (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
bumblebee-nvidia
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

  • ParrotOS iso in use:

  • Application used for flashing the iso:

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

Try to the following to manually configure the offending package sudo dpkg --configure-all. If that doesn’t work remove the package entirely and try again this time by:

  1. Update the system package list with sudo apt update
  2. Just try to install the bumblee package and let the system handle the dependency management. It should

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.