2

I removed nautilus from my laptop and I had lost everything. When iam trying to install nautilus it requires some dependencies.
How can I get it now??
I used sudo apt-get remove --purge nautilus to remove nautilus

N0rbert
  • 103,263

2 Answers2

4

The Ubuntu desktop system package (ubuntu-desktop) depends on all of the packages in the Ubuntu desktop system. In all currently supported versions of Ubuntu open the terminal and type:

sudo apt install ubuntu-desktop  
sudo reboot  

In order to preview what sudo apt install ubuntu-desktop installs without installing anything run apt show ubuntu-desktop

In order to simulate what sudo apt install ubuntu-desktop installs without installing anything run apt install ubuntu-desktop --simulate

karel
  • 122,292
  • 133
  • 301
  • 332
0

If a package has dependencies that cannot be satisfied you can use aptitude to resolve them:

sudo aptitude install nautilus

This will give you choices on which packages to keep or remove such that nautilus can be installed. There can be many different ways to resolve dependencies and you don't have to accept the first choices given. Keep answering the prompts about which packages you want to keep or remove until the dependencies are resolved.