From 6cc9d8c72a56563b6d1a12b8b441dfa9dde345e9 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 28 Apr 2020 17:29:52 +0200 Subject: Long overdue first commit with content --- content/en/blog/debian/_index.md | 5 +++++ .../en/blog/debian/error-during-signature-verification.md | 15 +++++++++++++++ content/en/blog/debian/force-package-removal.md | 14 ++++++++++++++ content/en/blog/debian/no-public-key-error.md | 12 ++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 content/en/blog/debian/_index.md create mode 100644 content/en/blog/debian/error-during-signature-verification.md create mode 100644 content/en/blog/debian/force-package-removal.md create mode 100644 content/en/blog/debian/no-public-key-error.md (limited to 'content/en/blog/debian') diff --git a/content/en/blog/debian/_index.md b/content/en/blog/debian/_index.md new file mode 100644 index 0000000..4a0403f --- /dev/null +++ b/content/en/blog/debian/_index.md @@ -0,0 +1,5 @@ +--- +title: "Debian" +linkTitle: "Debian" +weight: 40 +--- diff --git a/content/en/blog/debian/error-during-signature-verification.md b/content/en/blog/debian/error-during-signature-verification.md new file mode 100644 index 0000000..87d7e3a --- /dev/null +++ b/content/en/blog/debian/error-during-signature-verification.md @@ -0,0 +1,15 @@ +--- +title: "Error occured during the signature verification" +linkTitle: "Error occured during the signature verification" +date: 2015-02-27 +description: > + Error occured during the signature verification +--- + +Here is how to fix the apt-get “Error occured during the signature verification” : +{{< highlight sh >}} +cd /var/lib/apt +mv lists lists.old +mkdir -p lists/partial +aptitude update +{{< /highlight >}} diff --git a/content/en/blog/debian/force-package-removal.md b/content/en/blog/debian/force-package-removal.md new file mode 100644 index 0000000..c1a4862 --- /dev/null +++ b/content/en/blog/debian/force-package-removal.md @@ -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 +{{< /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/.*inst`, locate the line that fails, comment it out and try to purge again. Repeat until success! diff --git a/content/en/blog/debian/no-public-key-error.md b/content/en/blog/debian/no-public-key-error.md new file mode 100644 index 0000000..15e9a01 --- /dev/null +++ b/content/en/blog/debian/no-public-key-error.md @@ -0,0 +1,12 @@ +--- +title: "Fix the no public key available error" +linkTitle: "Fix the no public key available error" +date: 2016-01-27 +description: > + Fix the no public key available error +--- + +Here is how to fix the no public key available error : +{{< highlight sh >}} +apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYID +{{< /highlight >}} -- cgit v1.2.3