Running LMDE, I recently removed much of my software by accident -- including the MATE desktop and Terminal! -- while attempting to install a program whose dependencies I obviously misunderstood. Luckily my software was all backed up, but of course I cannot restore it with backup-manager because I have no desktop!
Is there a way to restore my software_selection.list (including my desktop) through the command line in recovery mode? I'm guessing it should be a snap, but can't figure it out with my limited Linux experience.
Thanks in advance for your help!
Restore software from recovery mode?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Restore software from recovery mode?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Restore software from recovery mode?
Boot your system, hold down left shift key to get GRUB boot menu to show, select recovery mode. There, select to drop to the root console. Then run this command to enable writing to disk:
Next, run this command to install your MATE desktop again:
That's assuming your have a working Internet connection. If you are on wireless and it's not working, connect your computer through wired connection for time being.
Code: Select all
mount -o remount,rw /
Code: Select all
apt-get install mint-meta-debian-mate
Re: Restore software from recovery mode?
Tried this, but there are several unmet dependencies (caja, mate-control-center etc).
At the end of the list it says I have held broken packages.
Hope this doesn't mean I have to reinstall lmde?
Sorry not to paste the code, I am now working from a smart phone!
At the end of the list it says I have held broken packages.
Hope this doesn't mean I have to reinstall lmde?
Sorry not to paste the code, I am now working from a smart phone!
Re: Restore software from recovery mode?
Try doing the following first to refresh package cache:
Then try:
Which may fix dependency problems.
Code: Select all
apt-get update
Code: Select all
apt-get install -f