summaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2020-12-27 21:31:43 -0700
committerAaron Ball <nullspoon@oper.io>2020-12-27 21:35:38 -0700
commited94847b7b628fe761c33e2edb5af8c6b4c7979e (patch)
treef037d384733175c17d8dfdcc84db8e37f57bb2dd /posts
parentdc484c45ec40531e695ece07ffbb008a94d257a8 (diff)
downloadoper.io-ed94847b7b628fe761c33e2edb5af8c6b4c7979e.tar.gz
oper.io-ed94847b7b628fe761c33e2edb5af8c6b4c7979e.tar.xz
Add librem 5 can't update 404 not found post
Diffstat (limited to 'posts')
-rw-r--r--posts/index.adoc2
-rw-r--r--posts/librem5-cant-update-404-not-found.rst41
2 files changed, 43 insertions, 0 deletions
diff --git a/posts/index.adoc b/posts/index.adoc
index 0a57ac5..b0f4d0b 100644
--- a/posts/index.adoc
+++ b/posts/index.adoc
@@ -7,6 +7,7 @@ Home
[role="index"]
New Posts
---------
+* link:?p=librem5-cant-update-404-not-found[Librem 5:Can't Update - 404 Not found]
* link:?p=librem5-no-wifi[Librem 5:No Wifi]
* link:?p=librem5-epiphany-render-bug[Librem 5:Epiphany Render Bug]
* link:?p=librem5-timeline[Librem 5:Order Timeline]
@@ -25,6 +26,7 @@ New Posts
[role="index"]
Purism Librem 5
---------------
+* link:?p=librem5-cant-update-404-not-found[Librem 5:Can't Update - 404 Not found]
* link:?p=librem5-no-wifi[Librem 5:No Wifi]
* link:?p=librem5-epiphany-render-bug[Librem 5:Epiphany Render Bug]
* link:?p=librem5-timeline[Librem 5:Order Timeline]
diff --git a/posts/librem5-cant-update-404-not-found.rst b/posts/librem5-cant-update-404-not-found.rst
new file mode 100644
index 0000000..ff5126f
--- /dev/null
+++ b/posts/librem5-cant-update-404-not-found.rst
@@ -0,0 +1,41 @@
+Librem 5:Can't Update - 404 Not found
+=====================================
+
+This is another issue I saw when I first got my Librem 5 Evergreen. I was
+pretty excited to install updates on it initially to see what work had been
+done since the phone was built (I'm an update junkie, what can I say).
+
+Unfortunately, when I checked for updates, I got the following error message::
+
+ Unable to download update:
+ E: https://repo.pureos.net/pureos amber-security/main arm64 libldap-common all 2.4.47+dfsg-3+deb10u3 is not (yet) available (404 Not Found [IP:138.201.228.45 443])
+
+A quick screenshot as well:
+
+.. image:: files/librem5-updates-issue-00.png
+ :height: 700
+ :align: center
+
+
+I tried a number of things, none of which worked. I ultimate checked the
+pureos.net server to see if that file and that version was actually hosted
+there (specificallly ``deb10u3``). It was not. However, ``deb10u8`` was, which
+refreshing the apt cache should have picked up. I downloaded the package index
+and checked it for that file in case it had been generated wrong, and
+everything looked good. For some reason, my Librem 5 wasn't updating the apt
+cache, even when I ran ``apt update`` via the terminal. I wasn't getting any
+errors either; only the one above when I actually tried to install updates
+(``apt upgrade``).
+
+So, first I tried ``sudo apt clean``, hoping that'd do the trick. Alas, no
+money.
+
+Finally, I resorted to manually deleting the entire apt cache like so::
+
+ sudo rm -r /var/lib/apt/lists
+ sudo apt update
+
+Refreshing the package cache that time took significantly longer (over a
+minute), but ``apt upgrade`` worked great after that.
+
+I hope that helps!

Generated by cgit