tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: up2date - something for NetBSD?



> I ask because I'm looking for a way to say:
> newer binary available (pkg_summary)

   pkg_info -X '*' > inst_pkgs_summary.txt
   pkg_cmp_summary -p inst_pkgs_summary.txt pkg_summary.txt

   pkg_summary.txt is unpacked summary which should be downloaded from
   ftp://NetBSD.org/...

> newer source available (??)
   pkg_info -Q PKGPATH '*' > packages.txt
   pkg_micro_src_summary < packages.txt 2>/dev/null > micro_summary.txt
   pkg_info -X '*' > inst_pkgs_summary.txt
   pkg_cmp_summary -p inst_pkgs_summary.txt micro_summary.txt

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index