Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:apt-cheat-sheet [18/02/2020 10:01]
andrew [Force apt traffic through a proxy server]
rb:apt-cheat-sheet [23/05/2020 22:54] (current)
andrew [GPG error: Verification problem]
Line 191: Line 191:
  
  
 +
 +===== Force Remove packages =====
 + 
 +To remove a package causing an unworkable dependency ​ loop, use this, but beware it may break your system. ''​-r''​ removes a package, ''​-P''​ purges any left over config files too, they are mutually exclusive:-
 +
 +<​code>​
 +[root@server ~]# dpkg -r --force-depends <​package_name>​
 +
 +[root@server ~]# dpkg -P --force-depends <​package_name>​
 +</​code>​
  
  

rb/apt-cheat-sheet.txt ยท Last modified: 23/05/2020 22:54 by andrew