Hi, Since upgrading to pkg 1.6 the last stage of portupgrade (Cleaning out obsolete shared libraries) has become incredibly slow. The command is : /usr/local/sbin/pkg query %n-%v %Fp which eats 100% CPU for many minutes Thks for clues Xav -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer