0
mahmoodesk@Biostar-A68N-2100K:~$ sudo apt install dpkg

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dpkg is already the newest version (1.22.6ubuntu6.1).
The following packages will be REMOVED:
  **linux-image-6.8.0-59-generic**
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 15.0 MB disk space will be freed.
Do you want to continue? [Y/n] 
E: Sub-process **dpkg --set-selections** returned an error code (100)
E: Couldn't clean the currently selected dpkg states

mahmoodesk@Biostar-A68N-2100K:~$ dpkg --set-selections

Command 'dpkg' not found, but can be installed with:
**sudo apt install dpkg**

mahmoodesk@Biostar-A68N-2100K:~$ sudo apt remove linux-image-6.8.0-59-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  **linux-image-6.8.0-59-generic**
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 15.0 MB disk space will be freed.
Do you want to continue? [Y/n] 
E: Sub-process **dpkg --set-selections** returned an error code (100)
E: Couldn't clean the currently selected dpkg states

mahmoodesk@Biostar-A68N-2100K:~$ dpkg --set-selections

Command 'dpkg' not found, but can be installed with:
**sudo apt install dpkg**
guiverc
  • 33,561

0 Answers0