apt-get -o DPkg::options::=--force-confmiss --reinstall install <package>
Thanks to skanx, the original post can be found at Force apt-get to reinstall config files | 6log
A bit of everything.
Topics may include electronics, Linux/Debian, ...
- A little reminder and information page for friends,
myself and maybe visitors from around the world ;-)
apt-get -o DPkg::options::=--force-confmiss --reinstall install <package>
pdfTeX warning: pdflatex (file ./fig/fig_FooBar.pdf): PDF inclusion: found PDF version <1.5>, but at most version <1.4> allowed [...]Then give pdfTeX this command:
\pdfminorversion=5This way pdfTeX builds the document with pdf Version 1.5 instead of 1.4.
> file document.pdfAfter:
document.pdf: PDF document, version 1.4
> file document.pdfand no more warnings.
document.pdf: PDF document, version 1.5
# hdparm -B /dev/disk/by-label/WD_500G_NTFSNote: The hard disk doesn't remember this setting. Like written before - after every reconnect it has its default setting of 96d.
/dev/disk/by-label/WD_500G_NTFS:
APM_level = 96
# hdparm -B 128 /dev/disk/by-label/WD_500G_NTFS
/dev/disk/by-label/WD_500G_NTFS:
setting Advanced Power Management level to 0x80 (128)
APM_level = 128
$ uname -s -r -v -obut on
Linux 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 GNU/Linux
uname -s -r -v -oi get the following error when running hdparm:
Linux 3.1.0-1-686-pae #1 SMP Mon Nov 14 08:24:20 UTC 2011 GNU/Linux
# hdparm -B /dev/disk/by-label/WD_500G_NTFS
/dev/sdb:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
while [ 1 ]; do echo "touch at - `date`"; touch /media/WD_500G_NTFS/tempfile; sleep 5s; sync; doneA bit nicer with the following script: