0

I think I have accidentally messed up my Ubuntu, I wanted to remove TOR so I did sudo apt-get remove tor* That selected a lot of files, which I think is unrelated to the anonymity network. So I ended up deleting files that other packages need. How can I make a scan for the missing dependencies I have removed?

1
  • 1
    The nature of dependencies is such that, if you remove packages that other packages need, then those other packages will also be removed. So unless the process was interrupted, you won't have missing dependencies - although you certainly may have entire missing applications or services. Jun 26, 2015 at 16:27

2 Answers 2

1

I believe the command you seek is:

sudo apt-get -f install

That should attempt to correct for any broken dependencies you have.

1
  • I ran that and it showed nothing to be installed. Jun 26, 2015 at 16:19
0

As @steeldriver notes and you experienced, the dependencies won't help. But with a bit of luck you may find out what apt-get remove did by looking at the logs of apt to be found in /var/log/apt/term.log*, as aptly noted in this post.

More answers in the same thread point to further log files, e.g. /var/log/apt/history.log, which may be even easier to explore.

Not the answer you're looking for? Browse other questions tagged .