{"id":842,"date":"2022-01-22T12:51:13","date_gmt":"2022-01-22T12:51:13","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=842"},"modified":"2022-01-22T12:51:13","modified_gmt":"2022-01-22T12:51:13","slug":"debian-repository-keys-bits","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2022\/01\/22\/debian-repository-keys-bits\/","title":{"rendered":"Debian Repository Keys + bits"},"content":{"rendered":"\n<p>Since I had to reinstall my laptop, I have had to tune missing things. One of them was when updating Debian I was constantly having errors with two repositories so I couldn&#8217;t get the packages from there. I have been lazy because it wasn&#8217;t stopping me for doing anything but I decided to fix that. I have seen this before so it is not totally new but I was surprised as I couldn&#8217;t &#8220;fix&#8221; the key for the Debian Tor repository.<\/p>\n\n\n\n<p>The error for getting the key for &#8220;www.deb-multimedia.org&#8221; was fixed following this <a href=\"https:\/\/forums.debian.net\/viewtopic.php?t=134409\">post<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># apt-key adv --keyserver keyring.debian.org --recv-keys 5C808C2B65558117<\/code><\/pre>\n\n\n\n<p>I tried similar approach for &#8220;deb.torproject.org&#8221; but it failed. I checked the official way to use that repo <a href=\"https:\/\/support.torproject.org\/apt\/tor-deb-repo\/\">here<\/a>. It was a bit different as I do currently as I use the &#8220;sources.list&#8221; and the post recommends to create a dedicated file. I didn&#8217;t pay much attention to it and tried to follow those instructions but using my current config setup. It was still failing. I checked the <a href=\"http:\/\/deb.torproject.org\/torproject.org\/dists\/testing\/\">repo<\/a> was real. I tried to use a public keyring (based on <a href=\"https:\/\/superuser.com\/questions\/513609\/how-to-apt-update-when-apt-is-not-accepting-the-repository\">this<\/a>) but same result. But at the end I found the solution <a href=\"https:\/\/forums.linuxmint.com\/viewtopic.php?t=298874\">here<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># wget -q https:\/\/deb.torproject.org\/torproject.org\/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc -O- | sudo apt-key add -<\/code><\/pre>\n\n\n\n<p>After that, my &#8220;apt update&#8221; didn&#8217;t show anymore errors.<\/p>\n\n\n\n<p>And then I noticed why my setup didnt work with the official instructions of Tor Project.<\/p>\n\n\n\n<p>The documentations says to create a new file with this line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>deb     &#91;signed-by=\/usr\/share\/keyrings\/tor-archive-keyring.gpg] https:\/\/deb.torproject.org\/torproject.org testing main<\/code><\/pre>\n\n\n\n<p>And then add the key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># wget -qO- https:\/\/deb.torproject.org\/torproject.org\/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee \/usr\/share\/keyrings\/tor-archive-keyring.gpg >\/dev\/null<\/code><\/pre>\n\n\n\n<p>But I have only this in my sources.list:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>##### 3rd Party Binary Repos\n###Debian Multimedia\ndeb &#91;arch=amd64] http:\/\/www.deb-multimedia.org testing main non-free\n#deb &#91;arch=amd64,i386] http:\/\/www.deb-multimedia.org buster main non-free\n\n###TOR\ndeb &#91;arch=amd64] http:\/\/deb.torproject.org\/torproject.org testing main\n#deb-src &#91;arch=amd64] http:\/\/deb.torproject.org\/torproject.org testing main\n<\/code><\/pre>\n\n\n\n<p>So I wasn&#8217;t doing the same as I thought.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>And somehow I forgot how to scroll using the keyboard with Terminator&#8230;.and I was sure it worked before. I checked the keysetting and couldnt find anything. I thought something was misconfigured. Then I searched and found <a href=\"https:\/\/superuser.com\/questions\/348385\/how-do-i-scroll-up-using-a-keyboard-using-the-t\">this<\/a>. So as each laptop has a different keyboard setup, I noticed the &#8220;shift + PageUp&#8221; was actually in my keyboard &#8220;shift + Fn + PageUp&#8221;.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>And after sooooo many years, I decided to add spell check for Spanish in GC.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-1024x425.png\" alt=\"\" class=\"wp-image-843\" srcset=\"https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-1024x425.png 1024w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-300x125.png 300w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-768x319.png 768w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-1536x638.png 1536w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-2048x850.png 2048w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2022\/01\/image-1200x498.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I had to reinstall my laptop, I have had to tune missing things. One of them was when updating Debian I was constantly having errors with two repositories so I couldn&#8217;t get the packages from there. I have been lazy because it wasn&#8217;t stopping me for doing anything but I decided to fix that. &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2022\/01\/22\/debian-repository-keys-bits\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Debian Repository Keys + bits&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-842","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=842"}],"version-history":[{"count":1,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/842\/revisions"}],"predecessor-version":[{"id":844,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/842\/revisions\/844"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}