<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Juozas's Dump - tagged #debian</title><link>https://kyselo.eu/juozaspo</link><description>A growing collection of anime, photos and any other kind of weird content.[Tumblr|​X/Twitter|​Pillowfort|​Loforo|​Mastodon] [Random post]</description><item><title>Reinstalled server os</title><link>https://kyselo.eu/juozaspo/post/29395</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/29395</guid><description>&lt;p&gt;Today i've reinstalled the os of the server that runs my minetest server and related pages. It will take some time to setup everything and to restore what's needed. It has been running Ubuntu 20.04 LTS up until now and the new os is Debian 11.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Edit:&lt;/b&gt; Got the web server working. Sadly no running minetest server yet.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Edit2:&lt;/b&gt; Minetest server is finally back up and running, old worlds restored.&lt;br&gt;&lt;/p&gt;</description><pubDate>Wed, 26 Oct 2022 08:26:46 +0200</pubDate></item><item><title>Find manually installed packages that has other packages depending on it on Debian based systems</title><link>https://kyselo.eu/juozaspo/post/26356</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/26356</guid><description>&lt;p&gt;Running command below generates a list of packages that can be marked as automatically installed, as long as &lt;i&gt;apt-rdepends&lt;/i&gt; package were already installed. It generates a script that can be used to mark all found packages as manually installed.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo \#\!/bin/bash &amp;gt; mark-auto.sh; apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2&amp;gt;/dev/null)" ] || echo apt-mark auto {}' &amp;gt;&amp;gt; &lt;span data-auto-link="true" data-href="http://mark-auto.sh"&gt;mark-auto.sh&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;It can be modified to mark packages automatically if preferred instead of writing to a script&lt;/p&gt;&lt;pre class=""&gt;apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2&amp;gt;/dev/null)" ] || apt-mark auto {}'&lt;a href="http://mark-auto.sh"&gt;&lt;span data-auto-link="true" data-href="http://mark-auto.sh"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br&gt;&lt;/pre&gt;&lt;p&gt;Before running apt-get autoremove run it with pretend mode (-s), e.g&lt;/p&gt;&lt;pre&gt;apt-get -s autoremove --purge&lt;/pre&gt;&lt;p&gt;Mark any package not desired to be removed with&lt;br&gt;&lt;/p&gt;&lt;pre&gt;apt-mark manual &amp;lt;package&amp;gt;&lt;br&gt;&lt;/pre&gt;</description><pubDate>Sat, 16 Apr 2022 16:01:49 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/19046</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/19046</guid><description>&lt;img src="https://kyselo.eu//pub/e6/20/1f/e6201f7dc989d1da83ab3fed8ae28453.png"&gt;</description><enclosure url="https://kyselo.eu/pub/e6/20/1f/e6201f7dc989d1da83ab3fed8ae28453.png" length="55701" type="image/png"/><pubDate>Wed, 09 Jun 2021 06:40:03 +0200</pubDate></item></channel></rss>
