Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2001  / 2 Years ago, sun, december 12, 2021, 9:49:04

I accidently removed a package with the purge flag and it removed large parts of the Ubuntu system, including the pulseaudio server, the software center, system settings and many, many other programs and libraries.



I don't exactly know what the purge command does, but I'm pretty sure that it's used to remove a package along with it dependencies. So I guess it removed every package that shares dependencies with the package I wanted to remove, but it still does not make any sense.



I have the complete dpkg.log of removed packages, but reinstalling them via terminal is nearly impossible.



What should I do to recover the removed packages?


More From » 12.04

 Answers
1

You could attempt to reinstall the entire desktop.



sudo apt-get install --reinstall ubuntu-desktop


It might be easier to just go through the list of removed packages one by one and reinstall.



What ever you do this would be a good time to make a backup in case you don't already have one so when things like this happen you can just revert your changes.


[#35733] Tuesday, December 14, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
;