Installing LXDE error

Please post all general support questions for LXDE here.
Post Reply
kariahern
Posts: 1
Joined: Thu Mar 14, 2024 7:22 am

Installing LXDE error

Post by kariahern »

Hello,
I tried to install LXDE, but some errors appear .

Code:

Code: Select all

(Reading database... 288572 files and directories currently installed.)
Remove linux-image-5.15.0-25-generic (5.15.0-25.25) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-25-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 12: /etc/default/grub: scsi_mod.use_blk_mq=1: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error while processing package linux-image-5.15.0-25-generic (--remove):
 installed linux-image-5.15.0-25-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors - stop
Errors occurred while processing the following packages:
 linux-image-5.15.0-25-generic
Processing stopped due to too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is this error? How can I solve it and install LXDE?
maskfibula
Posts: 1
Joined: Fri Dec 01, 2023 10:30 am

Re: Installing LXDE error

Post by maskfibula »

kariahern wrote: Thu Mar 14, 2024 7:26 am Hello,
I tried to install LXDE, but some errors appearhappy wheels.

Code:

Code: Select all

(Reading database... 288572 files and directories currently installed.)
Remove linux-image-5.15.0-25-generic (5.15.0-25.25) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-25-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 12: /etc/default/grub: scsi_mod.use_blk_mq=1: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error while processing package linux-image-5.15.0-25-generic (--remove):
 installed linux-image-5.15.0-25-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors - stop
Errors occurred while processing the following packages:
 linux-image-5.15.0-25-generic
Processing stopped due to too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is this error? How can I solve it and install LXDE?
Ensure that your LXDE system has a stable internet connection before starting the Cloudflare Tunnel. You can try to ping external servers or websites to verify connectivity.
Ziggi
Posts: 38
Joined: Wed Jan 04, 2023 12:02 pm

Re: Installing LXDE error

Post by Ziggi »

Hi Kariahern,

What distro are you trying to install LXDE on?
What is the approximate age of the computer and it’s specification?
As above – can you connect with distro’s mirror site?

Good luck
alexbelov11
Posts: 1
Joined: Fri Jul 05, 2024 4:25 pm
Location: Canada, Toronto

Re: Installing LXDE error

Post by alexbelov11 »

Hello,

It seems you're encountering an issue while trying to install LXDE due to errors related to the removal of the linux-image-5.15.0-25-generic package. The error indicates that the script /etc/kernel/postrm.d/zz-update-grub is failing because it cannot find the setting scsi_mod.use_blk_mq=1 in /etc/default/grub.

Here are some steps to resolve this issue:

Edit /etc/default/grub: Open the file with a text editor, such as nano or vim, and check for the line scsi_mod.use_blk_mq=1. If it is missing or incorrectly formatted, try adding or correcting it.

sh
Копировать код
sudo nano /etc/e the LXDE installation.default/grub
Update GRUB: After editing the file, update GRUB to apply the changes.

sh
Копировать код
sudo update-grub
Retry Removal: Attempt to remove the linux-image package again.

sh
Копировать код
sudo dpkg --remove --force-remove-reinstreq linux-image-5.15.0-25-generic
Fix Broken Packages: If there are any broken packages, fix them.

sh
Копировать код
sudo apt-get install -f
Reinstall LXDE: Finally, try reinstalling LXDE.

sh
Копировать код
sudo apt-get install lxde
These steps should help you resolve the errors and complet
Join a community of like-minded enthusiasts who share your passion for excitement and adventure. Engage in live tournaments, where skill and strategy can lead to thrilling victories and coveted rewards.
WilliamThompson
Posts: 2
Joined: Thu Mar 21, 2024 4:57 am
Contact:

Re: Installing LXDE error

Post by WilliamThompson »

alexbelov11 wrote: Fri Jul 05, 2024 4:36 pm Hello,

It seems you're encountering an issue while trying to install LXDE due to errors related to the removal of the linux-image-5.15.0-25-generic package. The error indicates that the script /etc/kernel/postrm.d/zz-update-grub is failing because it cannot find the setting scsi_mod.use_blk_mq=1 in /etc/default/grub.
Geometry Dash Wave
Here are some steps to resolve this issue:

Edit /etc/default/grub: Open the file with a text editor, such as nano or vim, and check for the line scsi_mod.use_blk_mq=1. If it is missing or incorrectly formatted, try adding or correcting it.

sh
Копировать код
sudo nano /etce the LXDE installation.default/grub
Update GRUB: After editing the file, update GRUB to apply the changes.

sh
Копировать код
sudo update-grub
Retry Removal: Attempt to remove the linux-image package again.

sh
Копировать код
sudo dpkg --remove --force-remove-reinstreq linux-image-5.15.0-25-generic
Fix Broken Packages: If there are any broken packages, fix them.

sh
Копировать код
sudo apt-get install -f
Reinstall LXDE: Finally, try reinstalling LXDE.

sh
Копировать код
sudo apt-get install lxde
These steps should help you resolve the errors and complet
thanks
JamieOhara321
Posts: 10
Joined: Wed Jul 05, 2023 9:13 am

Re: Installing LXDE error

Post by JamieOhara321 »

The error occurred during the removal of an old kernel. Once you have successfully purged the old kernel, you might want to remove any other unnecessary kernels to free up space. It's a good practice to regularly update and maintain your system to avoid such conflicts. Running sudo apt-get autoremove and sudo apt-get autoclean can help keep your system tidy. mapquest directions
Post Reply