listPackages can now catch all lines of packages