How to reinstall a component I accidentally deleted [Solved]
-
- Posts: 12
- Joined: Thu May 30, 2024 11:51 am
How to reinstall a component I accidentally deleted
Hi. This week, I installed MX Libretto for the first time. It worked perfectly until I felt adventurous and started installing programs I wanted and uninstalling some I didn't want. At some point, being the total amateur that I am, I must have deleted something that was important. Next time I tried to turn on the computer, it showed a message saying org.kde.plasma was missing, so it couldn't start.
If I could access the MX package program, I could install that component, but I can't do that if I can't even log in. However, I still have the bootable USB drive. Is there a way I can fix the missing part if I boot from the USB?
If I could access the MX package program, I could install that component, but I can't do that if I can't even log in. However, I still have the bootable USB drive. Is there a way I can fix the missing part if I boot from the USB?
Re: How to reinstall a component I accidentally deleted
Welcome In
If you had made any TImeShift snapshots, then yes you could liveusb and then roll the timeshift back.
There may also be a method to 'reset' the KDE de to work, but I am not familiar enough with KDE to suggest on that one. Someone else here can I am sure.
If you had made any TImeShift snapshots, then yes you could liveusb and then roll the timeshift back.
There may also be a method to 'reset' the KDE de to work, but I am not familiar enough with KDE to suggest on that one. Someone else here can I am sure.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
- Eadwine Rose
- Administrator
- Posts: 14440
- Joined: Wed Jul 12, 2006 2:10 am
Re: How to reinstall a component I accidentally deleted
Personally.. I'd reinstall, keeping home to keep your files.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: How to reinstall a component I accidentally deleted
Boot with the live usb, open "Chroot Rescue Scan" from menu, proceed , when you see the prompt:
chroot>
issue:
Then looking at the output install what's missing or install all that were removed that day etc...
Yes, no need to sudo.
chroot>
issue:
Code: Select all
apt-history
Code: Select all
apt install xxx yyy zzz
Re: How to reinstall a component I accidentally deleted
Out of curiosity, can you get to the login screen, and then KDE won't start?
If so, it's an argument for having at least one more desktop environment as a backup boot option, such as lxqt or xfce (not much space required for those).
If so, it's an argument for having at least one more desktop environment as a backup boot option, such as lxqt or xfce (not much space required for those).
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
Re: How to reinstall a component I accidentally deleted
May be older installs, but recent MX KDE install don't have apt-history installed, ootb.Charlie Brown wrote: ↑Thu May 30, 2024 1:08 pm Boot with the live usb, open "Chroot Rescue Scan" from menu, proceed , when you see the prompt:
chroot>
issue:
Code: Select all
apt-history
-
- Posts: 12
- Joined: Thu May 30, 2024 11:51 am
Re: How to reinstall a component I accidentally deleted
fehlix wrote: ↑Thu May 30, 2024 3:07 pmMay be older installs, but recent MX KDE install don't have apt-history installed, ootb.Charlie Brown wrote: ↑Thu May 30, 2024 1:08 pm Boot with the live usb, open "Chroot Rescue Scan" from menu, proceed , when you see the prompt:
chroot>
issue:
Code: Select all
apt-history
This should show the apt history if it's not installed (apt-history gets installed with the apt-notifier package)
Code: Select all
zgrep -EH ' install | upgrade | purge | remove ' /var/log/dpkg* | cut -f2- -d: | sort -r | column -t | more -d
Re: How to reinstall a component I accidentally deleted [Solved]
If you can then boot to a terminal screen and have a Net connection there, you should be able to install the "kde-plasma-desktop" metapackage, which at least should get the KDE GUI back up.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
-
- Posts: 12
- Joined: Thu May 30, 2024 11:51 am
Re: How to reinstall a component I accidentally deleted
How do I do that?boot to a terminal screen and have a Net connection there