Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 12171  / 1 Year ago, mon, december 5, 2022, 3:43:56

I used this purge command sudo apt-get purge openjdk7*, however this uninstalled a lot of the software and my me menu has vanished. Every time I install something there is a huge list of packages the system wants me to remove by using the command sudo apt-get autoremove. I looked trough these, and some were recently installed, but are recognized as orphaned packages.



Is there any way I can solve this, or do I have to format and install Ubuntu again? I am using Ubuntu 12.04 LTS x64.



Here are pastebins of three relevant log files from my system:



/var/log/dpkg.log



/var/log/apt/history.log



/var/log/apt/term.log


More From » 12.04

 Answers
1

Going from the APT history log, the problem wasn't apt-get purge openJDK7*, which uninstalled openjdk, but apt-get purge java* which removed ubuntu-desktop.



The problem is that java* matches javascript :)



To get back to a usable system, apt-get install ubuntu-desktop.



To get everything you had installed back, install everything you can see that APT removed when you told it to purge java*.


[#38025] Wednesday, December 7, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itteast

Total Points: 291
Total Questions: 123
Total Answers: 104

Location: Tuvalu
Member since Wed, Mar 29, 2023
1 Year ago
itteast questions
;