Fix outdated when there are link packages.