Installing zoom-meeting created a broken package. Since then I've tried everything, but nothing can be done.
When I enter the command sudo apt-get --purge remove zoom
I get these results:
Reading package lists... DoneBuild dependency tree... DoneRead status information... Done The following package has been installed automatically and is no longer required: libwmf0.2-7Please use "sudo apt autoremove" to remove it.The following packages will be REMOVED: linux-image-6.5.0-14-generic zoom*0 updated, 0 newly installed, 2 to be removed and 26 not updated.3 partially installed or removed.After this operation, 698 MB of disk space will be freed.Would you like to continue? [Y/n] o(Reading the database... 533735 files and directories already installed)Remove linux-image-6.5.0-14-generic (6.5.0-14.14~22.04.1) .../etc/kernel/postrm.d/initramfs-tools:update-initramfs: Deleting /boot/initrd.img-6.5.0-14-generic/etc/kernel/postrm.d/zz-update-grub:Sourcing file `/etc/default/grub'/usr/sbin/grub-mkconfig: 3: /etc/default/grub: For: not foundrun-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127dpkg: linux-image-6.5.0-14-generic package processing error (--remove) : the installed linux-image-6.5.0-14-generic script post-removal package sub-process returned an output status of error 1dpkg: too many errors, shutdownErrors were encountered during execution : linux-image-6.5.0-14-genericExecution was stopped because there were too many errors.E: Sub-process /usr/bin/dpkg returned an error code (1)
Entering the command : sudo apt autoremove
Reading package lists... DoneBuild dependency tree... DoneRead status information... Done You can run "apt --fix-broken install" to correct these problems.The following packages contain unmet dependencies: zoom: Dependency: libxcb-xtest0 but it is not installed Depends on: libxcb-cursor0 but it is not installed Recommends: libegl1-mesa but it is not installed Recommends: libgl1-mesa-glx but it is not installedE: Dependencies not met. Try "apt --fix-broken install" without package (or specify a solution).
When I enter the command sudo apt --fix-broken-install
sudo apt --fix-broken installReading package lists... DoneBuild dependency tree... DoneRead status information... Done Correct dependencies... DoneThe following package has been installed automatically and is no longer required: libwmf0.2-7Please use "sudo apt autoremove" to remove it.The following additional packages will be installed: libxcb-cursor0 libxcb-xtest0The following packages will be REMOVED: linux-image-6.5.0-14-genericThe following NEW packages will be installed: libxcb-cursor0 libxcb-xtest00 updated, 2 newly installed, 1 to be removed and 26 not updated.3 partially installed or removed.It is necessary to take 0 o/15.4 kB from the archives.After this operation, 14.2 MB of disk space will be freed up.Do you wish to continue? [Y/n] o(Reading the database... 533735 files and directories already installed)Remove linux-image-6.5.0-14-generic (6.5.0-14.14~22.04.1) .../etc/kernel/postrm.d/initramfs-tools:update-initramfs: Deleting /boot/initrd.img-6.5.0-14-generic/etc/kernel/postrm.d/zz-update-grub:Sourcing file '/etc/default/grub'/usr/sbin/grub-mkconfig: 3: /etc/default/grub: For: not foundrun-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127dpkg: linux-image-6.5.0-14-generic package processing error (--remove) : the installed linux-image-6.5.0-14-generic script post-removal package subprocess returned an error output status 1dpkg: too many errors, stopErrors were encountered during execution : linux-image-6.5.0-14-genericExecution was stopped because there were too many errors.E: Sub-process /usr/bin/dpkg returned an error code (1)