3

In my infinite wisdom, during a system upgrade, I somehow managed to remove 'ubuntu-desktop' and several other key packages. As a consequence, my desktop is now gone - I only see a standard X terminal window on login.

Any suggestions for how I might rectify this situtation (short of full reformat and reinstall; I have mails and other content on the hard drive that I wish to retain)?

I've tried simply reinstalling ubuntu-desktop with apt-get as suggested by fossfreedom below, but then it complains about dependencies not being met. Can I ask it to install dependencies automatically somehow?

Thanks.

1 Answers1

3

'ubuntu-desktop' and several other key packages

As it may be possible to reinstall all removed packages this is a time consuming process, even more so as we obviously don't exactly know what packages and how many were removed.

It is safe to reinstall Ubuntu and keep all private data from your home when you take care not to choose "Erase" during the installation process. By choosing "Upgrade" as depicted below all you data in your /home are kept untouched. However you will have to reinstall additional packages that are not installed by default and you will also have to reinstall customizations you may have made outside your HOME directory.

As always it may still be wise to backup your data before you do so.

Takkat
  • 144,580