#/bin/sh
for i in `dpkg -l | egrep ^.i | awk '{print $2}'`
do
apt-cache show $i | grep Tag: | grep special::obsolete > /dev/null 2>&1
if [ $? == 0 ]; then
echo $i
fi
done
後は apt-get remove なり aptitude purge なり
#/bin/sh
for i in `dpkg -l | egrep ^.i | awk '{print $2}'`
do
apt-cache show $i | grep Tag: | grep special::obsolete > /dev/null 2>&1
if [ $? == 0 ]; then
echo $i
fi
done
後は apt-get remove なり aptitude purge なり
トラックバックURL: http://floralcompany.jp/mt/mt-tb.cgi/66
http://floralcompany.jp/archives/2009/02... 続きを読む
コメントする