0

I experienced a problem after removing wine as I used "purge" command instead of "remove" and now I am missing most of my programs including terminal and software center. I also lost most drives and can not run a Live USB to reinstall the system. The only program it shows at any download attempt is AptURL which is not helping at all. I can not access any settings as all the bars are missing (top and left side). Can anyone help me with my problem?

I am running a 14.04 Ubuntu.

2 Answers2

1

The command:

$ sudo apt-get install ubuntu-desktop

Should get your defaults back.

L. D. James
  • 25,444
0

Test this:

Switch On your PC.

Wait until the BIOS has finished loading.

Press and hold the Shift key, which will bring up the Grub menu.

Select the line which starts with: Advanced options.

Select the line ending with: Recovery mode, something like:

Ubuntu GNU/Linux, with Linux 3.16.0-21-generic (recovery mode)

Press Return.

Your PC should display a submenu with a number of options.

Select in this order:

fsck
network
root

Ubuntu wil boot in a terminal.

Run it:

mount -o remount,rw /
mount --all
dpkg --configure -a
apt-get -f install
apt-get update
apt-get dist-upgrade
apt-get install --reinstall ubuntu-desktop
apt-get clean
apt-get autoremove
reboot

Edited for explanations:

Why fsck?

Because sudo apt-get purge wine, it is not able to damage the system as reported, and it is possible there has been a failure to file system.

Why apt-get dist-upgrade?

Because sudo apt-get update, not install new packages, only updates that are already installed. And sudo apt-get dist-upgrade updates that are already installed and also installed new packages required to resolve dependencies.

kyodake
  • 17,808