| The Following User Says Thank You to phoohb For This Useful Post: | ||
|
|
2010-09-09
, 22:22
|
|
Posts: 25 |
Thanked: 11 times |
Joined on Aug 2010
|
#3
|
#!/bin/sh
# an attempt to reinstall all packages
COLUMNS=200
#get all installed packages
aa=$( dpkg -l | awk '{ print $2 }' )
for bb in $aa
do
clear
echo "doing something with: $bb"
apt-get install --reinstall $bb
done
exit 0
|
|
2011-04-17
, 21:30
|
|
Posts: 1,522 |
Thanked: 391 times |
Joined on Jul 2010
@ São Paulo, Brazil
|
#4
|
|
|
2011-04-17
, 21:51
|
|
|
Posts: 2,351 |
Thanked: 5,243 times |
Joined on Jan 2009
@ Barcelona
|
#5
|
|
|
2011-04-18
, 01:46
|
|
Posts: 1,522 |
Thanked: 391 times |
Joined on Jul 2010
@ São Paulo, Brazil
|
#6
|
| The Following User Says Thank You to TiagoTiago For This Useful Post: | ||
I dont see the point of having a script that removes small textfiles. As the "docpurge" does. Cant see any piont of removing documents.. Question:
1. Why removing documents, as the docpurge -script does?
2. How do I disable it, without messing toomuch with the system?
I have used google, and search function in this forum.. before making this post.. docpurge is just some short script cousing alot of hazzle in bugreports, etc. As I see it. As a comment in its script: (/usr/sbin/docpurge) # Real hackers don't read docs. NOT.