aboutsummaryrefslogtreecommitdiff
path: root/content/blog/debian
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/debian')
-rw-r--r--content/blog/debian/error-during-signature-verification.md4
-rw-r--r--content/blog/debian/force-package-removal.md4
-rw-r--r--content/blog/debian/no-public-key-error.md4
3 files changed, 6 insertions, 6 deletions
diff --git a/content/blog/debian/error-during-signature-verification.md b/content/blog/debian/error-during-signature-verification.md
index 117fcf9..7e4dbaf 100644
--- a/content/blog/debian/error-during-signature-verification.md
+++ b/content/blog/debian/error-during-signature-verification.md
@@ -9,9 +9,9 @@ tags:
## How to fix
Here is how to fix the apt-get “Error occured during the signature verification” :
-{{< highlight sh >}}
+```sh
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
aptitude update
-{{< /highlight >}}
+```
diff --git a/content/blog/debian/force-package-removal.md b/content/blog/debian/force-package-removal.md
index 75a5d12..33920fe 100644
--- a/content/blog/debian/force-package-removal.md
+++ b/content/blog/debian/force-package-removal.md
@@ -9,8 +9,8 @@ tags:
## How to force the removal of a package
Here is how to force package removal when post-uninstall script fails :
-{{< highlight sh >}}
+```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!
diff --git a/content/blog/debian/no-public-key-error.md b/content/blog/debian/no-public-key-error.md
index 1e5720b..9eccd74 100644
--- a/content/blog/debian/no-public-key-error.md
+++ b/content/blog/debian/no-public-key-error.md
@@ -9,6 +9,6 @@ tags:
## How to fix
Here is how to fix the no public key available error :
-{{< highlight sh >}}
+```sh
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYID
-{{< /highlight >}}
+```