Long overdue first commit with content
This commit is contained in:
parent
f63ce5bdd8
commit
6cc9d8c72a
92 changed files with 2031 additions and 97 deletions
14
content/en/blog/debian/force-package-removal.md
Normal file
14
content/en/blog/debian/force-package-removal.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: "Force package removal"
|
||||
linkTitle: "Force package removal"
|
||||
date: 2015-01-27
|
||||
description: >
|
||||
Force package removal
|
||||
---
|
||||
|
||||
Here is how to force package removal when post-uninstall script fails :
|
||||
{{< highlight sh >}}
|
||||
dpkg --purge --force-all <package>
|
||||
{{< /highlight >}}
|
||||
|
||||
There is another option if you need to be smarter or if it is a pre-uninstall script that fails. Look at `/var/lib/dpkg/info/<package>.*inst`, locate the line that fails, comment it out and try to purge again. Repeat until success!
|
Loading…
Add table
Add a link
Reference in a new issue