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?
Asked
Active
Viewed 8,336 times
0

singrium
- 6,880

Mohamed Ahmed
- 261
-
1The 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. – steeldriver Jun 26 '15 at 16:27
2 Answers
1
I believe the command you seek is:
sudo apt-get -f install
That should attempt to correct for any broken dependencies you have.

Aaron Nichols
- 113
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.