使用更新和升级 pkgsrc 及其包时
sudo pkgin -y update
sudo pkgin -y full-upgrade
sudo pkgin -y autoremove
它建议可以删除一些目录:
downloading packages...
p5-Variable-Magic-0.62.tgz 100% 42KB 41.6KB/s 41.6KB/s 00:00
p5-Role-Tiny-2.000006.tgz
...
removing packages to be upgraded...
removing pkgin-0.9.4nb7...
===========================================================================
The following files are no longer being used by pkgin-0.9.4nb7,
and they can be removed if no other packages are using them:
/opt/pkg/etc/pkgin/repositories.conf
===========================================================================
===========================================================================
The following directories are no longer being used by pkgin-0.9.4nb7,
and they can be removed if no other packages are using them:
/opt/pkg/etc/pkgin
/var/db/pkgin
===========================================================================
removing p5-PerlMagick-7.0.7.8nb1...
removing jasper-2.0.12...
...
我的问题是,如何确定是否没有其他软件包正在使用上面建议的目录以便可以删除它们?简单地忽略这一步并删除它们似乎并不安全。