Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 172798  / 2 Years ago, wed, august 17, 2022, 5:23:01

Problem I Faced



  • I installed something that crashed my Wifi drivers that I compiled earlier.

  • Un-installing the same package doesn't helped.

  • Finally, I re-compiled my wifi drivers and things are good.


My Question


But, is there anything like System Restore or System Rollback in Ubuntu/LinuxMint?



  • Is there anything that can undo an apt-get install package command?


More From » apt

 Answers
6

The complement of apt-get install package is apt-get remove package. To remove all associated settings too, you need to run apt-get purge package.



Note that these commands rely on the uninstallation scripts provided with the package. All packages in the main repository I know of do their job of uninstalling very well. This may not be the case for third-party packages.



As for your driver issue, there are a few possibilities why installing a package broke your wireless driver:




  • The driver has a post-installation hook which is executed when a condition is met, e.g. kernel updates

  • The package overwrote a file that the wireless driver depended on

  • The package in question was a kernel update but the driver does not have a post-installation hook for recompiling the driver (most likely)



As for the "System rollback" / "System Restore" features, the closest feature you'll get is a system image using software like Clonezilla. Unfortunately, this cannot be done within a running system and must be performed from a Live CD.


[#43960] Thursday, August 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
learty

Total Points: 432
Total Questions: 115
Total Answers: 109

Location: Wallis and Futuna
Member since Tue, Mar 30, 2021
3 Years ago
learty questions
Sat, May 21, 22, 15:30, 2 Years ago
Sun, Jan 9, 22, 22:31, 2 Years ago
Mon, Jul 4, 22, 11:31, 2 Years ago
Tue, Mar 22, 22, 16:28, 2 Years ago
;