Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What is the command I ran and now I have no ubuntu left...

When I which the computer on, the monitor comes on, it goes passed the grub screen, it does not show anything after that. How do I fix this?

share|improve this question
    
possible duplicate of How do I remove the LAMP stack so I can start over? –  Jorge Castro Sep 26 '11 at 23:17
add comment

3 Answers

up vote 4 down vote accepted

I haven't tried this myself, but it may work. I don't really know what you mean by "I have no Ubuntu left" and how much of Ubuntu you are missing.

Take a look at https://help.ubuntu.com/community/Tasksel

The first thing i would try is to run...

sudo apt-get install ubuntu-desktop^

It may help. If not, let us know.

share|improve this answer
    
I had to login to recovery mode from grub, drop down to the command line with networking and ran tasksel and selected ubuntu-desktop. the desktop is back. However, I don't have the plymouth boot screen anymore. –  oshirowanen Nov 7 '10 at 8:42
add comment

According to this bug report, tasksel behaves badly when removing packages. It seems that it removes many packages that it shouldn't, which can leave the machine in an inconsistent state.

Package Removal (A Better Way)

To remove something that you installed with tasksel, you need to mention the packages specifically. For example:

sudo aptitude remove apache2 apache2.2-common php5-common mysql-common

The theory is that removing these packages will cause the other parts of each system to also be removed. However, a manual search through Synaptic would still be beneficial.

This answer gives a much more detailed listing of what needs to be removed if you're trying to remove the LAMP stack.

Recovery

To recover from tasksel's over-zealous removals, you have to reinstall the affected packages. In some cases, installing ubuntu-desktop will do the trick:

sudo aptitude install ubuntu-desktop

To be more thorough, open up the Ubuntu Software Center and look through your removal history (see screenshot) to find the packages that were removed at the same time that you ran tasksel remove. You can then reinstall those packages.

Screenshot

share|improve this answer
add comment

This is a common bug with ubuntu (see #574287).

I was recently faced with the same issue. To address this, Once I was faced with the blank screen, I accessed an Auxiliary terminal by pressing Ctrl+Alt+F1 (F1-F6) usually work for me, logged in and ran sudo tasksel again to recover from my mistake.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.