changeset 2324:a691d00452b3

Making aptitude forget changes.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Tue, 01 Jan 2019 22:52:42 +0200
parents 7af84df988e9
children b127237b615f
files debian-apt.rst
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/debian-apt.rst	Tue Jan 01 22:32:53 2019 +0200
+++ b/debian-apt.rst	Tue Jan 01 22:52:42 2019 +0200
@@ -328,3 +328,10 @@
   $ sudo apt-get upgrade -s
   $ sudo aptitude upgrade -s
 
+Making aptitude forget changes
+==============================
+
+Following removes or override (like "hold" status) ``aptitude`` package state DB::
+
+  sudo rm /var/lib/aptitude/pkgstates
+  sudo aptitude keep-all