{"id":8965,"date":"2022-10-26T23:06:47","date_gmt":"2022-10-26T21:06:47","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=8965"},"modified":"2023-12-20T08:40:48","modified_gmt":"2023-12-20T07:40:48","slug":"debian-enable-apt-debug-logging","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/debian-enable-apt-debug-logging\/","title":{"rendered":"Debian: Enable apt debug logging"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_8965 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_8965')){$('.twoclick_social_bookmarks_post_8965').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Debian%3A%20Enable%20apt%20debug%20logging\",\"the_excerpt\":\"Hi%2C%20%0D%0A%0D%0Afor%20troubleshooting%20purposes%20%28i.e.%20certificate%20issues%29%20it%20is%20sometimes%20to%20enable%20the%20debug%20logging%20of%20apt.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/debian-enable-apt-debug-logging\\\/\",\"post_id\":8965,\"post_title_referrer_track\":\"Debian%3A+Enable+apt+debug+logging\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi, <\/p>\n<p>for troubleshooting purposes (i.e. certificate issues) it is sometimes to enable the <a href=\"https:\/\/manpages.debian.org\/unstable\/apt\/apt.conf.5.en.html\" rel=\"noopener\" target=\"_blank\">debug logging<\/a> of apt.<br \/>\n<!--more--><br \/>\nThis can be done by setting<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@debdev ~ # apt -oDebug::pkgAcquire::Worker=1 update \r\n<\/pre>\n<p>Or permanently <\/p>\n<p>root@debdev ~ # echo &#8220;Debug::pkgAcquire::Worker 1;&#8221; > \/etc\/apt\/apt.conf.d\/99apt_debug.conf<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, for troubleshooting purposes (i.e. certificate issues) it is sometimes to enable the debug logging of apt.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[870],"tags":[1904,335,1806,224,398,340],"class_list":["post-8965","post","type-post","status-publish","format-standard","hentry","category-debian","tag-apt","tag-debian","tag-debug","tag-linux-2","tag-log","tag-ubuntu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=8965"}],"version-history":[{"count":1,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8965\/revisions"}],"predecessor-version":[{"id":8966,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8965\/revisions\/8966"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=8965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=8965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=8965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}