{"id":6948,"date":"2026-01-04T21:24:41","date_gmt":"2026-01-05T05:24:41","guid":{"rendered":"https:\/\/wonghoi.humgar.com\/blog\/?p=6948"},"modified":"2026-01-05T19:08:57","modified_gmt":"2026-01-06T03:08:57","slug":"debian-13-annoyances","status":"publish","type":"post","link":"https:\/\/wonghoi.humgar.com\/blog\/2026\/01\/04\/debian-13-annoyances\/","title":{"rendered":"Debian 13 annoyances"},"content":{"rendered":"\n<p>There are some stupid shit in Debian 13 (as of to date) that doesn&#8217;t work right out of the box by 2026 because of questionable UX judgements:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Freshly minted user from the installer cannot sudo<\/h2>\n\n\n\n<p>I understand it&#8217;s good security practice to not leave any attack surface for fresh installations, but this one is just cargo-cult. The first thing you need to do out of any installation (not a live disc) is to <code>sudo<\/code> and update the software. There&#8217;s no good reason to make the administrator who just installed the Linux grant <code>sudo<\/code> rights to the first user he just created unless you want him to switch to the practice of regularly logging in as <code>root<\/code> user!<\/p>\n\n\n\n<p>So administrators are forced to do this dance:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>su - root -c \"adduser $USER sudo\"<\/code><\/pre>\n\n\n\n<p>Followed by a logout and relogin, which cannot be easily automated across distributions and installations because each desktop environment have their own logout commands. <code>logout<\/code> itself is only when you are in text mode.<\/p>\n\n\n\n<p>Debian&#8217;s installer should at least have the decency of asking if the first account created by the installer should be granted <code>sudo<\/code> rights! Good user designs are not supposed to throw obstacles in the most common use cases no matter how justified the developer thinks it is.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><code>apt update<\/code> does not work out of the box<\/h2>\n\n\n\n<p>If you installed Debian from a full DVD (not the minimal version that requires the Internet to download the rest), <a href=\"https:\/\/www.reddit.com\/r\/debian\/comments\/169wn45\/cdrom_not_recognised_by_apt_when_running_update\/\">good luck trying to update the apt<\/a> package manager:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"134\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-1024x134.png\" alt=\"\" class=\"wp-image-6939\" srcset=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-1024x134.png 1024w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-300x39.png 300w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-768x101.png 768w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-1536x202.png 1536w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6-500x66.png 500w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-6.png 1547w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Who in the right mind would believe an OS installed from the CD should behave differently than it&#8217;s downloaded online? WTF?!<\/p>\n\n\n\n<p>You are supposed to edit out the <code>cdrom:<\/code> source <code>\/etc\/apt\/sources.list<\/code>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8-1024x191.png\" alt=\"\" class=\"wp-image-6941\" srcset=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8-1024x191.png 1024w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8-300x56.png 300w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8-768x143.png 768w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8-500x93.png 500w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2026\/01\/image-8.png 1306w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In most cases you don&#8217;t need or want the CD sources after you installed it unless you struggle with Internet bandwidth or don&#8217;t want the most updated versions. Here&#8217;s a one-liner to do it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo sed -i'.bak' '\/cdrom:\/d' \/etc\/apt\/sources.list<\/code><\/pre>\n\n\n\n<p>This wiil create a <code>.bak<\/code> backup file in case if it deleted more things than you wanted and want to undo it.<\/p>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_6948\" class=\"pvc_stats all  \" data-element-id=\"6948\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>There are some stupid shit in Debian 13 (as of to date) that doesn&#8217;t work right out of the box by 2026 because of questionable UX judgements: Freshly minted user from the installer cannot sudo I understand it&#8217;s good security &hellip; <a href=\"https:\/\/wonghoi.humgar.com\/blog\/2026\/01\/04\/debian-13-annoyances\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_6948\" class=\"pvc_stats all  \" data-element-id=\"6948\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-6948","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/6948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/comments?post=6948"}],"version-history":[{"count":16,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/6948\/revisions"}],"predecessor-version":[{"id":6983,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/6948\/revisions\/6983"}],"wp:attachment":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/media?parent=6948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/categories?post=6948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/tags?post=6948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}