<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=512&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Howto: Reverting to stable from a mixed stable/testing setup]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=512</link>
		<description><![CDATA[The most recent posts in Howto: Reverting to stable from a mixed stable/testing setup.]]></description>
		<lastBuildDate>Sun, 12 Mar 2017 19:17:27 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Howto: Reverting to stable from a mixed stable/testing setup]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=987#p987</link>
			<description><![CDATA[<p><strong>NOTE: MIXING DEVUAN RELEASE BRANCHES IS GENERALLY NOT ADVISABLE BECAUSE IT CAN EASILY BREAK YOUR SYSTEM! ADDITONALLY, THERE MAY BE CASES IN WHICH THE FOLLOWING STEPS WILL NOT COMPLETELY REVERT YOUR SYSTEM TO STABLE AND FURTHER FIXING ON A PER-PACKAGE BASIS WILL BE REQUIRED.</strong></p><p>If you have installed packages from <em>testing</em> in Devuan <em>stable</em> and want to revert your system to a state in which it only contains packages from the <em>stable</em> branch, follow these steps.</p><p><strong>1.</strong> Login as <em>root</em>, go to /etc/apt/prefrences.d/ and create a file named &quot;force-stable&quot; (or name it anything you like) there:</p><div class="codebox"><pre><code># cd /etc/apt/preferences.d/
# touch force-stable</code></pre></div><p>Now, put the following lines into that file:</p><div class="codebox"><pre><code>Package: *
Pin: release a=stable
Pin-Priority: 1001</code></pre></div><p>Pinning the priority of <em>stable</em> to a value beyond 1000 will only allow packages from the <em>stable</em> branch to be installed on your system. Any packages from elsewhere, including backports and security upgrades (which come from a dedicated Devuan repository of their own), will be downgraded.</p><p><strong>2.</strong> Upgrade your system:</p><div class="codebox"><pre><code># apt-get upgrade</code></pre></div><p>In case this renders any packages obsolete, uninstall them with:</p><div class="codebox"><pre><code># apt-get autoremove --purge</code></pre></div><p><strong>3.</strong> Delete the file you created in /etc/apt/preferences.d/ or move it to another location, if you want to save it:</p><div class="codebox"><pre><code># rm /etc/apt/preferences.d/force-stable</code></pre></div><p>or</p><div class="codebox"><pre><code># mv /etc/apt/preferences.d/force-stable /home/myself/good_spot</code></pre></div><p><strong>4.</strong> Deactivate the <em>testing</em> repositoriy in your /etc/apt/sources.list:</p><div class="codebox"><pre><code>#deb http://de.mirror.devuan.org/merged/ ascii main
#deb-src http://de.mirror.devuan.org/merged/ ascii main</code></pre></div><p><strong>5.</strong> Update, re-upgrade, clean up</p><p>Now run</p><div class="codebox"><pre><code># apt-get update</code></pre></div><p>to make <em>apt</em> aware of the new configuration.</p><p>As all security upgrades were lost in the downgrade above, you need to bring your system up to date by running</p><div class="codebox"><pre><code># apt-get upgrade </code></pre></div><p>once again.</p><p>Finally (and optionally), wipe obsolete packages from your disk with</p><div class="codebox"><pre><code># apt-get autoclean</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sun, 12 Mar 2017 19:17:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=987#p987</guid>
		</item>
	</channel>
</rss>
