Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
fuss:debian [2018/07/24 17:42] – [Reload LUKS Encrypted Drives Without Restarting] officefuss:debian [2019/01/17 19:51] – [Generate MD5 Sums for Package] office
Line 317: Line 317:
 md5sum $(find * -type f -not -path 'DEBIAN/*') >DEBIAN/md5sums md5sum $(find * -type f -not -path 'DEBIAN/*') >DEBIAN/md5sums
 </code> </code>
 +
 +====== Reinstall Package and All Dependencies ======
 +
 +The following command will reinstall a package along with all its dependencies and additionally create any new configuration files:
 +<code bash>
 +apt-cache depends PACKAGE | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs apt install --reinstall  -o Dpkg::Options::="--force-confask,confnew,confmiss" -y
 +</code>
 +where:
 +  * ''PACKAGE'' is a debian package.
  

fuss/debian.txt · Last modified: 2024/02/24 18:50 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.