[{"data":1,"prerenderedAt":97},["ShallowReactive",2],{"post:remove-apt-repository":3},{"id":4,"title":5,"body":6,"date":84,"description":85,"draft":86,"extension":87,"meta":88,"navigation":89,"path":90,"seo":91,"stem":92,"tags":93,"__hash__":96},"posts\u002Fposts\u002Fremove-apt-repository.md","TIL: TIL: How to Remove (Unset) an Apt Repository",{"type":7,"value":8,"toc":81},"minimark",[9,21,47,50,57,74,77],[10,11,12,13,20],"p",{},"I was installing ",[14,15,19],"a",{"href":16,"rel":17},"https:\u002F\u002Ftableplus.com\u002F",[18],"nofollow","TablePlus"," this morning and accidentally followed the instructions for Ubuntu 26.04. This included running this command to install the TablePlus apt repostory for Ubuntu 26.xx:",[22,23,28],"pre",{"className":24,"code":25,"language":26,"meta":27,"style":27},"language-sh shiki shiki-themes github-light github-dark","sudo add-apt-repository \"deb [arch=amd64] https:\u002F\u002Fdeb.tableplus.com\u002Fdebian\u002F26 tableplus main\"\n","sh","",[29,30,31],"code",{"__ignoreMap":27},[32,33,36,40,44],"span",{"class":34,"line":35},"line",1,[32,37,39],{"class":38},"sScJk","sudo",[32,41,43],{"class":42},"sZZnC"," add-apt-repository",[32,45,46],{"class":42}," \"deb [arch=amd64] https:\u002F\u002Fdeb.tableplus.com\u002Fdebian\u002F26 tableplus main\"\n",[10,48,49],{},"Thankfully, I realized my mistake before finishing the install. But now, how would I remove this apt repo from my settings so I could install the correct version?",[10,51,52,53,56],{},"A quick Perplexity Q\u002FA later, I had my answer: prefix the last command with ",[29,54,55],{},"--remove",":",[22,58,60],{"className":24,"code":59,"language":26,"meta":27,"style":27},"sudo add-apt-repository --remove \"deb [arch=amd64] https:\u002F\u002Fdeb.tableplus.com\u002Fdebian\u002F26 tableplus main\"\n",[29,61,62],{"__ignoreMap":27},[32,63,64,66,68,72],{"class":34,"line":35},[32,65,39],{"class":38},[32,67,43],{"class":42},[32,69,71],{"class":70},"sj4cs"," --remove",[32,73,46],{"class":42},[10,75,76],{},"Once this was done, I was able to install the correct apt repository and continue with my install.",[78,79,80],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":27,"searchDepth":82,"depth":82,"links":83},2,[],"2026-09-25T11:05:46-04:00","I was installing TablePlus this morning and accidentally followed the instructions for Ubuntu 26.04. This included running this command to install the TablePlus apt repostory for Ubuntu 26.xx:",false,"md",{},true,"\u002Fposts\u002Fremove-apt-repository",{"title":5,"description":85},"posts\u002Fremove-apt-repository",[94,95],"apt","til","U96-P5cK2j2D5FtHqf9fqnC6ef8PYwKHW74sgUbWfds",1793891606388]