Differences between revisions 1 and 3 (spanning 2 versions)
⇤ ← Revision 1 as of 2011-04-13 07:50:10 →
Size: 131
Editor: SamatJain
Comment:
← Revision 3 as of 2014-04-15 03:29:35 → ⇥
Size: 337
Editor: SamatJain
Comment: Reinstall conf files
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

# Reinstall conf files
sudo dpkg -i --force-confmiss /var/cache/apt/archives/whatever*deb
sudo aptitude install -o 'Dpkg::Options::=--force-confmiss' whatever # Doesn't work?
Line 5: Line 9:
----
CategoryCheatSheet

   1 # What packages use the most disk space?
   2 dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -n
   3 
   4 # Reinstall conf files
   5 sudo dpkg -i --force-confmiss /var/cache/apt/archives/whatever*deb
   6 sudo aptitude install -o 'Dpkg::Options::=--force-confmiss' whatever # Doesn't work?
   7 


CategoryCheatSheet

SamatsWiki: CheatSheet/Debian (last edited 2024-08-06 22:40:29 by SamatJain)