Opened 5 years ago
Last modified 5 years ago
#15205 new bug
post-install script not run on upgrade
Reported by: | Pete | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Package Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I just recently upgraded to beta1. I needed to run 'man', and it failed because it couldn't find the utilities it needed.
Turned out that 'man.conf' had links pointing through a specific (and wrong!) package version. It had (correctly) not been replaced by the updated version, but the package has a post-install script that is supposed to fix the links. I unpacked the man hpkg, and ran the script manually, and it did exactly as it should. So apparently it was not run when I upgraded.
(I notice that the man.conf in my 4-year old partition also has package-specific links, but they match the version in this case, and in fact there is no post-install script there.)
Change History (3)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
No, the previous version was hrev51670 from a couple of years back.
Looking at hrev49296, I see it introduced queuing of scripts, but in fact I see a queued-scripts folder in the administrative directory, and it (still!) contains a bunch of scripts, including the man one... from 2017 when I installed 51670! And I gather from 49296 that the scripts are supposed to be deleted, which didn't happen either! Wouldn't the queuing be handled by the rebooted, new, system anyway?
Something ain't workin'...
comment:3 by , 5 years ago
Component: | - General → Kits/Package Kit |
---|
Was the version you upgraded from 4 years old? If so, it would not have had hrev49296, so this was already fixed in 2015.