From cc28c32bcaa4b6beb40852d2c64eafc4b1321c08 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 14 Feb 2015 15:00:25 +0100 Subject: [PATCH] miscell notes accumulated over time this does not belong here anyways --- debian/deb-cheat-sheet | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/deb-cheat-sheet b/debian/deb-cheat-sheet index 3d3f1bc1..69420816 100644 --- a/debian/deb-cheat-sheet +++ b/debian/deb-cheat-sheet @@ -1,14 +1,18 @@ ---- search package name +--- search package by name apt-cache search emacs + --- install one package apt-get install emacs23-nox + --- preparing upgrade (fetch and index latest versions of the repos) apt-get update --- actually update one package apt-get upgrade myslice + --- list packages dpkg -l dpkg -l '*foo*' + --- list (files for) one package dpkg -L myslice dpkg-deb -c myslice_0.2.4.lxc.2013.11.26_amd64.deb @@ -25,3 +29,7 @@ gdebi foo.deb --- find which package a file belongs to apt-file search /path/to/file (can be installed with : sudo apt-get install apt-file) + +--- reinstall a package +apt-get purge openfire +apt-get install openfire -- 2.43.0