snipt

Ctrl+h for KB shortcuts

Text only

Rollback to previous package version after bad upgrade with Ubuntu 8.04LTS and APT

1
2
3
4
5
This will show all the versions of the package in the cache
apt-cache show [package name] | fgrep Version:

This will install an older version of the package
apt-get install [package name]=[version]
https://snipt.net/embed/c1f36e0159632b9542fc49f098c72381/
/raw/c1f36e0159632b9542fc49f098c72381/
c1f36e0159632b9542fc49f098c72381
text
Text only
5
2019-06-16T20:10:09
True
False
False
/api/public/snipt/14222/
rollback-to-previous-package-version-after-upgrade-with-ubuntu-804lts-and-apt
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>This will show all the versions of the package in the cache </span><span id="L-2"><a name="L-2"></a>apt-cache show [package name] | fgrep Version: </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>This will install an older version of the package </span><span id="L-5"><a name="L-5"></a>apt-get install [package name]=[version] </span></pre></div> </td></tr></table>
apt, package, rollback, ubuntu