snipt

Ctrl+h for KB shortcuts

Bash

Resolve dependency problems

$ sudo apt-get -f install
https://snipt.net/embed/cd2033b6061a5706f347a8281aa25912/
/raw/cd2033b6061a5706f347a8281aa25912/
cd2033b6061a5706f347a8281aa25912
bash
Bash
1
2019-06-27T06:28:10
True
False
False
/api/public/snipt/42464/
resolve-dependency-problems
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ sudo apt-get -f install </span></pre></div> </td></tr></table>
apt-get, ubuntu

Bash

apt-get resolve gpg keys

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $KEY
https://snipt.net/embed/fe6c97954927fe10fad29180c13cbf77/
/raw/fe6c97954927fe10fad29180c13cbf77/
fe6c97954927fe10fad29180c13cbf77
bash
Bash
2
2019-07-11T15:51:34
True
False
False
/api/public/snipt/20155/
apt-get-resolve-gpg-keys
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <span class="nv">$KEY</span> </span></pre></div> </td></tr></table>
apt-get, debian, gpg, keys, ubuntu

Bash

Retirer un package des mises à jour apt-get sous Debian

apt-get install wajig
wajig hold <package_name>
https://snipt.net/embed/ee48f3dcee921701c3b6eb703f9fb31e/
/raw/ee48f3dcee921701c3b6eb703f9fb31e/
ee48f3dcee921701c3b6eb703f9fb31e
bash
Bash
2
2019-07-12T16:34:17
True
False
False
/api/public/snipt/5688/
retirer-un-package-des-mises-a-jour-apt-get-sous-debian
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>apt-get install wajig </span><span id="L-2"><a name="L-2"></a>wajig hold &lt;package_name&gt; </span></pre></div> </td></tr></table>
apt-get, debian, dpkg, linux, update, upgrade