Re: None of "man freebsd-base" (or "man pkgbase"), "man pkg-upgrade", or "man pkg-install" deal with documenting .pkgsave and/or .pkgnew behavior or how to handle such
- Reply: Larry Fahnoe : "Re: None of "man freebsd-base" (or "man pkgbase"), "man pkg-upgrade", or "man pkg-install" deal with documenting .pkgsave and/or .pkgnew behavior or how to handle such"
- In reply to: Alexander Ziaee: "Re: None of "man freebsd-base" (or "man pkgbase"), "man pkg-upgrade", or "man pkg-install" deal with documenting .pkgsave and/or .pkgnew behavior or how to handle such"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 15:00:17 UTC
On 6/29/26 01:33, Alexander Ziaee wrote: > Hey, > > On 2026-06-29 04:19 -04:00 EDT, "vermaden" <vermaden@interia.pl> wrote: >>> documenting .pkgsave and/or .pkgnew behavior or how to handle such >> >> I gathered some summary here: >> >> https://vermaden.wordpress.com/2026/05/10/freebsd-pkgbase-minor-upgrades/#comment-27442 > > You are always the first to find them! > I saw that and put a bit in pkg(8) manual, and put a thank you in the commit message: > > https://github.com/freebsd/pkg/commit/6895ed1cbcfd1287d382928d28938fb332bf3e61 > > Best, > Alex > QUOTE Vermaden also mentioned pkgtemp, should we mention those too? END QUOTE I've not seen a .pkgtemp.* file in a rather long time. I used to see them on occasion. Once or twice I got a large number of them. I expect that what should be said about them is something like: Please report getting such a file as a problem, with any notes that might seem to be useful background information about the context. QUOTE .It Pa *.pkgnew New file that failed to merge during an update. END QUOTE May be: New file version that failed to merge during an update. Why: A new, distinct file name would not end up with a *.pkgnew status. I'll also note that normally *.pkgnew is from pkg upgrade and normally *.pkgsave is from pkg install. That suggests similar notes in the man pages for those commands. In fact those 2 man pages should each probably suggest looking for such files and dealing with them after executing the command. I have suggested elsewhere that the last of the output from those commands should probably list the counts of each of *.pkgnew and *.pkgave such files generated for any where the count is positive. That would make a good prompt to go looking --and allow avoiding looking when none were generated. -- === Mark Millard marklmi at yahoo.com