<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Bash-apt-hold</id>
	<title>Bash-apt-hold - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Bash-apt-hold"/>
	<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-apt-hold&amp;action=history"/>
	<updated>2026-05-08T15:51:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-apt-hold&amp;diff=71&amp;oldid=prev</id>
		<title>Chubbard: Created page with &quot;Basic examples of both kernel pinning as well as how to hold a package at a specific release  * Do not allow kernel updates &lt;pre&gt; for i in $(dpkg -l &quot;*$(uname -r)*&quot; | grep ima...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-apt-hold&amp;diff=71&amp;oldid=prev"/>
		<updated>2021-10-20T19:21:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Basic examples of both kernel pinning as well as how to hold a package at a specific release  * Do not allow kernel updates &amp;lt;pre&amp;gt; for i in $(dpkg -l &amp;quot;*$(uname -r)*&amp;quot; | grep ima...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Basic examples of both kernel pinning as well as how to hold a package at a specific release&lt;br /&gt;
&lt;br /&gt;
* Do not allow kernel updates&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for i in $(dpkg -l &amp;quot;*$(uname -r)*&amp;quot; | grep image | awk '{print $2}'); do echo $i hold | dpkg --set-selections; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* pin a package to the installed version&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;package name&amp;quot; hold | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:bash]]&lt;/div&gt;</summary>
		<author><name>Chubbard</name></author>
	</entry>
</feed>