Restore software from recovery mode?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Restore software from recovery mode?

Postby yadoyisnow on Thu Dec 12, 2013 8:00 am

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!
yadoyisnow
Level 1
Level 1
 
Posts: 9
Joined: Wed Dec 28, 2011 4:15 pm

Linux Mint is funded by ads and donations.
 

Re: Restore software from recovery mode?

Postby xenopeek on Thu Dec 12, 2013 10:59 am

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:
Code: Select all
mount -o remount,rw /

Next, run this command to install your MATE desktop again:
Code: Select all
apt-get install mint-meta-debian-mate

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.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13708
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Restore software from recovery mode?

Postby yadoyisnow on Thu Dec 12, 2013 12:10 pm

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!
yadoyisnow
Level 1
Level 1
 
Posts: 9
Joined: Wed Dec 28, 2011 4:15 pm

Re: Restore software from recovery mode?

Postby xenopeek on Thu Dec 12, 2013 12:22 pm

Try doing the following first to refresh package cache:
Code: Select all
apt-get update

Then try:
Code: Select all
apt-get install -f

Which may fix dependency problems.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13708
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands


Return to Newbie Questions

Who is online

Users browsing this forum: N3MKH and 4 guests