[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt database screwed up.






for pkg in `dpkg-awk "Status:.* installed$" -- Package \
 | grep -v '^$' | sed 's/^Package: //'`; do echo $pkg install ; done \
 | dpkg --set-selections

for pkg in `dpkg-awk "Status:.* not-installed$" -- Package \
 | grep -v '^$' | sed 's/^Package: //'`; do echo $pkg purge ; done \
 | dpkg --set-selections


I do not seem to have dpkg-awk on my system do you know where I could get it?

----------------------------------------------
             Tim Uckun
      Mobile Intelligence Unit.
----------------------------------------------
   "There are some who call me TIM?"
----------------------------------------------



Reply to: